Kaydet (Commit) 74ca4861 authored tarafından Caolán McNamara's avatar Caolán McNamara

these are static all the way down

Change-Id: I20fe835f81680866412fde5e28f508625b043402
üst d2448a45
...@@ -31,19 +31,6 @@ ...@@ -31,19 +31,6 @@
namespace dbp 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 //= OUnoAutoPilot
typedef ::svt::OGenericUnoDialog OUnoAutoPilot_Base; typedef ::svt::OGenericUnoDialog OUnoAutoPilot_Base;
...@@ -84,14 +71,12 @@ namespace dbp ...@@ -84,14 +71,12 @@ namespace dbp
// XServiceInfo - static methods // XServiceInfo - static methods
static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static() throw( ::com::sun::star::uno::RuntimeException ) static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static() throw( ::com::sun::star::uno::RuntimeException )
{ {
SERVICEINFO aInfo; return SERVICEINFO::getServiceNames();
return aInfo.getServiceNames();
} }
static OUString getImplementationName_Static() throw( ::com::sun::star::uno::RuntimeException ) static OUString getImplementationName_Static() throw( ::com::sun::star::uno::RuntimeException )
{ {
SERVICEINFO aInfo; return SERVICEINFO::getImplementationName();
return aInfo.getImplementationName();
} }
static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment