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

Jan Holesovsky kendy at collabora.com
Tue May 12 05:11:26 PDT 2015


 sw/source/uibase/inc/column.hxx |    4 ++--
 sw/source/uibase/inc/wrap.hxx   |    3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)

New commits:
commit 3d664cc3d9ac4c2b8a6eafc650b434886dfeb29c
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Tue May 12 14:10:23 2015 +0200

    sw: Rename some variables.
    
    Change-Id: I5b7e0a9d9138dc6b14c74492b2beff70438a7998

diff --git a/sw/source/uibase/inc/column.hxx b/sw/source/uibase/inc/column.hxx
index fda9458..94a3d96 100644
--- a/sw/source/uibase/inc/column.hxx
+++ b/sw/source/uibase/inc/column.hxx
@@ -184,9 +184,9 @@ public:
     void SetFrmMode(bool bMod);
     void SetPageWidth(long nPageWidth);
 
-    void SetFormatUsed(bool bFmt)
+    void SetFormatUsed(bool bFormatUsed)
     {
-        bFormat = bFmt;
+        bFormat = bFormatUsed;
     }
 
     void ShowBalance(bool bShow)
diff --git a/sw/source/uibase/inc/wrap.hxx b/sw/source/uibase/inc/wrap.hxx
index cf5eda2..8d977c1 100644
--- a/sw/source/uibase/inc/wrap.hxx
+++ b/sw/source/uibase/inc/wrap.hxx
@@ -107,8 +107,7 @@ public:
 
     static const sal_uInt16* GetRanges() { return aWrapPageRg; }
     inline void     SetNewFrame(bool bNewFrame) { bNew = bNewFrame; }
-    inline void     SetFormatUsed(bool bFmt, bool bDrw) { bFormat = bFmt;
-                                                            bDrawMode = bDrw; }
+    inline void     SetFormatUsed(bool bFormatUsed, bool bDrw) { bFormat = bFormatUsed; bDrawMode = bDrw; }
     inline void     SetShell(SwWrtShell* pSh) { pWrtSh = pSh; }
 };
 


More information about the Libreoffice-commits mailing list