diff options
-rw-r--r-- | editeng/source/outliner/outlin2.cxx | 5 | ||||
-rw-r--r-- | include/editeng/outliner.hxx | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/editeng/source/outliner/outlin2.cxx b/editeng/source/outliner/outlin2.cxx index 168f103eac4a..3fc587e35fb3 100644 --- a/editeng/source/outliner/outlin2.cxx +++ b/editeng/source/outliner/outlin2.cxx @@ -522,6 +522,11 @@ bool Outliner::ShouldCreateBigTextObject() const return pEditEngine->ShouldCreateBigTextObject(); } +const EditEngine& Outliner::GetEditEngine() const +{ + return *pEditEngine; +} + void Outliner::SetVertical( bool b ) { pEditEngine->SetVertical( b ); diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index 932cc9f19a8b..7e250c4670f1 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx @@ -960,7 +960,7 @@ public: bool ShouldCreateBigTextObject() const; - const EditEngine& GetEditEngine() const { return *((EditEngine*)pEditEngine); } + const EditEngine& GetEditEngine() const; // this is needed for StarOffice Api void SetLevelDependendStyleSheet( sal_Int32 nPara ); |