viewmdi.cxx (69a74367) | viewmdi.cxx (dec99bbd) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 441 unchanged lines hidden (view full) --- 450 { 451 // unselect 452 rSh.MoveCrsr(); 453 rSh.EnterStdMode(); 454 455 // collect navigator reminders 456 IDocumentMarkAccess* const pMarkAccess = rSh.getIDocumentMarkAccess(); 457 ::std::vector< const ::sw::mark::IMark* > vNavMarks; | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 441 unchanged lines hidden (view full) --- 450 { 451 // unselect 452 rSh.MoveCrsr(); 453 rSh.EnterStdMode(); 454 455 // collect navigator reminders 456 IDocumentMarkAccess* const pMarkAccess = rSh.getIDocumentMarkAccess(); 457 ::std::vector< const ::sw::mark::IMark* > vNavMarks; |
458 for( IDocumentMarkAccess::const_iterator_t ppMark = pMarkAccess->getMarksBegin(); 459 ppMark != pMarkAccess->getMarksEnd(); | 458 for( IDocumentMarkAccess::const_iterator_t ppMark = pMarkAccess->getAllMarksBegin(); 459 ppMark != pMarkAccess->getAllMarksEnd(); |
460 ppMark++) 461 { 462 if( IDocumentMarkAccess::GetType(**ppMark) == IDocumentMarkAccess::NAVIGATOR_REMINDER ) 463 vNavMarks.push_back(ppMark->get()); 464 } 465 466 // move 467 if(vNavMarks.size()) --- 285 unchanged lines hidden --- | 460 ppMark++) 461 { 462 if( IDocumentMarkAccess::GetType(**ppMark) == IDocumentMarkAccess::NAVIGATOR_REMINDER ) 463 vNavMarks.push_back(ppMark->get()); 464 } 465 466 // move 467 if(vNavMarks.size()) --- 285 unchanged lines hidden --- |