summaryrefslogtreecommitdiff
path: root/sd/source/ui/presenter/PresenterTextView.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/presenter/PresenterTextView.cxx')
-rw-r--r--sd/source/ui/presenter/PresenterTextView.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/sd/source/ui/presenter/PresenterTextView.cxx b/sd/source/ui/presenter/PresenterTextView.cxx
index 62cb7141cdb4..74ab94f7e667 100644
--- a/sd/source/ui/presenter/PresenterTextView.cxx
+++ b/sd/source/ui/presenter/PresenterTextView.cxx
@@ -92,7 +92,6 @@ private:
sal_Int32 mnTop;
sal_Int32 mnTotalHeight;
- void GetEditEngine();
EditEngine* CreateEditEngine();
void CheckTop();
};
@@ -254,7 +253,7 @@ PresenterTextView::Implementation::Implementation()
{
mpOutputDevice->SetMapMode(MapUnit::MapPixel);
- GetEditEngine();
+ mpEditEngine = CreateEditEngine ();
}
PresenterTextView::Implementation::~Implementation()
@@ -264,12 +263,6 @@ PresenterTextView::Implementation::~Implementation()
mpOutputDevice.disposeAndClear();
}
-void PresenterTextView::Implementation::GetEditEngine()
-{
- if (mpEditEngine == nullptr)
- mpEditEngine = CreateEditEngine ();
-}
-
EditEngine* PresenterTextView::Implementation::CreateEditEngine()
{
EditEngine* pEditEngine = mpEditEngine;