diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2010-10-11 16:59:50 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2010-10-11 16:59:50 +0200 |
commit | cb7b24efd792371025ab50e2526b594139884e55 (patch) | |
tree | 3be559664620a2cd07505bb4363e3e7c353ab42a /svx/source | |
parent | 73d54f10eccbc00a78384b0cbc153287cad7225c (diff) |
fix undefined operation
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/dialog/_contdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/_contdlg.cxx b/svx/source/dialog/_contdlg.cxx index 0c2f3942a66c..26fe53e56414 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(); |