diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2018-02-08 20:00:37 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2018-02-11 07:35:34 +0100 |
commit | c6a23023150c164a19236139fa413d43006ce21c (patch) | |
tree | b0fbf06dc669866166ed84626ad8bc98171b5647 /vcl/inc | |
parent | d4a44dc4cd5b4a1679a5325bc202dc9ca39d75c5 (diff) |
Add origin URL to Graphic to remember where the image came from
Change-Id: I73e7377c2049211de0b464efff03058dc5de33a6
Reviewed-on: https://gerrit.libreoffice.org/49554
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/impgraph.hxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vcl/inc/impgraph.hxx b/vcl/inc/impgraph.hxx index 1dc5adc30ab5..6c76275abbb2 100644 --- a/vcl/inc/impgraph.hxx +++ b/vcl/inc/impgraph.hxx @@ -50,6 +50,7 @@ private: bool mbDummyContext; VectorGraphicDataPtr maVectorGraphicData; css::uno::Sequence<sal_Int8> maPdfData; + OUString msOriginURL; private: @@ -70,6 +71,16 @@ private: bool operator==( const ImpGraphic& rImpGraphic ) const; bool operator!=( const ImpGraphic& rImpGraphic ) const { return !( *this == rImpGraphic ); } + OUString getOriginURL() const + { + return msOriginURL; + } + + void setOriginURL(OUString const & rOriginURL) + { + msOriginURL = rOriginURL; + } + void ImplCreateSwapInfo(); void ImplClearGraphics(); void ImplClear(); |