diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-19 09:09:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-20 06:56:32 +0000 |
commit | 84defbc556c17aa58851fd14f8af0deaa3cc6e05 (patch) | |
tree | 8eb1b3dceea8ca8b6d2e62b3c20c8d121deb8a9e /include/ucbhelper/contentinfo.hxx | |
parent | use rtl::Reference in OContainerListener (diff) | |
download | core-84defbc556c17aa58851fd14f8af0deaa3cc6e05.tar.gz core-84defbc556c17aa58851fd14f8af0deaa3cc6e05.zip |
new loplugin: useuniqueptr: ucb..ucbhelper
Change-Id: Ib19ca3225b96d1bfec8a43bb762e16597f33b690
Reviewed-on: https://gerrit.libreoffice.org/33297
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/ucbhelper/contentinfo.hxx')
-rw-r--r-- | include/ucbhelper/contentinfo.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ucbhelper/contentinfo.hxx b/include/ucbhelper/contentinfo.hxx index ee1f9ec43420..171479ca0e1f 100644 --- a/include/ucbhelper/contentinfo.hxx +++ b/include/ucbhelper/contentinfo.hxx @@ -50,7 +50,7 @@ class PropertySetInfo : { css::uno::Reference< css::ucb::XCommandEnvironment > m_xEnv; - css::uno::Sequence< css::beans::Property >* + std::unique_ptr<css::uno::Sequence< css::beans::Property >> m_pProps; osl::Mutex m_aMutex; ContentImplHelper* m_pContent; @@ -113,7 +113,7 @@ class CommandProcessorInfo : { css::uno::Reference< css::ucb::XCommandEnvironment > m_xEnv; - css::uno::Sequence< css::ucb::CommandInfo >* + std::unique_ptr<css::uno::Sequence< css::ucb::CommandInfo >> m_pCommands; osl::Mutex m_aMutex; ContentImplHelper* m_pContent; |