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 /sfx2 | |
parent | 18a9e9e844d2f3ebad52e6c45095e3c50422db1a (diff) |
Replace css macro with namespace for nicer namespacing
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/inc/sfx2/sfxbasemodel.hxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sfx2/inc/sfx2/sfxbasemodel.hxx b/sfx2/inc/sfx2/sfxbasemodel.hxx index e3e0350663a6..82a27c96c75d 100644 --- a/sfx2/inc/sfx2/sfxbasemodel.hxx +++ b/sfx2/inc/sfx2/sfxbasemodel.hxx @@ -187,11 +187,8 @@ //________________________________________________________________________________________________________ // namespace //________________________________________________________________________________________________________ -#ifdef css - #error "class is using css as namespace define .-)" -#else - #define css ::com::sun::star -#endif + +namespace css = ::com::sun::star; //________________________________________________________________________________________________________ // forwards @@ -1640,8 +1637,6 @@ private: SolarMutexResettableGuard m_aGuard; }; -#undef css - #endif // _SFX_SFXBASEMODEL_HXX_ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |