diff options
author | Arkadiy Illarionov <qarkai@gmail.com> | 2018-06-11 13:14:07 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-06-12 07:35:25 +0200 |
commit | 51aa57cd8ed46d28262e0d315328231f0fa814f4 (patch) | |
tree | a1b850e365eea2a80307e59febe3b20272e14d97 /package/source/xstor/ohierarchyholder.hxx | |
parent | f9e9012e75afe4418f4ebe652fa99a1fa2348a71 (diff) |
tdf#96099 Remove some trivial std::vector typedefs
Cleanup package, reportdesign, sal.
Change-Id: I8622465886f7ec97700b00740ea37d40767ec98e
Reviewed-on: https://gerrit.libreoffice.org/55616
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'package/source/xstor/ohierarchyholder.hxx')
-rw-r--r-- | package/source/xstor/ohierarchyholder.hxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/package/source/xstor/ohierarchyholder.hxx b/package/source/xstor/ohierarchyholder.hxx index 3d18c8d407da..317a4d9b329c 100644 --- a/package/source/xstor/ohierarchyholder.hxx +++ b/package/source/xstor/ohierarchyholder.hxx @@ -38,7 +38,6 @@ struct OHierarchyElement_Impl; typedef std::unordered_map< OUString, ::rtl::Reference< OHierarchyElement_Impl > > OHierarchyElementList_Impl; -typedef ::std::vector< OUString > OStringList_Impl; typedef ::std::list< css::uno::WeakReference< css::embed::XExtendedStorageStream > > OWeakStorRefList_Impl; @@ -75,11 +74,11 @@ public: css::uno::Reference< css::embed::XExtendedStorageStream > GetStreamHierarchically( sal_Int32 nStorageMode, - OStringList_Impl& aPath, + std::vector<OUString>& aPath, sal_Int32 nStreamMode, const ::comphelper::SequenceAsHashMap& aEncryptionData ); - void RemoveStreamHierarchically( OStringList_Impl& aListPath ); + void RemoveStreamHierarchically( std::vector<OUString>& aListPath ); // XEventListener virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override; @@ -102,15 +101,15 @@ public: , m_xChild( new OHierarchyElement_Impl( css::uno::WeakReference< css::embed::XStorage >( xOwnStorage ) ) ) {} - static OStringList_Impl GetListPathFromString( const OUString& aPath ); + static std::vector<OUString> GetListPathFromString( const OUString& aPath ); css::uno::Reference< css::embed::XExtendedStorageStream > GetStreamHierarchically( sal_Int32 nStorageMode, - OStringList_Impl& aListPath, + std::vector<OUString>& aListPath, sal_Int32 nStreamMode, const ::comphelper::SequenceAsHashMap& aEncryptionData = ::comphelper::SequenceAsHashMap() ); - void RemoveStreamHierarchically( OStringList_Impl& aListPath ); + void RemoveStreamHierarchically( std::vector<OUString>& aListPath ); }; #endif // _OHIERARCHYHOLDER |