summaryrefslogtreecommitdiff
path: root/cui/source/options/optgdlg.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-03-19 16:44:12 +0100
committerLuboš Luňák <l.lunak@suse.cz>2013-03-20 11:34:18 +0100
commit52f8321c412cad280c9029f10f9aef03f4f20544 (patch)
tree9942cfe490f7107177ad69175be3039b0f20b32a /cui/source/options/optgdlg.cxx
parent151abb8b2b9d3a22229b98cec12e29484d12109b (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/source/options/optgdlg.cxx')
-rw-r--r--cui/source/options/optgdlg.cxx8
1 files changed, 4 insertions, 4 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");