summaryrefslogtreecommitdiffstats
path: root/svx
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 /svx
parentVarious clean up of previous commit (diff)
downloadcore-2abba84aa7c639011956721a4922653130dd09a6.tar.gz
core-2abba84aa7c639011956721a4922653130dd09a6.zip
Replace css macro with namespace for nicer namespacing
Diffstat (limited to 'svx')
-rw-r--r--svx/source/inc/docrecovery.hxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/svx/source/inc/docrecovery.hxx b/svx/source/inc/docrecovery.hxx
index ec4b9dff5940..dfbd66c679c9 100644
--- a/svx/source/inc/docrecovery.hxx
+++ b/svx/source/inc/docrecovery.hxx
@@ -99,15 +99,11 @@
//===============================================
// namespace
+namespace css = ::com::sun::star;
+
namespace svx{
namespace DocRecovery{
-#ifdef css
-# error "Who uses css? I need it as temp. namespace alias!"
-#else
-# define css ::com::sun::star
-#endif
-
//===============================================
enum EDocStates
{
@@ -953,8 +949,6 @@ class BrokenRecoveryDialog : public ModalDialog
} // namespace DocRecovery
} // namespace svx
-#undef css
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */