From 17dd2662ccfa9d04efbea74e5d7548db5b2126d4 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 7 Jan 2019 13:52:59 +0200 Subject: convert "*xxx.get()" to "*xxx" Change-Id: Ic307226591ff9702957ccdec486ccf70357eb6d9 Reviewed-on: https://gerrit.libreoffice.org/65951 Tested-by: Jenkins Reviewed-by: Noel Grandin --- starmath/inc/view.hxx | 6 +++--- starmath/source/view.cxx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'starmath') 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::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::Create(this)) - , maGraphicController(*mpGraphic.get(), SID_GAPHIC_SM, pFrame_->GetBindings()) + , maGraphicController(*mpGraphic, SID_GAPHIC_SM, pFrame_->GetBindings()) , mbPasteState(false) , mbInsertIntoEditWindow(false) { -- cgit