summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-10-18 12:37:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-10-18 12:37:40 +0100
commit256918a159dda6e832e134f0186c314b43ea70c5 (patch)
tree4b60ca75941c9b6dfad251a45410e5360f5df9f5
parentbe33f49e569043207b18dd1257e13f937f47bf1e (diff)
WaE remove annoying warning
-rw-r--r--cui/source/inc/numfmt.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/cui/source/inc/numfmt.hxx b/cui/source/inc/numfmt.hxx
index 92cc494faac4..49debdf346dc 100644
--- a/cui/source/inc/numfmt.hxx
+++ b/cui/source/inc/numfmt.hxx
@@ -87,8 +87,11 @@ class SvxNumberFormatTabPage : public SfxTabPage
public:
~SvxNumberFormatTabPage();
-#undef SfxTabPage
-#define SfxTabPage ::SfxTabPage
+#if ENABLE_LAYOUT
+# undef SfxTabPage
+# define SfxTabPage ::SfxTabPage
+#endif
+
static SfxTabPage* Create( Window* pParent,
const SfxItemSet& rAttrSet );
static USHORT* GetRanges();