summaryrefslogtreecommitdiff
path: root/reportdesign/source/ui/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-03-19 09:21:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-03-19 09:04:21 +0100
commite354b3fb803397fef2a6309fc0cf714a315bedee (patch)
tree41cdbb9a00a786e1e4bed2a2f23e509fcaebb6a2 /reportdesign/source/ui/inc
parent238d65f6823012ddc6820a82ace89ab4be43243e (diff)
loplugin:redundantpointerops add some more smart pointer types
Change-Id: Ia7f3441404d8d2e5de501e70da496b6fdc6c9a4a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90728 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign/source/ui/inc')
-rw-r--r--reportdesign/source/ui/inc/ScrollHelper.hxx4
-rw-r--r--reportdesign/source/ui/inc/SectionWindow.hxx6
2 files changed, 5 insertions, 5 deletions
diff --git a/reportdesign/source/ui/inc/ScrollHelper.hxx b/reportdesign/source/ui/inc/ScrollHelper.hxx
index a42cd269aa98..47e8d715464c 100644
--- a/reportdesign/source/ui/inc/ScrollHelper.hxx
+++ b/reportdesign/source/ui/inc/ScrollHelper.hxx
@@ -81,8 +81,8 @@ namespace rptui
Point getThumbPos() const { return Point(m_aHScroll->GetThumbPos(),m_aVScroll->GetThumbPos())/*m_aScrollOffset*/; }
void setTotalSize(sal_Int32 _nWidth, sal_Int32 _nHeight);
const Size& getTotalSize() const { return m_aTotalPixelSize; }
- ScrollBar& GetHScroll() { return *m_aHScroll.get(); }
- ScrollBar& GetVScroll() { return *m_aVScroll.get(); }
+ ScrollBar& GetHScroll() { return *m_aHScroll; }
+ ScrollBar& GetVScroll() { return *m_aVScroll; }
// forwards
void SetMode( DlgEdMode _eMode );
diff --git a/reportdesign/source/ui/inc/SectionWindow.hxx b/reportdesign/source/ui/inc/SectionWindow.hxx
index 726e4d513c84..9197073f41a1 100644
--- a/reportdesign/source/ui/inc/SectionWindow.hxx
+++ b/reportdesign/source/ui/inc/SectionWindow.hxx
@@ -106,9 +106,9 @@ namespace rptui
virtual ~OSectionWindow() override;
virtual void dispose() override;
- OStartMarker& getStartMarker() { return *m_aStartMarker.get(); }
- OReportSection& getReportSection() { return *m_aReportSection.get(); }
- OEndMarker& getEndMarker() { return *m_aEndMarker.get(); }
+ OStartMarker& getStartMarker() { return *m_aStartMarker; }
+ OReportSection& getReportSection() { return *m_aReportSection; }
+ OEndMarker& getEndMarker() { return *m_aEndMarker; }
OViewsWindow* getViewsWindow() { return m_pParent; }
void setCollapsed(bool _bCollapsed);