summaryrefslogtreecommitdiff
path: root/vcl/inc/impgraph.hxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2024-03-23 22:56:53 +0900
committerTomaž Vajngerl <quikee@gmail.com>2024-06-27 16:07:20 +0200
commit374a76adc567ad9fe4fa09099f7038c0f388a28e (patch)
treeefa4f00a0ede1a67eeee4404a60a47a0b2d789c4 /vcl/inc/impgraph.hxx
parent0acac1a2741d47b98ae600800e2db0e7a5fb3efe (diff)
vcl: Remove graph. reader context from {Imp}Graph and GraphicReader
This removes the mpContext member variable from ImpGraph, which also make {Get,Set}ReaderContext on Graphic obsolete and is also removed. GraphicFilter and other code is adjusted and simplified. Change-Id: Icd1927d7b1bd4624b523d0f49a4343911ec6cd0a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165214 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/inc/impgraph.hxx')
-rw-r--r--vcl/inc/impgraph.hxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/vcl/inc/impgraph.hxx b/vcl/inc/impgraph.hxx
index fd6446e1972a..e15845c9d99a 100644
--- a/vcl/inc/impgraph.hxx
+++ b/vcl/inc/impgraph.hxx
@@ -70,7 +70,6 @@ private:
Size maExPrefSize;
ImpSwapInfo maSwapInfo;
std::unique_ptr<Animation> mpAnimation;
- std::shared_ptr<GraphicReader> mpContext;
std::shared_ptr<ImpSwapFile> mpSwapFile;
std::shared_ptr<GfxLink> mpGfxLink;
std::shared_ptr<VectorGraphicData> maVectorGraphicData;
@@ -189,8 +188,6 @@ private:
bool swapOutGraphic(SvStream& rStream);
// end swapping
- std::shared_ptr<GraphicReader>& getContext() { return mpContext;}
- void setContext( const std::shared_ptr<GraphicReader>& pReader );
void setDummyContext( bool value ) { mbDummyContext = value; }
bool isDummyContext() const { return mbDummyContext; }
void setGfxLink( const std::shared_ptr<GfxLink>& );