diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-03-19 16:44:12 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-03-20 11:34:18 +0100 |
commit | 52f8321c412cad280c9029f10f9aef03f4f20544 (patch) | |
tree | 9942cfe490f7107177ad69175be3039b0f20b32a /cui | |
parent | 151abb8b2b9d3a22229b98cec12e29484d12109b (diff) |
use #if instead of #ifdef for testing config_xxx.hxx macros
http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html
Change-Id: I81ed4500878ff3193e028410a1f0205e28d17fc3
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optgdlg.cxx | 8 | ||||
-rw-r--r-- | cui/source/options/optmemory.cxx | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index 9793bb4b510f..fd1ffcdaf43f 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -117,7 +117,7 @@ namespace if ( rDesktopEnvironment.equalsIgnoreAsciiCase("kde4") ) { - #ifdef ENABLE_KDE4 + #if ENABLE_KDE4 return OUString("com.sun.star.ui.dialogs.KDE4FilePicker" ); #else return OUString(); @@ -125,7 +125,7 @@ namespace } else if ( rDesktopEnvironment.equalsIgnoreAsciiCase("kde") ) { - #ifdef ENABLE_KDE + #if ENABLE_KDE return OUString("com.sun.star.ui.dialogs.KDEFilePicker"); #else return OUString(); @@ -133,7 +133,7 @@ namespace } else if ( rDesktopEnvironment.equalsIgnoreAsciiCase("tde") ) { - #ifdef ENABLE_TDE + #if ENABLE_TDE return OUString("com.sun.star.ui.dialogs.TDEFilePicker"); #else return OUString(); @@ -191,7 +191,7 @@ OfaMiscTabPage::OfaMiscTabPage(Window* pParent, const SfxItemSet& rSet) get(m_pHelpAgentResetBtn, "resethelpagent"); if (!lcl_HasSystemFilePicker()) get<VclContainer>("filedlgframe")->Hide(); -#if !defined(MACOSX) && !defined(ENABLE_GTK) +#if !defined(MACOSX) && ! ENABLE_GTK get<VclContainer>("printdlgframe")->Hide(); #endif get(m_pFileDlgCB, "filedlg"); diff --git a/cui/source/options/optmemory.cxx b/cui/source/options/optmemory.cxx index 506372f77ac6..9e8976d500dc 100644 --- a/cui/source/options/optmemory.cxx +++ b/cui/source/options/optmemory.cxx @@ -129,7 +129,7 @@ OfaMemoryOptionsPage::OfaMemoryOptionsPage(Window* pParent, const SfxItemSet& rS m_pQuickLaunchCB->Show(); //Only available in Win or if building the gtk systray -#if !defined(WNT) && !defined(ENABLE_GTK) +#if !defined(WNT) && ! ENABLE_GTK m_pQuickStarterFrame->Hide(); #endif |