summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editeng/source/outliner/overflowingtxt.cxx6
-rw-r--r--include/editeng/overflowingtxt.hxx4
2 files changed, 5 insertions, 5 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
diff --git a/include/editeng/overflowingtxt.hxx b/include/editeng/overflowingtxt.hxx
index 1b521e9c07a6..9eec07ec1edd 100644
--- a/include/editeng/overflowingtxt.hxx
+++ b/include/editeng/overflowingtxt.hxx
@@ -75,7 +75,7 @@ class OverflowingText
public:
OutlinerParaObject *JuxtaposeParaObject(Outliner *, OutlinerParaObject *);
OutlinerParaObject *DeeplyMergeParaObject(Outliner *, OutlinerParaObject *);
- ESelection GetInsertionPointSel() const;
+ static ESelection GetInsertionPointSel();
private:
friend class Outliner;
@@ -116,7 +116,7 @@ public:
OutlinerParaObject *InsertOverflowingText(Outliner *, OutlinerParaObject *);
OutlinerParaObject *RemoveOverflowingText(Outliner *);
- ESelection GetInsertionPointSel() const;
+ static ESelection GetInsertionPointSel();
ESelection GetOverflowPointSel() const;
bool IsLastParaInterrupted() const;