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

Stephan Bergmann sbergman at redhat.com
Thu Oct 15 03:23:49 PDT 2015


 sw/source/core/inc/frmtool.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit cfc7307a23eed561152c1b016cd0ec22bc7af145
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Oct 15 12:22:44 2015 +0200

    Properly wrap macro expressions in parentheses
    
    Change-Id: I2298b113f3ed1b2a715808dc8f9f906702e16485

diff --git a/sw/source/core/inc/frmtool.hxx b/sw/source/core/inc/frmtool.hxx
index d4459bb..d80fd0f 100644
--- a/sw/source/core/inc/frmtool.hxx
+++ b/sw/source/core/inc/frmtool.hxx
@@ -47,8 +47,8 @@ class SwPageDesc;
 class SwFrameFormats;
 class SwRegionRects;
 
-#define FAR_AWAY SAL_MAX_INT32 - 20000  // initial position of a Fly
-#define BROWSE_HEIGHT 56700L * 10L // 10 Meters
+#define FAR_AWAY (SAL_MAX_INT32 - 20000)  // initial position of a Fly
+#define BROWSE_HEIGHT (56700L * 10L) // 10 Meters
 #define GRFNUM_NO 0
 #define GRFNUM_YES 1
 #define GRFNUM_REPLACE 2


More information about the Libreoffice-commits mailing list