[Libreoffice-commits] .: svx/source

Lubos Lunak llunak at kemper.freedesktop.org
Mon Oct 11 08:00:16 PDT 2010


 svx/source/dialog/_contdlg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit be78eaf5fed1c93cbd072e66da256caa8b3a0315
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Mon Oct 11 16:59:50 2010 +0200

    fix undefined operation

diff --git a/svx/source/dialog/_contdlg.cxx b/svx/source/dialog/_contdlg.cxx
index 5d82c85..d9fde2c 100644
--- a/svx/source/dialog/_contdlg.cxx
+++ b/svx/source/dialog/_contdlg.cxx
@@ -809,7 +809,7 @@ IMPL_LINK( SvxSuperContourDlg, Tbx1ClickHdl, ToolBox*, pTbx )
 
         case( TBI_UNDO ):
         {
-            nGrfChanged = nGrfChanged ? nGrfChanged-- : 0UL;
+            nGrfChanged = nGrfChanged ? nGrfChanged - 1 : 0UL;
             aRedoGraphic = aGraphic;
             aGraphic = aUndoGraphic;
             aUndoGraphic = Graphic();


More information about the Libreoffice-commits mailing list