summaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/sfx2/titledockwin.hxx4
-rw-r--r--include/svx/gridctrl.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/sfx2/titledockwin.hxx b/include/sfx2/titledockwin.hxx
index 87d745b639a0..976c4bb9f665 100644
--- a/include/sfx2/titledockwin.hxx
+++ b/include/sfx2/titledockwin.hxx
@@ -47,8 +47,8 @@ namespace sfx2
/** returns the content window, which is to be used as parent window for any content to be displayed
in the docking window.
*/
- vcl::Window& GetContentWindow() { return *m_aContentWindow.get(); }
- const vcl::Window& GetContentWindow() const { return *m_aContentWindow.get(); }
+ vcl::Window& GetContentWindow() { return *m_aContentWindow; }
+ const vcl::Window& GetContentWindow() const { return *m_aContentWindow; }
/** Return the border that is painted around the inner window as
decoration.
diff --git a/include/svx/gridctrl.hxx b/include/svx/gridctrl.hxx
index 28df7caf8ca8..da3f3aa6017e 100644
--- a/include/svx/gridctrl.hxx
+++ b/include/svx/gridctrl.hxx
@@ -434,7 +434,7 @@ public:
bool HasNavigationBar() const {return m_bNavigationBar;}
DbGridControlOptions GetOptions() const {return m_nOptions;}
- NavigationBar& GetNavigationBar() {return *m_aBar.get();}
+ NavigationBar& GetNavigationBar() {return *m_aBar;}
DbGridControlOptions SetOptions(DbGridControlOptions nOpt);
// The new options are interpreted with respect to the current data source. If it is unable
// to update, to insert or to restore, the according options are ignored. If the grid isn't