summaryrefslogtreecommitdiff
path: root/include/vcl/metric.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-09-01 10:42:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-09-02 08:09:19 +0000
commitf352ee156c1f184b3aded8dc0ea3eeb68bfbca10 (patch)
tree986a61461f9087a7cf842da091d6235b350abebb /include/vcl/metric.hxx
parent175c49baef5d8dd3f7a28fec5a3dce956303dc42 (diff)
boost::intrusive_ptr->tools::SvRef
Change-Id: I4c913dc62efe3f3747e78670f4efb0216d95c4ad Reviewed-on: https://gerrit.libreoffice.org/28585 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/metric.hxx')
-rw-r--r--include/vcl/metric.hxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/vcl/metric.hxx b/include/vcl/metric.hxx
index 5e079d106959..d4eb7ec6c0aa 100644
--- a/include/vcl/metric.hxx
+++ b/include/vcl/metric.hxx
@@ -24,15 +24,12 @@
#include <vcl/font.hxx>
#include <vcl/outdev.hxx>
-#include <boost/intrusive_ptr.hpp>
-
class ImplFontMetric;
class ImplFontCharMap;
class CmapResult;
typedef sal_uInt32 sal_UCS4;
-typedef boost::intrusive_ptr< ImplFontCharMap > ImplFontCharMapPtr;
-typedef boost::intrusive_ptr< FontCharMap > FontCharMapPtr;
+typedef tools::SvRef<FontCharMap> FontCharMapRef;
class VCL_DLLPUBLIC FontMetric : public vcl::Font
{
@@ -72,7 +69,7 @@ public:
bool operator!=( const FontMetric& rMetric ) const
{ return !operator==( rMetric ); }
protected:
- boost::intrusive_ptr<ImplFontMetric> mpImplMetric; // Implementation
+ tools::SvRef<ImplFontMetric> mxImplMetric; // Implementation
};
template< typename charT, typename traits >