Kaydet (Commit) 0d80e7d7 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Clean up initialization of UcbPropertiesManager::m_pProps

(which is a single-instance service, so there is likely no benefit in
initializing it lazily anyway)

Change-Id: Ie7e8272f11372149391a1190d5e71137dddaa03b
Reviewed-on: https://gerrit.libreoffice.org/18016Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
Tested-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 3a87507c
This diff is collapsed.
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/beans/XPropertySetInfo.hpp> #include <com/sun/star/beans/XPropertySetInfo.hpp>
#include <cppuhelper/weak.hxx> #include <cppuhelper/weak.hxx>
#include <osl/mutex.hxx>
#include <ucbhelper/macros.hxx> #include <ucbhelper/macros.hxx>
#include <cppuhelper/implbase2.hxx> #include <cppuhelper/implbase2.hxx>
...@@ -43,8 +42,7 @@ class UcbPropertiesManager : public cppu::WeakImplHelper2 < ...@@ -43,8 +42,7 @@ class UcbPropertiesManager : public cppu::WeakImplHelper2 <
css::lang::XServiceInfo, css::lang::XServiceInfo,
css::beans::XPropertySetInfo > css::beans::XPropertySetInfo >
{ {
css::uno::Sequence< css::beans::Property >* m_pProps; css::uno::Sequence< css::beans::Property > m_pProps;
osl::Mutex m_aMutex;
private: private:
bool queryProperty( const OUString& rName, bool queryProperty( const OUString& rName,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment