summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-01-07 13:52:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-08 10:38:35 +0100
commit17dd2662ccfa9d04efbea74e5d7548db5b2126d4 (patch)
tree37c0de883c43a57f54b0a483437da9de3bf4c941 /starmath
parent638be04c8334e5e29f9258ff870fbe63603ce7e0 (diff)
convert "*xxx.get()" to "*xxx"
Change-Id: Ic307226591ff9702957ccdec486ccf70357eb6d9 Reviewed-on: https://gerrit.libreoffice.org/65951 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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)
{