[Libreoffice-commits] core.git: svx/source

Caolán McNamara caolanm at redhat.com
Fri Feb 21 05:14:57 PST 2014


 svx/source/dialog/_contdlg.cxx |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

New commits:
commit 8b2e014a99978434b2d973993c93b583ee8a62c7
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Feb 21 13:13:48 2014 +0000

    -Werror=parentheses
    
    Change-Id: Ibf897ccd5c89d8ba86b6d7838d43b9e23aac79ca

diff --git a/svx/source/dialog/_contdlg.cxx b/svx/source/dialog/_contdlg.cxx
index c5c2353..5565606 100644
--- a/svx/source/dialog/_contdlg.cxx
+++ b/svx/source/dialog/_contdlg.cxx
@@ -535,11 +535,13 @@ IMPL_LINK( SvxSuperContourDlg, Tbx1ClickHdl, ToolBox*, pTbx )
                 aStbStatus.Invalidate();
             else if ( bGraphicLinked )
             {
-                MessageDialog aQBox( this,"QueryUnlinkGraphicsDialog","svx/ui/queryunlinkgraphicsdialog.ui");
+                MessageDialog aQBox(this, "QueryUnlinkGraphicsDialog",
+                    "svx/ui/queryunlinkgraphicsdialog.ui");
 
-                if ( aQBox.Execute() != RET_YES )
+                if (aQBox.Execute() != RET_YES)
                 {
-                    aTbx1.CheckItem( TBI_PIPETTE, bPipette = sal_False );
+                    bPipette = false;
+                    aTbx1.CheckItem(TBI_PIPETTE, bPipette);
                     aStbStatus.Invalidate();
                 }
             }


More information about the Libreoffice-commits mailing list