diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-09-20 16:19:50 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-09-20 16:28:11 +0300 |
commit | cc3e899fabe73629b1670bc38386deb649ae81e5 (patch) | |
tree | a2698016fb0ab84b16b6038c02cfc81eb6921388 /editeng | |
parent | 711752a98a373778aca8044406d6f08ebd2aeb9a (diff) |
WaE: this method can be declared static
Change-Id: I1b656cc53f00b866ed6e86d291149e7f1790f26f
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/outliner/overflowingtxt.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/outliner/overflowingtxt.cxx b/editeng/source/outliner/overflowingtxt.cxx index 6f2967c3c87e..995216faf202 100644 --- a/editeng/source/outliner/overflowingtxt.cxx +++ b/editeng/source/outliner/overflowingtxt.cxx @@ -127,7 +127,7 @@ OverflowingText::OverflowingText(TranferableText xOverflowingContent) : } -ESelection OverflowingText::GetInsertionPointSel() const +ESelection OverflowingText::GetInsertionPointSel() { assert(false && "You should never get here"); return getLastPositionSel(NULL); @@ -193,9 +193,9 @@ OFlowChainedText::OFlowChainedText(Outliner *pOutl, bool bIsDeepMerge) mbIsDeepMerge = bIsDeepMerge; } -ESelection OFlowChainedText::GetInsertionPointSel() const +ESelection OFlowChainedText::GetInsertionPointSel() { - return mpOverflowingTxt->GetInsertionPointSel(); + return OverflowingText::GetInsertionPointSel(); } ESelection OFlowChainedText::GetOverflowPointSel() const |