summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-14 08:41:57 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-03-14 11:06:32 +0000
commitf7965b0bcd559451c471a26bf5fd6f542887d95e (patch)
treef6b1a30faeba1e6f16393dd4ea34bc75293a5655 /include/vcl
parent03637a75c1bebf8b35b520139b9ddfa3238ee53f (diff)
remove some unused typedefs, and inline some use-once
Change-Id: I5ada1cff98c0a3e065d126444f8052f444323743 Reviewed-on: https://gerrit.libreoffice.org/23234 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/devicecoordinate.hxx2
-rw-r--r--include/vcl/metric.hxx3
2 files changed, 1 insertions, 4 deletions
diff --git a/include/vcl/devicecoordinate.hxx b/include/vcl/devicecoordinate.hxx
index b098abbafb27..14e43b22c024 100644
--- a/include/vcl/devicecoordinate.hxx
+++ b/include/vcl/devicecoordinate.hxx
@@ -15,13 +15,11 @@
#if VCL_FLOAT_DEVICE_PIXEL
#include <basegfx/point/b2dpoint.hxx>
typedef double DeviceCoordinate;
-typedef basegfx::B2DPoint DevicePoint;
#else /* !VCL_FLOAT_DEVICE_PIXEL */
#include <basegfx/point/b2ipoint.hxx>
typedef long DeviceCoordinate;
-typedef basegfx::B2IPoint DevicePoint;
#endif /* ! Carpet Cushion */
diff --git a/include/vcl/metric.hxx b/include/vcl/metric.hxx
index 3d9677507704..5e079d106959 100644
--- a/include/vcl/metric.hxx
+++ b/include/vcl/metric.hxx
@@ -33,7 +33,6 @@ class CmapResult;
typedef sal_uInt32 sal_UCS4;
typedef boost::intrusive_ptr< ImplFontCharMap > ImplFontCharMapPtr;
typedef boost::intrusive_ptr< FontCharMap > FontCharMapPtr;
-typedef boost::intrusive_ptr< ImplFontMetric > ImplFontMetricPtr;
class VCL_DLLPUBLIC FontMetric : public vcl::Font
{
@@ -73,7 +72,7 @@ public:
bool operator!=( const FontMetric& rMetric ) const
{ return !operator==( rMetric ); }
protected:
- ImplFontMetricPtr mpImplMetric; // Implementation
+ boost::intrusive_ptr<ImplFontMetric> mpImplMetric; // Implementation
};
template< typename charT, typename traits >