diff options
Diffstat (limited to 'sw/source/ui/uiview/view2.cxx')
-rw-r--r-- | sw/source/ui/uiview/view2.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/source/ui/uiview/view2.cxx b/sw/source/ui/uiview/view2.cxx index 58a25d8d8ff7..9133455ca429 100644 --- a/sw/source/ui/uiview/view2.cxx +++ b/sw/source/ui/uiview/view2.cxx @@ -315,7 +315,7 @@ sal_Bool SwView::InsertGraphicDlg( SfxRequest& rReq ) } // pool formats - // + const ::std::vector<OUString>& rFrmPoolArr( SwStyleNameMapper::GetFrmFmtUINameArray()); for( i = 0; i < rFrmPoolArr.size(); ++i ) @@ -690,7 +690,7 @@ void SwView::Execute(SfxRequest &rReq) // FN_REDLINE_PREV_CHANGE leaves the selection point at the start of the redline. // In such cases, SelNextRedline (which starts searching from the selection point) // immediately finds the current redline and advances the selection point to its end. - // + // This behavior means that PREV_CHANGE followed by NEXT_CHANGE would not change // the current redline, so we detect it and select the next redline again. if (pCurrent && pCurrent == pNext) @@ -713,7 +713,7 @@ void SwView::Execute(SfxRequest &rReq) // In such cases, SelPrevRedline (which starts searching from the selection point) // immediately finds the current redline and advances the selection point to its // start. - // + // This behavior means that NEXT_CHANGE followed by PREV_CHANGE would not change // the current redline, so we detect it and move to the previous redline again. if (initialCursorStart == *pPrev->Start()) @@ -1232,7 +1232,6 @@ void SwView::Execute(SfxRequest &rReq) } break; - default: OSL_ENSURE(!this, "wrong dispatcher"); return; |