summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-12 14:06:28 +0200
committerNoel Grandin <noel@peralex.com>2014-06-17 10:55:17 +0200
commit3e82897353e576dc6e3fbf55371fda5a0c3415df (patch)
tree71c2f03128885000efae1852dccb504f8355c79e /linguistic
parentec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff)
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/dlistimp.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/linguistic/source/dlistimp.cxx b/linguistic/source/dlistimp.cxx
index a6b6484e722d..4dab774e8d06 100644
--- a/linguistic/source/dlistimp.cxx
+++ b/linguistic/source/dlistimp.cxx
@@ -95,7 +95,7 @@ public:
bool bReceiveVerbose );
bool RemoveDicListEvtListener(
const uno::Reference< XDictionaryListEventListener >& rxListener );
- sal_Int16 BeginCollectEvents();
+ sal_Int16 BeginCollectEvents() { return ++nNumCollectEvtListeners;}
sal_Int16 EndCollectEvents();
sal_Int16 FlushEvents();
void ClearEvents() { nCondensedEvt = 0; }
@@ -227,10 +227,6 @@ bool DicEvtListenerHelper::RemoveDicListEvtListener(
}
-sal_Int16 DicEvtListenerHelper::BeginCollectEvents()
-{
- return ++nNumCollectEvtListeners;
-}
sal_Int16 DicEvtListenerHelper::EndCollectEvents()