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

Stephan Bergmann sbergman at redhat.com
Thu Jan 14 06:02:32 PST 2016


 include/svx/svdpagv.hxx |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 87be4885d369ba06ab090c26fde23c52656b69a8
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Jan 14 15:02:05 2016 +0100

    -Werror=misleading-indentation (GCC 6)
    
    Change-Id: Ic28a87df35ef3087071f87c4bc74c4c274169b51

diff --git a/include/svx/svdpagv.hxx b/include/svx/svdpagv.hxx
index 7db3565..8685707 100644
--- a/include/svx/svdpagv.hxx
+++ b/include/svx/svdpagv.hxx
@@ -193,7 +193,11 @@ public:
     Rectangle& MarkBound() { return aMarkBound; }
     Rectangle& MarkSnap() { return aMarkSnap; }
 
-    void SetLayerVisible(const OUString& rName, bool bShow = true) { SetLayer(rName, aLayerVisi, bShow); if(!bShow) AdjHdl(); InvalidateAllWin(); }
+    void SetLayerVisible(const OUString& rName, bool bShow = true) {
+        SetLayer(rName, aLayerVisi, bShow);
+        if(!bShow) AdjHdl();
+        InvalidateAllWin();
+    }
     bool IsLayerVisible(const OUString& rName) const { return IsLayer(rName, aLayerVisi); }
 
     void SetLayerLocked(const OUString& rName, bool bLock = true) { SetLayer(rName, aLayerLock, bLock); if(bLock) AdjHdl(); }


More information about the Libreoffice-commits mailing list