summaryrefslogtreecommitdiff
path: root/sc/source
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 /sc/source
parent00f32691bfcbfbecc824e65e60a506b0035f9643 (diff)
split macros to elide unneeded methods
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/unoobj/scdetect.cxx2
-rw-r--r--sc/source/ui/unoobj/scdetect.hxx2
2 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/ui/unoobj/scdetect.cxx b/sc/source/ui/unoobj/scdetect.cxx
index c1f279590564..25f169678186 100644
--- a/sc/source/ui/unoobj/scdetect.cxx
+++ b/sc/source/ui/unoobj/scdetect.cxx
@@ -866,8 +866,6 @@ static sal_Bool lcl_MayBeDBase( SvStream& rStream )
return aTypeName;
}
-SFX_IMPL_SINGLEFACTORY( ScFilterDetect )
-
/* XServiceInfo */
rtl::OUString SAL_CALL ScFilterDetect::getImplementationName() throw( UNORUNTIMEEXCEPTION )
{
diff --git a/sc/source/ui/unoobj/scdetect.hxx b/sc/source/ui/unoobj/scdetect.hxx
index 0ad2d2cd8e8e..2713d7a28f5d 100644
--- a/sc/source/ui/unoobj/scdetect.hxx
+++ b/sc/source/ui/unoobj/scdetect.hxx
@@ -82,7 +82,7 @@ public:
ScFilterDetect( const REFERENCE < ::com::sun::star::lang::XMultiServiceFactory >& xFactory );
virtual ~ScFilterDetect();
- SFX_DECL_XSERVICEINFO
+ SFX_DECL_XSERVICEINFO_NOFACTORY
//----------------------------------------------------------------------------------
// XExtendedFilterDetect