diff options
Diffstat (limited to 'sw/source/uibase/uiview/pview.cxx')
-rw-r--r-- | sw/source/uibase/uiview/pview.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/uiview/pview.cxx b/sw/source/uibase/uiview/pview.cxx index 973cc9114358..497785075c29 100644 --- a/sw/source/uibase/uiview/pview.cxx +++ b/sw/source/uibase/uiview/pview.cxx @@ -270,7 +270,7 @@ void SwPagePreviewWin::CalcWish( sal_uInt8 nNewRow, sal_uInt8 nNewCol ) } // mnSttPage is Absolute -int SwPagePreviewWin::MovePage( int eMoveMode ) +bool SwPagePreviewWin::MovePage( int eMoveMode ) { // number of pages up const sal_uInt16 nPages = mnRow * mnCol; @@ -353,7 +353,7 @@ int SwPagePreviewWin::MovePage( int eMoveMode ) maPaintedPreviewDocRect, bPaintPageAtFirstCol ); if( nNewSttPage == mnSttPage && eMoveMode != MV_SELPAGE ) - return sal_False; + return false; SetPagePreview(mnRow, mnCol); mnSttPage = nNewSttPage; @@ -368,7 +368,7 @@ int SwPagePreviewWin::MovePage( int eMoveMode ) SfxBindings& rBindings = mrView.GetViewFrame()->GetBindings(); rBindings.Invalidate( aInval ); - return sal_True; + return true; } void SwPagePreviewWin::SetWinSize( const Size& rNewSize ) |