diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2017-01-07 19:40:36 -0500 |
---|---|---|
committer | Kohei Yoshida <libreoffice@kohei.us> | 2017-01-08 01:48:35 +0000 |
commit | 4f24613db3fb36d9d7c97026b93819d457754d46 (patch) | |
tree | b67b387348ce45c2615f365199e955f6a8a5d9df /package/inc/HashMaps.hxx | |
parent | 7c117c508c1eaa5c930481fb82c21fee6d71af0c (diff) |
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 <ci@libreoffice.org>
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Diffstat (limited to 'package/inc/HashMaps.hxx')
-rw-r--r-- | package/inc/HashMaps.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
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 <rtl/ref.hxx> #include <unordered_map> +#include <memory> + 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<ZipContentInfo>, OUStringHash, eqFunc > ContentHash; |