diff options
author | Noel Grandin <noel@peralex.com> | 2012-10-17 15:28:11 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-10-29 17:32:52 +0100 |
commit | fecbe0ec96c1a172d381cc65020c0629a2e8e457 (patch) | |
tree | 04c0a7cdfb8c1f38bebe89218b86110f1255957c /framework | |
parent | 47943bec0b8f7945b9647bf6c0a43dc6535b4637 (diff) |
inline #define that is only used in one place
Diffstat (limited to 'framework')
-rw-r--r-- | framework/inc/services.h | 1 | ||||
-rw-r--r-- | framework/source/services/mediatypedetectionhelper.cxx | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/framework/inc/services.h b/framework/inc/services.h index 37f5f3d30337..f585799fa7de 100644 --- a/framework/inc/services.h +++ b/framework/inc/services.h @@ -34,7 +34,6 @@ namespace framework{ #define SERVICENAME_FRAMELOADERFACTORY DECLARE_ASCII("com.sun.star.frame.FrameLoaderFactory" ) #define SERVICENAME_FILTERFACTORY DECLARE_ASCII("com.sun.star.document.FilterFactory" ) #define SERVICENAME_PLUGINFRAME DECLARE_ASCII("com.sun.star.mozilla.Plugin" ) -#define SERVICENAME_MEDIATYPEDETECTIONHELPER DECLARE_ASCII("com.sun.star.frame.MediaTypeDetectionHelper" ) #define SERVICENAME_LOGINDIALOG DECLARE_ASCII("com.sun.star.framework.LoginDialog" ) #define SERVICENAME_CONFIGURATION DECLARE_ASCII("com.sun.star.configuration.ConfigurationRegistry" ) #define SERVICENAME_SIMPLEREGISTRY DECLARE_ASCII("com.sun.star.registry.SimpleRegistry" ) diff --git a/framework/source/services/mediatypedetectionhelper.cxx b/framework/source/services/mediatypedetectionhelper.cxx index efe7097d50bf..30606e98f77e 100644 --- a/framework/source/services/mediatypedetectionhelper.cxx +++ b/framework/source/services/mediatypedetectionhelper.cxx @@ -55,7 +55,7 @@ MediaTypeDetectionHelper::~MediaTypeDetectionHelper() DEFINE_XSERVICEINFO_ONEINSTANCESERVICE ( MediaTypeDetectionHelper , ::cppu::OWeakObject - , SERVICENAME_MEDIATYPEDETECTIONHELPER + , DECLARE_ASCII("com.sun.star.frame.MediaTypeDetectionHelper") , IMPLEMENTATIONNAME_MEDIATYPEDETECTIONHELPER ) |