summaryrefslogtreecommitdiff
path: root/include/vcl/metric.hxx
diff options
context:
space:
mode:
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 >