diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-04-21 01:30:38 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-04-21 05:53:30 +0200 |
commit | 2abba84aa7c639011956721a4922653130dd09a6 (patch) | |
tree | 01f062a3991438ab99111fb5012effa22120a2bb /cui | |
parent | 18a9e9e844d2f3ebad52e6c45095e3c50422db1a (diff) |
Replace css macro with namespace for nicer namespacing
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/inc/acccfg.hxx | 6 | ||||
-rw-r--r-- | cui/source/inc/cfgutil.hxx | 4 |
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: */ |