From 3bd8759f5ed0393b2cc5560cab1b5d4052bd9728 Mon Sep 17 00:00:00 2001 From: Arkadiy Illarionov Date: Sun, 3 Jun 2018 16:00:14 +0300 Subject: tdf#96099 Remove some trivial std::vector typedefs Change-Id: I0e60ec7a3edae42b25ff0917828d0a893ed39a38 Reviewed-on: https://gerrit.libreoffice.org/55245 Tested-by: Jenkins Reviewed-by: Noel Grandin --- helpcompiler/source/HelpCompiler.cxx | 6 +++--- helpcompiler/source/HelpLinker.cxx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'helpcompiler/source') diff --git a/helpcompiler/source/HelpCompiler.cxx b/helpcompiler/source/HelpCompiler.cxx index 2c56ecafc628..1013c8d8e81a 100644 --- a/helpcompiler/source/HelpCompiler.cxx +++ b/helpcompiler/source/HelpCompiler.cxx @@ -246,17 +246,17 @@ public: std::string documentId; std::string fileName; std::string title; - std::unique_ptr hidlist; + std::unique_ptr< std::vector > hidlist; std::unique_ptr keywords; std::unique_ptr helptexts; private: - HashSet extendedHelpText; + std::vector extendedHelpText; public: myparser(const std::string &indocumentId, const std::string &infileName, const std::string &intitle) : documentId(indocumentId), fileName(infileName), title(intitle) { - hidlist.reset(new HashSet); + hidlist.reset(new std::vector); keywords.reset(new Hashtable); helptexts.reset(new Stringtable); } diff --git a/helpcompiler/source/HelpLinker.cxx b/helpcompiler/source/HelpLinker.cxx index 6cce931643d3..c8801b14a947 100644 --- a/helpcompiler/source/HelpLinker.cxx +++ b/helpcompiler/source/HelpLinker.cxx @@ -382,7 +382,7 @@ void HelpLinker::link() // add once this as its own id. addBookmark( pFileDbBase_DBHelp, documentPath, fileB, std::string(), jarfileB, titleB); - const HashSet *hidlist = streamTable.appl_hidlist.get(); + const std::vector *hidlist = streamTable.appl_hidlist.get(); if (hidlist && !hidlist->empty()) { // now iterate over all elements of the hidlist -- cgit