summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorElton Chung <elton@layerjet.com>2012-02-13 16:08:52 +0000
committerMichael Meeks <michael.meeks@suse.com>2012-02-13 16:08:52 +0000
commitabc235e73e70ffba83240759a8500a08becc9d71 (patch)
tree614b5036cdf7950e79425938d56ab789a8f889fe /linguistic
parent47716efc8e829c4fc82b22e4d62bb9480eb84aad (diff)
Remove unused code
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/lngsvcmgr.cxx15
-rw-r--r--linguistic/source/lngsvcmgr.hxx3
2 files changed, 0 insertions, 18 deletions
diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx
index 00acac2346b6..797361122eac 100644
--- a/linguistic/source/lngsvcmgr.cxx
+++ b/linguistic/source/lngsvcmgr.cxx
@@ -1762,21 +1762,6 @@ sal_Bool LngSvcMgr::AddLngSvcEvtBroadcaster(
}
-sal_Bool LngSvcMgr::RemoveLngSvcEvtBroadcaster(
- const uno::Reference< linguistic2::XLinguServiceEventBroadcaster > &rxBroadcaster )
-{
- sal_Bool bRes = sal_False;
- if (rxBroadcaster.is())
- {
- DBG_ASSERT( pListenerHelper, "pListenerHelper non existent" );
- if (!pListenerHelper)
- GetListenerHelper_Impl();
- bRes = pListenerHelper->RemoveLngSvcEvtBroadcaster( rxBroadcaster );
- }
- return bRes;
-}
-
-
OUString SAL_CALL
LngSvcMgr::getImplementationName()
throw(uno::RuntimeException)
diff --git a/linguistic/source/lngsvcmgr.hxx b/linguistic/source/lngsvcmgr.hxx
index 635a85318364..0e27a705e56e 100644
--- a/linguistic/source/lngsvcmgr.hxx
+++ b/linguistic/source/lngsvcmgr.hxx
@@ -174,9 +174,6 @@ public:
sal_Bool AddLngSvcEvtBroadcaster(
const ::com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XLinguServiceEventBroadcaster > &rxBroadcaster );
- sal_Bool RemoveLngSvcEvtBroadcaster(
- const ::com::sun::star::uno::Reference<
- ::com::sun::star::linguistic2::XLinguServiceEventBroadcaster > &rxBroadcaster );
};