diff options
author | Mark Page <aptitude@btconnect.com> | 2016-07-04 09:48:50 +0100 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-07-04 12:59:02 +0000 |
commit | e9c3eccdb1ebf77d09dd7ad47b0708e1cb44417d (patch) | |
tree | 38f179cd921a9b45f6d6df6f47a3b9b9e4941e71 /vcl/inc | |
parent | f81316af4f3c69d1f405040f4eddc523ce792add (diff) |
Modify the ImpGraphic class, mpGfxLink to use an unique pointer
Change-Id: I74eb2347970ef19f7a215b86bfeae9945c07dbea
Reviewed-on: https://gerrit.libreoffice.org/26889
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/impgraph.hxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/vcl/inc/impgraph.hxx b/vcl/inc/impgraph.hxx index e5ba1e94e4ae..bb67c66522fd 100644 --- a/vcl/inc/impgraph.hxx +++ b/vcl/inc/impgraph.hxx @@ -37,20 +37,20 @@ class ImpGraphic private: - GDIMetaFile maMetaFile; - BitmapEx maEx; - ImpSwapInfo maSwapInfo; - std::unique_ptr<Animation> mpAnimation; - GraphicReader* mpContext; + GDIMetaFile maMetaFile; + BitmapEx maEx; + ImpSwapInfo maSwapInfo; + std::unique_ptr<Animation> mpAnimation; + GraphicReader* mpContext; std::shared_ptr<ImpSwapFile> mpSwapFile; - GfxLink* mpGfxLink; - GraphicType meType; - mutable sal_uLong mnSizeBytes; - sal_uLong mnRefCount; - bool mbSwapOut; - bool mbSwapUnderway; - bool mbDummyContext; - SvgDataPtr maSvgData; + std::unique_ptr<GfxLink> mpGfxLink; + GraphicType meType; + mutable sal_uLong mnSizeBytes; + sal_uLong mnRefCount; + bool mbSwapOut; + bool mbSwapUnderway; + bool mbDummyContext; + SvgDataPtr maSvgData; css::uno::Sequence<sal_Int8> maPdfData; private: |