diff options
Diffstat (limited to 'starmath/inc/view.hxx')
-rw-r--r-- | starmath/inc/view.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx index 9c7980609250..fa2edee2bfee 100644 --- a/starmath/inc/view.hxx +++ b/starmath/inc/view.hxx @@ -185,7 +185,7 @@ public: void AdjustPosition(); - SmEditWindow *GetEditWindow() { return (&aEdit); } + SmEditWindow& GetEditWindow() { return aEdit; } SmViewShell *GetView(); }; @@ -207,7 +207,7 @@ protected: public: - SmEditWindow *GetEditWindow() + SmEditWindow& GetEditWindow() { return (((SmCmdBoxWindow *)pWindow)->GetEditWindow()); } |