summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-04-21 01:30:38 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-04-21 05:53:30 +0200
commit2abba84aa7c639011956721a4922653130dd09a6 (patch)
tree01f062a3991438ab99111fb5012effa22120a2bb /cui
parent18a9e9e844d2f3ebad52e6c45095e3c50422db1a (diff)
Replace css macro with namespace for nicer namespacing
Diffstat (limited to 'cui')
-rw-r--r--cui/source/inc/acccfg.hxx6
-rw-r--r--cui/source/inc/cfgutil.hxx4
2 files changed, 2 insertions, 8 deletions
diff --git a/cui/source/inc/acccfg.hxx b/cui/source/inc/acccfg.hxx
index ec03c4a87095..1cfdc81f36a2 100644
--- a/cui/source/inc/acccfg.hxx
+++ b/cui/source/inc/acccfg.hxx
@@ -56,7 +56,7 @@
#include <sfx2/minarray.hxx>
#include "cfgutil.hxx"
-#define css ::com::sun::star
+namespace css = ::com::sun::star;
class SfxMacroInfoItem;
class SfxConfigGroupListBox_Impl;
@@ -219,10 +219,6 @@ public:
virtual ~SvxShortcutAssignDlg();
};
-
-
-#undef css
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/inc/cfgutil.hxx b/cui/source/inc/cfgutil.hxx
index 94c764bd4f4d..4e0fd27a71c4 100644
--- a/cui/source/inc/cfgutil.hxx
+++ b/cui/source/inc/cfgutil.hxx
@@ -51,7 +51,7 @@ class SfxMacroInfoItem;
struct SfxStyleInfo_Impl;
struct SfxStylesInfo_Impl;
-#define css ::com::sun::star
+namespace css = ::com::sun::star;
struct SfxStyleInfo_Impl
{
@@ -203,8 +203,6 @@ public:
void SetStylesInfo(SfxStylesInfo_Impl* pStyles);
};
-#undef css
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */