[Libreoffice-commits] core.git: Branch 'aoo/trunk' - sw/source

Armin Le Grand alg at apache.org
Fri Jul 26 03:08:16 PDT 2013


 sw/source/ui/sidebar/PagePropertyPanel.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d7c2bf91978289b5cdb4705da30c3f81ae94b685
Author: Armin Le Grand <alg at apache.org>
Date:   Fri Jul 26 08:28:40 2013 +0000

    Correction of scope for if

diff --git a/sw/source/ui/sidebar/PagePropertyPanel.cxx b/sw/source/ui/sidebar/PagePropertyPanel.cxx
index 4cbe7f2..e73e6dd 100644
--- a/sw/source/ui/sidebar/PagePropertyPanel.cxx
+++ b/sw/source/ui/sidebar/PagePropertyPanel.cxx
@@ -832,7 +832,7 @@ void PagePropertyPanel::ChangeColumnImage( const sal_uInt16 nColumnType )
 
 void PagePropertyPanel::StartUndo()
 {
-    if ( mxUndoManager.is() );
+    if ( mxUndoManager.is() )
     {
         mxUndoManager->enterUndoContext( A2S("") );
     }
@@ -841,7 +841,7 @@ void PagePropertyPanel::StartUndo()
 
 void PagePropertyPanel::EndUndo()
 {
-    if ( mxUndoManager.is() );
+    if ( mxUndoManager.is() )
     {
         mxUndoManager->leaveUndoContext();
     }


More information about the Libreoffice-commits mailing list