diff options
author | Noel Grandin <noel@peralex.com> | 2012-10-17 15:51:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-10-29 17:32:54 +0100 |
commit | 9b63e4e6e46ee7560d99c3d4cff5e085efc14949 (patch) | |
tree | 4bbd88a3b97943ccf97028115dd8a21c26640054 /framework | |
parent | Improve previous commit slightly (diff) | |
download | core-9b63e4e6e46ee7560d99c3d4cff5e085efc14949.tar.gz core-9b63e4e6e46ee7560d99c3d4cff5e085efc14949.zip |
fdo#46808, use service constructor for frame::DispatchRecorderSupplier
Diffstat (limited to 'framework')
-rw-r--r-- | framework/inc/services.h | 1 | ||||
-rw-r--r-- | framework/source/recording/dispatchrecordersupplier.cxx | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/framework/inc/services.h b/framework/inc/services.h index a58c51680782..da5ade37193e 100644 --- a/framework/inc/services.h +++ b/framework/inc/services.h @@ -49,7 +49,6 @@ namespace framework{ #define SERVICENAME_CONTENTHANDLERFACTORY DECLARE_ASCII("com.sun.star.frame.ContentHandlerFactory" ) #define SERVICENAME_STATUSINDICATORFACTORY DECLARE_ASCII("com.sun.star.task.StatusIndicatorFactory" ) #define SERVICENAME_JOB DECLARE_ASCII("com.sun.star.task.Job" ) -#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_PATHSETTINGS DECLARE_ASCII("com.sun.star.util.PathSettings" ) diff --git a/framework/source/recording/dispatchrecordersupplier.cxx b/framework/source/recording/dispatchrecordersupplier.cxx index 164b6370b7c1..22ad83824ac0 100644 --- a/framework/source/recording/dispatchrecordersupplier.cxx +++ b/framework/source/recording/dispatchrecordersupplier.cxx @@ -47,7 +47,7 @@ DEFINE_XTYPEPROVIDER_3( DEFINE_XSERVICEINFO_MULTISERVICE( DispatchRecorderSupplier, ::cppu::OWeakObject, - SERVICENAME_DISPATCHRECORDERSUPPLIER, + DECLARE_ASCII("com.sun.star.frame.DispatchRecorderSupplier"), IMPLEMENTATIONNAME_DISPATCHRECORDERSUPPLIER) DEFINE_INIT_SERVICE( |