summaryrefslogtreecommitdiff
path: root/include/filter
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2018-03-15 09:45:52 +0900
committerTomaž Vajngerl <quikee@gmail.com>2018-03-15 03:02:57 +0100
commit531036fa296b6bfca5ec93c4d7ef1264dc6e7b65 (patch)
tree725c03d3f25ff05e8126cdd3c8d6b652c8bd81bc /include/filter
parent043273e721ade64e4fb42f969cf22b4202c6b80d (diff)
change EscherBlipCache to cache Graphic and not GObject uniqueID
In addition change from map to unordered_map. Change-Id: Ief33d6ebd7e42606ab20fcf9fc91020b1ef9aab6 Reviewed-on: https://gerrit.libreoffice.org/51306 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/filter')
-rw-r--r--include/filter/msfilter/msdffimp.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/filter/msfilter/msdffimp.hxx b/include/filter/msfilter/msdffimp.hxx
index aafb47b3bc88..ba8e6897492d 100644
--- a/include/filter/msfilter/msdffimp.hxx
+++ b/include/filter/msfilter/msdffimp.hxx
@@ -26,6 +26,7 @@
#include <set>
#include <utility>
#include <vector>
+#include <unordered_map>
#include <boost/optional.hpp>
#include <com/sun/star/uno/Any.hxx>
@@ -529,7 +530,7 @@ protected:
public:
std::unique_ptr<DffPropertyReader> pSecPropSet;
- std::map<sal_uInt32,OString> aEscherBlipCache;
+ std::unordered_map<sal_uInt32, Graphic> aEscherBlipCache;
DffRecordManager maShapeRecords;
Color mnDefaultColor;