summaryrefslogtreecommitdiff
path: root/svl
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 /svl
parent18a9e9e844d2f3ebad52e6c45095e3c50422db1a (diff)
Replace css macro with namespace for nicer namespacing
Diffstat (limited to 'svl')
-rw-r--r--svl/source/config/itemholder2.hxx11
1 files changed, 1 insertions, 10 deletions
diff --git a/svl/source/config/itemholder2.hxx b/svl/source/config/itemholder2.hxx
index 884536d89bb0..18c7e9b7f307 100644
--- a/svl/source/config/itemholder2.hxx
+++ b/svl/source/config/itemholder2.hxx
@@ -39,11 +39,7 @@
//-----------------------------------------------
// namespaces
-#ifdef css
-#error "Cant use css as namespace alias."
-#else
-#define css ::com::sun::star
-#endif
+namespace css = ::com::sun::star;
//-----------------------------------------------
// definitions
@@ -82,11 +78,6 @@ class ItemHolder2 : private ItemHolderMutexBase
void impl_deleteItem(TItemInfo& rItem);
};
-//-----------------------------------------------
-// namespaces
-
-#undef css
-
#endif // INCLUDED_SVTOOLS_ITEMHOLDER2_HXX_
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */