summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-03-16 15:31:10 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-03-20 12:57:31 +0000
commit0a14f36501e2e0ce8373464dc1655fdb1e9550b6 (patch)
treee175547213c8528499845a78064fd44a714f0ee9 /sw
parent00f32691bfcbfbecc824e65e60a506b0035f9643 (diff)
split macros to elide unneeded methods
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/uno/swdetect.cxx2
-rw-r--r--sw/source/ui/uno/swdetect.hxx2
2 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/ui/uno/swdetect.cxx b/sw/source/ui/uno/swdetect.cxx
index 0dda7601a289..ff9af042063e 100644
--- a/sw/source/ui/uno/swdetect.cxx
+++ b/sw/source/ui/uno/swdetect.cxx
@@ -423,8 +423,6 @@ SwFilterDetect::~SwFilterDetect()
return aTypeName;
}
-SFX_IMPL_SINGLEFACTORY( SwFilterDetect )
-
/* XServiceInfo */
rtl::OUString SAL_CALL SwFilterDetect::getImplementationName() throw( UNORUNTIMEEXCEPTION )
{
diff --git a/sw/source/ui/uno/swdetect.hxx b/sw/source/ui/uno/swdetect.hxx
index 0ece0dcaa1fc..d68615e19548 100644
--- a/sw/source/ui/uno/swdetect.hxx
+++ b/sw/source/ui/uno/swdetect.hxx
@@ -84,7 +84,7 @@ public:
SwFilterDetect( const REFERENCE < ::com::sun::star::lang::XMultiServiceFactory >& xFactory );
virtual ~SwFilterDetect();
- SFX_DECL_XSERVICEINFO
+ SFX_DECL_XSERVICEINFO_NOFACTORY
//----------------------------------------------------------------------------------
// XExtendedFilterDetect