summaryrefslogtreecommitdiff
path: root/include/editeng/editview.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/editeng/editview.hxx')
-rw-r--r--include/editeng/editview.hxx14
1 files changed, 6 insertions, 8 deletions
diff --git a/include/editeng/editview.hxx b/include/editeng/editview.hxx
index 01a0e426c09a..09a0429fdd7e 100644
--- a/include/editeng/editview.hxx
+++ b/include/editeng/editview.hxx
@@ -159,13 +159,14 @@ class EDITENG_DLLPUBLIC EditView final
public:
typedef std::vector<VclPtr<vcl::Window>> OutWindowSet;
-public: // Needed for Undo
- ImpEditView* GetImpEditView() const { return pImpEditView.get(); }
- ImpEditEngine* GetImpEditEngine() const;
+ ImpEditView* GetImpEditView() const { return pImpEditView.get(); }
+ ImpEditEngine& getImpEditEngine() const;
+
+ void setEditEngine(EditEngine* pEditEngine);
+ EditEngine& getEditEngine() const;
private:
- std::unique_ptr<ImpEditView>
- pImpEditView;
+ std::unique_ptr<ImpEditView> pImpEditView;
OUString aDicNameSingle;
EditView( const EditView& ) = delete;
@@ -183,9 +184,6 @@ public:
void setEditViewCallbacks(EditViewCallbacks* pEditViewCallbacks);
EditViewCallbacks* getEditViewCallbacks() const;
- void SetEditEngine( EditEngine* pEditEngine );
- EditEngine* GetEditEngine() const;
-
void SetWindow( vcl::Window* pWin );
vcl::Window* GetWindow() const;
OutputDevice& GetOutputDevice() const;