diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-06 11:38:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-17 07:07:08 +0100 |
commit | 794066fa1ac67b6e352c17e78245a2698b0c470b (patch) | |
tree | d433b0c84b7854d36266a3ba3fe07857ae165898 /include/svx/fmgridif.hxx | |
parent | c503df794f942488840ac2d69e61895e42a35b2a (diff) |
loplugin:useuniqueptr in FmXGridPeer
Change-Id: Ie9a705852035eb99c9d0e5862c4d9f6bdb4c6a05
Reviewed-on: https://gerrit.libreoffice.org/49877
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/fmgridif.hxx')
-rw-r--r-- | include/svx/fmgridif.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svx/fmgridif.hxx b/include/svx/fmgridif.hxx index 5aa857005c69..fbec6ea6435f 100644 --- a/include/svx/fmgridif.hxx +++ b/include/svx/fmgridif.hxx @@ -48,6 +48,7 @@ #include <comphelper/uno3.hxx> #include <cppuhelper/implbase.hxx> #include <cppuhelper/implbase10.hxx> +#include <memory> class DbGridColumn; enum class DbGridControlNavigationBarState; @@ -359,7 +360,7 @@ class SAL_WARN_UNUSED SVX_DLLPUBLIC FmXGridPeer: class GridListenerDelegator; friend class GridListenerDelegator; - GridListenerDelegator* m_pGridListener; + std::unique_ptr<GridListenerDelegator> m_pGridListener; protected: css::uno::Reference< css::uno::XComponentContext > m_xContext; |