[Libreoffice-commits] .: cui/source

Caolán McNamara caolan at kemper.freedesktop.org
Sun Jan 2 13:11:26 PST 2011


 cui/source/options/optgdlg.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 53ac0034c8a0094f8f21331a393a12a4a2fdd7a5
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Jan 2 21:11:14 2011 +0000

    fix weird preprocessing syntax, probably meant this

diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 9839f13..7a1e3c1 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -221,7 +221,7 @@ OfaMiscTabPage::OfaMiscTabPage(Window* pParent, const SfxItemSet& rSet ) :
 {
     FreeResource();
 
-#if not ENABLE_HELP_FORMATTING
+#if !defined(ENABLE_HELP_FORMATTING)
     aHelpFormatFT.Hide();
     aHelpFormatLB.Hide();
 #endif
@@ -232,10 +232,10 @@ OfaMiscTabPage::OfaMiscTabPage(Window* pParent, const SfxItemSet& rSet ) :
         aFileDlgCB.Hide();
     }
 
-    #if ! defined(QUARTZ)
+#if !defined(QUARTZ)
     aPrintDlgFL.Hide();
     aPrintDlgCB.Hide();
-    #endif
+#endif
 
 #ifdef WNT
     aFileDlgCB.SetToggleHdl( LINK( this, OfaMiscTabPage, OnFileDlgToggled ) );


More information about the Libreoffice-commits mailing list