diff options
author | Noel Grandin <noel@peralex.com> | 2012-10-17 14:09:28 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-10-24 17:59:30 +0200 |
commit | 3bf3b01dfcea0316ca6bd2ae7a2887b138235462 (patch) | |
tree | cc0afadec7bee8333891635b1a806bd3aa4b92cd /framework | |
parent | remove unused #define (diff) | |
download | core-3bf3b01dfcea0316ca6bd2ae7a2887b138235462.tar.gz core-3bf3b01dfcea0316ca6bd2ae7a2887b138235462.zip |
inline a #define that it only used in one cxx file
Diffstat (limited to 'framework')
-rw-r--r-- | framework/inc/services.h | 1 | ||||
-rw-r--r-- | framework/source/services/substitutepathvars.cxx | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/framework/inc/services.h b/framework/inc/services.h index a9e93d3ce3a4..861006351cb7 100644 --- a/framework/inc/services.h +++ b/framework/inc/services.h @@ -56,7 +56,6 @@ namespace framework{ #define SERVICENAME_DISPATCHRECORDERSUPPLIER DECLARE_ASCII("com.sun.star.frame.DispatchRecorderSupplier" ) #define SERVICENAME_DISPATCHRECORDER DECLARE_ASCII("com.sun.star.frame.DispatchRecorder" ) #define SERVICENAME_PROTOCOLHANDLER DECLARE_ASCII("com.sun.star.frame.ProtocolHandler" ) -#define SERVICENAME_SUBSTITUTEPATHVARIABLES DECLARE_ASCII("com.sun.star.util.PathSubstitution" ) #define SERVICENAME_PATHSETTINGS DECLARE_ASCII("com.sun.star.util.PathSettings" ) #define SERVICENAME_DISPATCHHELPER DECLARE_ASCII("com.sun.star.frame.DispatchHelper" ) #define SERVICENAME_DETECTORFACTORY DECLARE_ASCII("com.sun.star.document.ExtendedTypeDetectionFactory" ) diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx index 23d7b77733f1..4d9134b1f021 100644 --- a/framework/source/services/substitutepathvars.cxx +++ b/framework/source/services/substitutepathvars.cxx @@ -570,7 +570,7 @@ void SubstitutePathVariables_Impl::ReadSharePointRuleSetFromConfiguration( //***************************************************************************************************************** DEFINE_XSERVICEINFO_ONEINSTANCESERVICE ( SubstitutePathVariables , ::cppu::OWeakObject , - SERVICENAME_SUBSTITUTEPATHVARIABLES , + DECLARE_ASCII("com.sun.star.util.PathSubstitution"), IMPLEMENTATIONNAME_SUBSTITUTEPATHVARIABLES ) DEFINE_INIT_SERVICE ( SubstitutePathVariables, {} ) |