diff options
author | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2015-02-21 19:48:33 +0100 |
---|---|---|
committer | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2015-02-22 11:59:20 +0100 |
commit | ab00ac3e88e0a28d0e38c5968c23014a6a8fb194 (patch) | |
tree | c41f00f24704ec0fe48ef87c8440f67662c9fb44 /include | |
parent | 282161ff755c52cfc9f4ddf9fb0b139362b19522 (diff) |
More improvements of graphic cache size handling
* ImplFillSwappedGraphicObject method is part of
the old caching mechanism which interferes with
the newer one, so remove this method.
* Use Graphic size directly becuase in some case
it does not match with the GraphicObject's
size.
* Assertions to avoid underflow of mnUsedSize
Change-Id: I3381f49ca05e3e5d565848c8af24c78e7b9ac3af
Diffstat (limited to 'include')
-rw-r--r-- | include/svtools/grfmgr.hxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx index 42d9a708edb3..7e507506dc62 100644 --- a/include/svtools/grfmgr.hxx +++ b/include/svtools/grfmgr.hxx @@ -592,10 +592,6 @@ private: // Only used in swap case by GraphicObject void SVT_DLLPRIVATE ImplGraphicObjectWasSwappedOut( const GraphicObject& rObj ); - bool SVT_DLLPRIVATE ImplFillSwappedGraphicObject( - const GraphicObject& rObj, - Graphic& rSubstitute - ); void SVT_DLLPRIVATE ImplGraphicObjectWasSwappedIn( const GraphicObject& rObj ); OString SVT_DLLPRIVATE ImplGetUniqueID( const GraphicObject& rObj ) const; |