diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-04-03 12:12:57 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-04-03 12:12:57 +0200 |
commit | 78bec2b6f40144277464a64a9851d1dc940ed336 (patch) | |
tree | a8bc877f2f23896d0e7ec80d5af24b7c00b1a051 /drawinglayer/inc | |
parent | 0c85109e647ab1d1d8d87891b3bba23d90cd7e65 (diff) |
fdo#62525: use cow_wrapper for ViewInformation3D
Change-Id: I4f304febfedfa4a5a89d996fe276a9413d0ef855
Diffstat (limited to 'drawinglayer/inc')
-rw-r--r-- | drawinglayer/inc/drawinglayer/geometry/viewinformation3d.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drawinglayer/inc/drawinglayer/geometry/viewinformation3d.hxx b/drawinglayer/inc/drawinglayer/geometry/viewinformation3d.hxx index acaeff8b3c61..86c9a2c16296 100644 --- a/drawinglayer/inc/drawinglayer/geometry/viewinformation3d.hxx +++ b/drawinglayer/inc/drawinglayer/geometry/viewinformation3d.hxx @@ -28,6 +28,7 @@ #include <sal/config.h> #include <com/sun/star/uno/Sequence.h> #include <com/sun/star/beans/PropertyValue.hpp> +#include <o3tl/cow_wrapper.hxx> ////////////////////////////////////////////////////////////////////////////// // predefines @@ -56,9 +57,12 @@ namespace drawinglayer */ class DRAWINGLAYER_DLLPUBLIC ViewInformation3D { + public: + typedef o3tl::cow_wrapper< ImpViewInformation3D, o3tl::ThreadSafeRefCountingPolicy > ImplType; + private: /// pointer to private implementation class - ImpViewInformation3D* mpViewInformation3D; + ImplType mpViewInformation3D; public: /** Constructor: Create a ViewInformation3D |