summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/view.hxx6
-rw-r--r--starmath/source/view.cxx4
2 files changed, 5 insertions, 5 deletions
diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx
index fab51dd8affb..2b1692e8d9df 100644
--- a/starmath/inc/view.hxx
+++ b/starmath/inc/view.hxx
@@ -187,7 +187,7 @@ public:
SmEditWindow& GetEditWindow()
{
- return *aEdit.get();
+ return *aEdit;
}
SmViewShell* GetView();
};
@@ -273,11 +273,11 @@ public:
SmGraphicWindow& GetGraphicWindow()
{
- return *mpGraphic.get();
+ return *mpGraphic;
}
const SmGraphicWindow& GetGraphicWindow() const
{
- return *mpGraphic.get();
+ return *mpGraphic;
}
void SetStatusText(const OUString& rText);
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index 0a582fe5cd4c..c506d0715b1b 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -663,7 +663,7 @@ SmCmdBoxWindow::SmCmdBoxWindow(SfxBindings *pBindings_, SfxChildWindow *pChildWi
vcl::Window *pParent) :
SfxDockingWindow(pBindings_, pChildWindow, pParent, WB_MOVEABLE|WB_CLOSEABLE|WB_SIZEABLE|WB_DOCKABLE),
aEdit (VclPtr<SmEditWindow>::Create(*this)),
- aController (*(aEdit.get()), SID_TEXT, *pBindings_),
+ aController (*aEdit, SID_TEXT, *pBindings_),
bExiting (false)
{
SetHelpId( HID_SMA_COMMAND_WIN );
@@ -1907,7 +1907,7 @@ SmViewShell::SmViewShell(SfxViewFrame *pFrame_, SfxViewShell *)
: SfxViewShell(pFrame_, SfxViewShellFlags::HAS_PRINTOPTIONS)
, mpImpl(new SmViewShell_Impl)
, mpGraphic(VclPtr<SmGraphicWindow>::Create(this))
- , maGraphicController(*mpGraphic.get(), SID_GAPHIC_SM, pFrame_->GetBindings())
+ , maGraphicController(*mpGraphic, SID_GAPHIC_SM, pFrame_->GetBindings())
, mbPasteState(false)
, mbInsertIntoEditWindow(false)
{