diff options
author | José Guilherme Vanz <vanz@libreoffice.org> | 2013-10-20 01:43:00 -0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-10-20 12:25:45 +0000 |
commit | 288f0029c69ab0532165877637a146f774d5e740 (patch) | |
tree | bbe152c9f188fc17a75613bb10c00b1ba4c75055 /include | |
parent | 63f705643ee92421a8bc689fb33190340d8ece6a (diff) |
fdo#52622 - Reduce copy and paste code
This commit removes copy and paste code, creating a constructor for it
Change-Id: I7a66cfda7fc7c11308d155a7a890352fdacfaacc
Reviewed-on: https://gerrit.libreoffice.org/6356
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/image.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/image.hxx b/include/vcl/image.hxx index dc027f493a7f..f7b34e7d850f 100644 --- a/include/vcl/image.hxx +++ b/include/vcl/image.hxx @@ -58,6 +58,7 @@ public: Image( const Bitmap& rBitmap, const Bitmap& rMaskBitmap ); Image( const Bitmap& rBitmap, const Color& rColor ); Image( const ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic >& rxGraphic ); + Image( const OUString &rFileUrl ); ~Image(); Size GetSizePixel() const; |