summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-06-30 14:35:23 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-06 06:14:15 +0000
commit89c77994d4638c86635c70535fab6508e2f3d900 (patch)
tree6a48a4f188e8f163c803d6af90cc4eb32ffdbf67 /include/vcl
parent64385c7555c6bbb089f3ab8b2a5b623cadd6ee7d (diff)
remove some unnecessary typedefs around uno::Reference
Not very useful these days, since we have the css:: prefix to reduce verbosity. Found with a search like: git grep -nP 'typedef .*uno::Reference.*<.*>\s+\w+;' | grep -v 'std::' Change-Id: I16f41c53837ec5c613545ae45df38b0daddcbadd Reviewed-on: https://gerrit.libreoffice.org/16730 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/svgdata.hxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/vcl/svgdata.hxx b/include/vcl/svgdata.hxx
index 15d27565b670..c8ee1864eb1d 100644
--- a/include/vcl/svgdata.hxx
+++ b/include/vcl/svgdata.hxx
@@ -28,15 +28,13 @@
typedef boost::shared_array< sal_uInt8 > SvgDataArray;
-typedef ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XPrimitive2D > Primitive2DReference;
-typedef ::com::sun::star::uno::Sequence< Primitive2DReference > Primitive2DSequence;
// helper to convert any Primitive2DSequence to a good quality BitmapEx,
// using default parameters and graphic::XPrimitive2DRenderer
BitmapEx VCL_DLLPUBLIC convertPrimitive2DSequenceToBitmapEx(
- const Primitive2DSequence& rSequence,
+ const css::uno::Sequence< css::uno::Reference< css::graphic::XPrimitive2D > >& rSequence,
const basegfx::B2DRange& rTargetRange,
const sal_uInt32 nMaximumQuadraticPixels = 500000);
@@ -53,7 +51,8 @@ private:
// on demand created content
basegfx::B2DRange maRange;
- Primitive2DSequence maSequence;
+ css::uno::Sequence< css::uno::Reference< css::graphic::XPrimitive2D > >
+ maSequence;
BitmapEx maReplacement;
// on demand creators
@@ -74,7 +73,7 @@ public:
/// data read and evtl. on demand creation
const basegfx::B2DRange& getRange() const;
- const Primitive2DSequence& getPrimitive2DSequence() const;
+ const css::uno::Sequence< css::uno::Reference< css::graphic::XPrimitive2D > >& getPrimitive2DSequence() const;
const BitmapEx& getReplacement() const;
};