From 2abba84aa7c639011956721a4922653130dd09a6 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sat, 21 Apr 2012 01:30:38 +0200 Subject: Replace css macro with namespace for nicer namespacing --- cui/source/inc/acccfg.hxx | 6 +----- cui/source/inc/cfgutil.hxx | 4 +--- 2 files changed, 2 insertions(+), 8 deletions(-) (limited to 'cui') 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 #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: */ -- cgit