summaryrefslogtreecommitdiff
path: root/scripting/source/protocolhandler/scripthandler.cxx
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 /scripting/source/protocolhandler/scripthandler.cxx
parent18a9e9e844d2f3ebad52e6c45095e3c50422db1a (diff)
Replace css macro with namespace for nicer namespacing
Diffstat (limited to 'scripting/source/protocolhandler/scripthandler.cxx')
-rw-r--r--scripting/source/protocolhandler/scripthandler.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripting/source/protocolhandler/scripthandler.cxx b/scripting/source/protocolhandler/scripthandler.cxx
index 73f4e56b8771..7b12e68c6a5e 100644
--- a/scripting/source/protocolhandler/scripthandler.cxx
+++ b/scripting/source/protocolhandler/scripthandler.cxx
@@ -509,8 +509,7 @@ const Reference< XMultiServiceFactory >& xServiceManager )
extern "C"
{
-#undef css
-#define css ::com::sun::star
+ namespace css = ::com::sun::star;
SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char * pImplementationName ,
void * pServiceManager ,