diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-07-12 15:14:48 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-07-14 16:20:33 +0200 |
commit | c96e3e226fe4eb8f25c54cce4d653d12eda63ce2 (patch) | |
tree | b17f825f5b359c81e7344404e187d6fbfd9ad5e4 /include/svx | |
parent | b3992ddcd13082a934246b717ae22f57394e6533 (diff) |
svx: make SdrGrafObj::mpReplacementGraphic swappable
These GraphicObjects clog up the GraphicManager cache so it's
effectively useless.
Round-tripping the ML bugdoc, this doesn't provide much of a
speed-up by itself, but together with the previous fix it goes from
3:00 to 1:30 (in an optimized build).
Change-Id: If52e176c790b94ffef9984be53376a34345b06e3
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/svdograf.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/svx/svdograf.hxx b/include/svx/svdograf.hxx index dcf170099ea4..e86673b74899 100644 --- a/include/svx/svdograf.hxx +++ b/include/svx/svdograf.hxx @@ -112,6 +112,7 @@ private: bool ImpUpdateGraphicLink( bool bAsynchron = true ) const; void ImpSetLinkedGraphic( const Graphic& rGraphic ); DECL_LINK( ImpSwapHdl, const GraphicObject*, SvStream* ); + DECL_LINK( ReplacementSwapHdl, const GraphicObject*, SvStream* ); void onGraphicChanged(); GDIMetaFile GetMetaFile(GraphicType &rGraphicType) const; |