summaryrefslogtreecommitdiff
path: root/include/vcl/gfxlink.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-05 12:31:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-06 08:18:02 +0200
commit315e585f283e6e4a5f1ac11e7d17a638d04e82b0 (patch)
tree38cb0e31b05dc210955d701e9c88cf4976d71f6f /include/vcl/gfxlink.hxx
parentbb2ff075642664084e735948fcc65e21ad861937 (diff)
inline GfxLink::SwapIn
only called from one site Change-Id: I2f8cb927df2f4f389c5d1bee19845aed5535663b Reviewed-on: https://gerrit.libreoffice.org/61437 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/gfxlink.hxx')
-rw-r--r--include/vcl/gfxlink.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/vcl/gfxlink.hxx b/include/vcl/gfxlink.hxx
index 5df70b8bc53d..38289d465c3b 100644
--- a/include/vcl/gfxlink.hxx
+++ b/include/vcl/gfxlink.hxx
@@ -67,8 +67,8 @@ private:
GfxLinkType meType;
sal_uInt32 mnUserId;
- std::shared_ptr<sal_uInt8> mpSwapInData;
- std::shared_ptr<SwapOutData> mpSwapOutData;
+ mutable std::shared_ptr<sal_uInt8> mpSwapInData;
+ mutable std::shared_ptr<SwapOutData> mpSwapOutData;
sal_uInt32 mnSwapInDataSize;
MapMode maPrefMapMode;
@@ -108,7 +108,6 @@ public:
bool ExportNative( SvStream& rOStream ) const;
void SwapOut();
- void SwapIn();
bool IsSwappedOut() const { return( bool(mpSwapOutData) ); }
bool IsEMF() const; // WMF & EMF stored under the same type (NativeWmf)