From 4f24613db3fb36d9d7c97026b93819d457754d46 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Sat, 7 Jan 2017 19:40:36 -0500 Subject: Rename css::packages::ContentInfo to just ZipContentInfo. And use std::unique_ptr not rtl::Reference. This is not a UNO object anyway... Change-Id: If43da4f7e0f478b9ad8d62e5f43f04f035c31717 Reviewed-on: https://gerrit.libreoffice.org/32828 Tested-by: Jenkins Reviewed-by: Kohei Yoshida --- package/inc/HashMaps.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'package/inc/HashMaps.hxx') diff --git a/package/inc/HashMaps.hxx b/package/inc/HashMaps.hxx index f3d0c65a6bb7..e83a9483524f 100644 --- a/package/inc/HashMaps.hxx +++ b/package/inc/HashMaps.hxx @@ -23,6 +23,8 @@ #include #include +#include + struct eqFunc { bool operator()( const OUString &r1, @@ -33,9 +35,7 @@ struct eqFunc }; class ZipPackageFolder; -namespace com { namespace sun { namespace star { namespace packages { -class ContentInfo; -} } } } +struct ZipContentInfo; typedef std::unordered_map < OUString, ZipPackageFolder *, @@ -43,7 +43,7 @@ typedef std::unordered_map < OUString, eqFunc > FolderHash; typedef std::unordered_map < OUString, - rtl::Reference < css::packages::ContentInfo >, + std::unique_ptr, OUStringHash, eqFunc > ContentHash; -- cgit