Kaydet (Commit) cc3e899f authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: this method can be declared static

Change-Id: I1b656cc53f00b866ed6e86d291149e7f1790f26f
üst 711752a9
...@@ -127,7 +127,7 @@ OverflowingText::OverflowingText(TranferableText xOverflowingContent) : ...@@ -127,7 +127,7 @@ OverflowingText::OverflowingText(TranferableText xOverflowingContent) :
} }
ESelection OverflowingText::GetInsertionPointSel() const ESelection OverflowingText::GetInsertionPointSel()
{ {
assert(false && "You should never get here"); assert(false && "You should never get here");
return getLastPositionSel(NULL); return getLastPositionSel(NULL);
...@@ -193,9 +193,9 @@ OFlowChainedText::OFlowChainedText(Outliner *pOutl, bool bIsDeepMerge) ...@@ -193,9 +193,9 @@ OFlowChainedText::OFlowChainedText(Outliner *pOutl, bool bIsDeepMerge)
mbIsDeepMerge = bIsDeepMerge; mbIsDeepMerge = bIsDeepMerge;
} }
ESelection OFlowChainedText::GetInsertionPointSel() const ESelection OFlowChainedText::GetInsertionPointSel()
{ {
return mpOverflowingTxt->GetInsertionPointSel(); return OverflowingText::GetInsertionPointSel();
} }
ESelection OFlowChainedText::GetOverflowPointSel() const ESelection OFlowChainedText::GetOverflowPointSel() const
......
...@@ -75,7 +75,7 @@ class OverflowingText ...@@ -75,7 +75,7 @@ class OverflowingText
public: public:
OutlinerParaObject *JuxtaposeParaObject(Outliner *, OutlinerParaObject *); OutlinerParaObject *JuxtaposeParaObject(Outliner *, OutlinerParaObject *);
OutlinerParaObject *DeeplyMergeParaObject(Outliner *, OutlinerParaObject *); OutlinerParaObject *DeeplyMergeParaObject(Outliner *, OutlinerParaObject *);
ESelection GetInsertionPointSel() const; static ESelection GetInsertionPointSel();
private: private:
friend class Outliner; friend class Outliner;
...@@ -116,7 +116,7 @@ public: ...@@ -116,7 +116,7 @@ public:
OutlinerParaObject *InsertOverflowingText(Outliner *, OutlinerParaObject *); OutlinerParaObject *InsertOverflowingText(Outliner *, OutlinerParaObject *);
OutlinerParaObject *RemoveOverflowingText(Outliner *); OutlinerParaObject *RemoveOverflowingText(Outliner *);
ESelection GetInsertionPointSel() const; static ESelection GetInsertionPointSel();
ESelection GetOverflowPointSel() const; ESelection GetOverflowPointSel() const;
bool IsLastParaInterrupted() const; bool IsLastParaInterrupted() const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment