summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-18 14:24:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-19 11:57:57 +0100
commita5be07d6b627a18f104e2feed063ff9020e8c610 (patch)
tree389ea7a3c163bcafca743373b94cda4fba937552 /canvas
parentb0cecbfb03dba67f01d1411a1e8b7402c2ca90ce (diff)
inline use-once typedefs
Change-Id: I5c3ffc03c26b3428f1f336e6ecba7838a1cf1157 Reviewed-on: https://gerrit.libreoffice.org/46764 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/tools/canvascustomspritehelper.cxx3
-rw-r--r--canvas/source/tools/pagemanager.hxx3
2 files changed, 2 insertions, 4 deletions
diff --git a/canvas/source/tools/canvascustomspritehelper.cxx b/canvas/source/tools/canvascustomspritehelper.cxx
index 9e74809da8d7..1d39107c9d00 100644
--- a/canvas/source/tools/canvascustomspritehelper.cxx
+++ b/canvas/source/tools/canvascustomspritehelper.cxx
@@ -107,8 +107,7 @@ namespace canvas
{
// aClipBoundsB = maCurrClipBounds, i.e. last
// clip, intersected with sprite area
- typedef std::vector< ::basegfx::B2DRectangle > VectorOfRects;
- VectorOfRects aClipDifferences;
+ std::vector< ::basegfx::B2DRectangle > aClipDifferences;
// get all rectangles covered by exactly one
// of the polygons (aka XOR)
diff --git a/canvas/source/tools/pagemanager.hxx b/canvas/source/tools/pagemanager.hxx
index 3fae17b04008..634114719487 100644
--- a/canvas/source/tools/pagemanager.hxx
+++ b/canvas/source/tools/pagemanager.hxx
@@ -62,8 +62,7 @@ namespace canvas
// this is the container holding all created pages,
// behind the scenes these are real hardware surfaces.
- typedef std::vector<PageSharedPtr> PageContainer_t;
- PageContainer_t maPages;
+ std::vector<PageSharedPtr> maPages;
bool relocate( const FragmentSharedPtr& pFragment );
};