diff options
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r-- | sd/source/ui/view/Outliner.cxx | 3 | ||||
-rw-r--r-- | sd/source/ui/view/sdview.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/view/viewshel.cxx | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx index d2df09612137..1532356c7f2a 100644 --- a/sd/source/ui/view/Outliner.cxx +++ b/sd/source/ui/view/Outliner.cxx @@ -1235,6 +1235,7 @@ void Outliner::PrepareSpellCheck (void) // When spell checking we have to test whether we have processed the // whole document and have reached the start page again. if (meMode == SPELL) + { if (maSearchStartPosition == ::sd::outliner::Iterator()) // Remember the position of the first text object so that we // know when we have processed the whole document. @@ -1243,7 +1244,7 @@ void Outliner::PrepareSpellCheck (void) { mbEndOfSearch = true; } - + } EnterEditMode( FALSE ); } diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx index 93fa3ca21602..82f182e88e03 100644 --- a/sd/source/ui/view/sdview.cxx +++ b/sd/source/ui/view/sdview.cxx @@ -647,7 +647,7 @@ BOOL View::IsPresObjSelected(BOOL bOnPage, BOOL bOnMasterPage, BOOL bCheckPresOb pPage = (SdPage*) pObj->GetPage(); bMasterPage = pPage->IsMasterPage(); - if (bMasterPage && bOnMasterPage || !bMasterPage && bOnPage) + if ( (bMasterPage && bOnMasterPage) || (!bMasterPage && bOnPage) ) { if ( pPage && pPage->IsPresObj(pObj) ) { diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx index 7fe228d5fc5f..6de0865217b3 100644 --- a/sd/source/ui/view/viewshel.cxx +++ b/sd/source/ui/view/viewshel.cxx @@ -922,6 +922,7 @@ void ViewShell::ArrangeGUIElements (void) // Filler in the lower right corner. if (mpScrollBarBox.get() != NULL) + { if (mpHorizontalScrollBar.get()!=NULL && mpHorizontalScrollBar->IsVisible() && mpVerticalScrollBar.get()!=NULL @@ -932,6 +933,7 @@ void ViewShell::ArrangeGUIElements (void) } else mpScrollBarBox->Hide(); + } // Place horizontal ruler below tab bar. if (mbHasRulers && mpContentWindow.get() != NULL) |