diff options
-rw-r--r-- | extensions/source/dbpilots/unoautopilot.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/extensions/source/dbpilots/unoautopilot.hxx b/extensions/source/dbpilots/unoautopilot.hxx index a7678c1b2382..0a0bcf894b08 100644 --- a/extensions/source/dbpilots/unoautopilot.hxx +++ b/extensions/source/dbpilots/unoautopilot.hxx @@ -84,12 +84,14 @@ namespace dbp // XServiceInfo - static methods static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static() throw( ::com::sun::star::uno::RuntimeException ) { - return SERVICEINFO().getServiceNames(); + SERVICEINFO aInfo; + return aInfo.getServiceNames(); } static OUString getImplementationName_Static() throw( ::com::sun::star::uno::RuntimeException ) { - return SERVICEINFO().getImplementationName(); + SERVICEINFO aInfo; + return aInfo.getImplementationName(); } static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > |