diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ucbhelper/contentinfo.hxx | 4 | ||||
-rw-r--r-- | include/ucbhelper/propertyvalueset.hxx | 3 | ||||
-rw-r--r-- | include/ucbhelper/resultsethelper.hxx | 2 |
3 files changed, 5 insertions, 4 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; diff --git a/include/ucbhelper/propertyvalueset.hxx b/include/ucbhelper/propertyvalueset.hxx index c0c8c34ac698..e475243be8a4 100644 --- a/include/ucbhelper/propertyvalueset.hxx +++ b/include/ucbhelper/propertyvalueset.hxx @@ -29,6 +29,7 @@ #include <osl/mutex.hxx> #include <ucbhelper/macros.hxx> #include <ucbhelper/ucbhelperdllapi.h> +#include <memory> namespace com { namespace sun { namespace star { namespace script { class XTypeConverter; @@ -60,7 +61,7 @@ class UCBHELPER_DLLPUBLIC PropertyValueSet : css::uno::Reference< css::uno::XComponentContext > m_xContext; css::uno::Reference< css::script::XTypeConverter > m_xTypeConverter; osl::Mutex m_aMutex; - PropertyValues* m_pValues; + std::unique_ptr<PropertyValues> m_pValues; bool m_bWasNull; bool m_bTriedToGetTypeConverter; diff --git a/include/ucbhelper/resultsethelper.hxx b/include/ucbhelper/resultsethelper.hxx index e35466fce85c..078b1cb21c75 100644 --- a/include/ucbhelper/resultsethelper.hxx +++ b/include/ucbhelper/resultsethelper.hxx @@ -56,7 +56,7 @@ class UCBHELPER_DLLPUBLIC ResultSetImplHelper : public css::lang::XServiceInfo, public css::ucb::XDynamicResultSet { - cppu::OInterfaceContainerHelper* m_pDisposeEventListeners; + std::unique_ptr<cppu::OInterfaceContainerHelper> m_pDisposeEventListeners; bool m_bStatic; bool m_bInitDone; |