summaryrefslogtreecommitdiffstats
path: root/sw/source/uibase
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 /sw/source/uibase
parentwriterfilter: Kill unused XPathLogger. (diff)
downloadcore-3e82897353e576dc6e3fbf55371fda5a0c3415df.tar.gz
core-3e82897353e576dc6e3fbf55371fda5a0c3415df.zip
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/inc/wrtsh.hxx3
-rw-r--r--sw/source/uibase/wrtsh/wrtsh1.cxx4
2 files changed, 2 insertions, 5 deletions
diff --git a/sw/source/uibase/inc/wrtsh.hxx b/sw/source/uibase/inc/wrtsh.hxx
index c2baa4b03a72..2d835ec6cbfd 100644
--- a/sw/source/uibase/inc/wrtsh.hxx
+++ b/sw/source/uibase/inc/wrtsh.hxx
@@ -455,7 +455,8 @@ typedef bool (SwWrtShell:: *FNSimpleMove)();
OUString GetSelDescr() const;
- SwNavigationMgr& GetNavigationMgr();
+ SwNavigationMgr& GetNavigationMgr() { return aNavigationMgr; }
+
void addCurrentPosition();
bool GotoFly( const OUString& rName, FlyCntType eType = FLYCNTTYPE_ALL,
bool bSelFrame = true );
diff --git a/sw/source/uibase/wrtsh/wrtsh1.cxx b/sw/source/uibase/wrtsh/wrtsh1.cxx
index 2653bc0cf304..7d751b30335d 100644
--- a/sw/source/uibase/wrtsh/wrtsh1.cxx
+++ b/sw/source/uibase/wrtsh/wrtsh1.cxx
@@ -1475,10 +1475,6 @@ SwFrmFmt *SwWrtShell::GetTblStyle(const OUString &rFmtName)
return 0;
}
-SwNavigationMgr& SwWrtShell::GetNavigationMgr() {
- return aNavigationMgr;
-}
-
void SwWrtShell::addCurrentPosition() {
SwPaM* pPaM = GetCrsr();
aNavigationMgr.addEntry(*pPaM->GetPoint());