[Libreoffice-commits] core.git: extensions/source

Caolán McNamara caolanm at redhat.com
Fri May 1 06:41:20 PDT 2015


 extensions/source/dbpilots/unoautopilot.hxx |   19 ++-----------------
 1 file changed, 2 insertions(+), 17 deletions(-)

New commits:
commit 74ca4861900b0833aeb12860bfec235b015bcdc7
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri May 1 14:40:36 2015 +0100

    these are static all the way down
    
    Change-Id: I20fe835f81680866412fde5e28f508625b043402

diff --git a/extensions/source/dbpilots/unoautopilot.hxx b/extensions/source/dbpilots/unoautopilot.hxx
index 0a0bcf8..46e1bc0 100644
--- a/extensions/source/dbpilots/unoautopilot.hxx
+++ b/extensions/source/dbpilots/unoautopilot.hxx
@@ -31,19 +31,6 @@
 
 namespace dbp
 {
-    //= IServiceInfo
-
-    /** interface for the SERVICEINFO template parameter of the OUnoAutoPilot class
-    */
-    struct IServiceInfo
-    {
-    public:
-        OUString     getImplementationName() const;
-        ::com::sun::star::uno::Sequence< OUString >
-                            getServiceNames() const;
-    };
-
-
     //= OUnoAutoPilot
 
     typedef ::svt::OGenericUnoDialog    OUnoAutoPilot_Base;
@@ -84,14 +71,12 @@ namespace dbp
         // XServiceInfo - static methods
         static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static() throw( ::com::sun::star::uno::RuntimeException )
         {
-            SERVICEINFO aInfo;
-            return aInfo.getServiceNames();
+            return SERVICEINFO::getServiceNames();
         }
 
         static OUString getImplementationName_Static() throw( ::com::sun::star::uno::RuntimeException )
         {
-            SERVICEINFO aInfo;
-            return aInfo.getImplementationName();
+            return SERVICEINFO::getImplementationName();
         }
 
         static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >


More information about the Libreoffice-commits mailing list