diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-01 14:40:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-01 14:40:57 +0100 |
commit | 74ca4861900b0833aeb12860bfec235b015bcdc7 (patch) | |
tree | 3989f907a0efa14e485954bab5b4810ead82668f /extensions | |
parent | d2448a45767230d3e2913becb44f1a8bd2dfc46a (diff) |
these are static all the way down
Change-Id: I20fe835f81680866412fde5e28f508625b043402
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/dbpilots/unoautopilot.hxx | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/extensions/source/dbpilots/unoautopilot.hxx b/extensions/source/dbpilots/unoautopilot.hxx index 0a0bcf894b08..46e1bc096e74 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 > |