diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-05 12:31:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-06 08:18:02 +0200 |
commit | 315e585f283e6e4a5f1ac11e7d17a638d04e82b0 (patch) | |
tree | 38cb0e31b05dc210955d701e9c88cf4976d71f6f /include/vcl/gfxlink.hxx | |
parent | loplugin:useuniqueptr in SwHTMLPosFlyFrames (diff) | |
download | core-315e585f283e6e4a5f1ac11e7d17a638d04e82b0.tar.gz core-315e585f283e6e4a5f1ac11e7d17a638d04e82b0.zip |
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.hxx | 5 |
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) |