diff options
Diffstat (limited to 'ucbhelper/source/provider/contentinfo.hxx')
-rw-r--r-- | ucbhelper/source/provider/contentinfo.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ucbhelper/source/provider/contentinfo.hxx b/ucbhelper/source/provider/contentinfo.hxx index 22591c8bc360..09e43c782453 100644 --- a/ucbhelper/source/provider/contentinfo.hxx +++ b/ucbhelper/source/provider/contentinfo.hxx @@ -21,6 +21,7 @@ #define UCBHELPER_SOURCE_PROVIDER_CONTENTINFO_HXX #include <memory> +#include <optional> #include <com/sun/star/ucb/XCommandInfo.hpp> #include <com/sun/star/lang/XTypeProvider.hpp> #include <com/sun/star/beans/XPropertySetInfo.hpp> @@ -48,8 +49,8 @@ class PropertySetInfo : { css::uno::Reference< css::ucb::XCommandEnvironment > m_xEnv; - std::unique_ptr<css::uno::Sequence< css::beans::Property >> - m_pProps; + std::optional<css::uno::Sequence< css::beans::Property >> + m_xProps; osl::Mutex m_aMutex; ContentImplHelper* m_pContent; |