diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-19 09:21:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-19 09:04:21 +0100 |
commit | e354b3fb803397fef2a6309fc0cf714a315bedee (patch) | |
tree | 41cdbb9a00a786e1e4bed2a2f23e509fcaebb6a2 /include/sfx2/titledockwin.hxx | |
parent | 238d65f6823012ddc6820a82ace89ab4be43243e (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/sfx2/titledockwin.hxx')
-rw-r--r-- | include/sfx2/titledockwin.hxx | 4 |
1 files changed, 2 insertions, 2 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. |