summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-05-25 23:10:03 +0200
committerMichael Stahl <mstahl@redhat.com>2016-05-26 08:19:26 +0000
commit0edec345cdbceae4847d1780f914ce16e56c0959 (patch)
tree2371cd4ffab631ee64de887efe34f36f781b8812 /vcl/inc
parent74713b34a36577f19eb3194246de73fa4f2bb741 (diff)
vcl: replace boost::shared_array with std::shared_ptr
This was already using get() everywhere. Change-Id: I6d1eee4fe9b0494a1c49ac44917d9fc7c22b43a4 Reviewed-on: https://gerrit.libreoffice.org/25470 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/pch/precompiled_vcl.hxx1
-rw-r--r--vcl/inc/quartz/salbmp.h6
2 files changed, 3 insertions, 4 deletions
diff --git a/vcl/inc/pch/precompiled_vcl.hxx b/vcl/inc/pch/precompiled_vcl.hxx
index 833d73ee8fed..06dc155709ee 100644
--- a/vcl/inc/pch/precompiled_vcl.hxx
+++ b/vcl/inc/pch/precompiled_vcl.hxx
@@ -57,7 +57,6 @@
#include <boost/math/special_functions/sinc.hpp>
#include <boost/multi_array.hpp>
#include <boost/optional.hpp>
-#include <boost/shared_array.hpp>
#include <osl/conditn.hxx>
#include <osl/diagnose.h>
#include <osl/diagnose.hxx>
diff --git a/vcl/inc/quartz/salbmp.h b/vcl/inc/quartz/salbmp.h
index 6ffd1e36ca50..994604f083f1 100644
--- a/vcl/inc/quartz/salbmp.h
+++ b/vcl/inc/quartz/salbmp.h
@@ -30,7 +30,7 @@
#include "salvd.hxx"
#include "salbmp.hxx"
-#include <boost/shared_array.hpp>
+#include <memory>
struct BitmapBuffer;
@@ -42,8 +42,8 @@ public:
CGContextRef mxGraphicContext;
mutable CGImageRef mxCachedImage;
BitmapPalette maPalette;
- boost::shared_array<sal_uInt8> maUserBuffer;
- boost::shared_array<sal_uInt8> maContextBuffer;
+ std::shared_ptr<sal_uInt8> m_pUserBuffer;
+ std::shared_ptr<sal_uInt8> m_pContextBuffer;
sal_uInt16 mnBits;
int mnWidth;
int mnHeight;