summaryrefslogtreecommitdiff
path: root/unodevtools/source
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2023-12-22 09:51:05 +0100
committerStephan Bergmann <stephan.bergmann@allotropia.de>2023-12-22 11:17:45 +0100
commitfdc1a42db0423e36bd512c7048a0be1fdd09f611 (patch)
treedff66f73748d5f0602b7e54190472df6eada99f8 /unodevtools/source
parentf557e22a675164a1b9b0286a263a81d634959733 (diff)
Don't use boost in code generated by uno-skeletonmaker
This had originally used a non-standard std::hash_map in db4b02eea5b81b7be05fa8b1f18c9f423302a977 "INTEGRATION: CWS jsc3 (1.4.2); FILE MERGED", then switched to boost::unordered_map in 639825975e7657c7b3f4eeef208112780e71e545 "move sdk repo to boost unordered containters". (And Executable_uno-skeletonmaker doesn't need boost during the build at all, so clean that up here, too.) Change-Id: I80661d70a54ec5d69b8f124c12d5cb0d6f369887 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161147 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'unodevtools/source')
-rw-r--r--unodevtools/source/skeletonmaker/cppcompskeleton.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx
index 8fbb96c19452..0942d7cde694 100644
--- a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx
+++ b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx
@@ -689,10 +689,10 @@ static OString generateClassDefinition(std::ostream& o,
" virtual ~" << classname << "() {}\n\n";
if (options.componenttype == 2) {
- o << " typedef boost::unordered_map< ::sal_Int32, OUString, "
- "boost::hash<::sal_Int32> > ParamMap;\n"
- " typedef boost::unordered_map< OUString, ParamMap, "
- "OUStringHash > FunctionMap;\n\n"
+ o << " typedef std::map< ::sal_Int32, OUString "
+ "> ParamMap;\n"
+ " typedef std::map< OUString, ParamMap "
+ "> FunctionMap;\n\n"
" OUString SAL_CALL getAddinProperty(const OUString & "
"funcName, const OUString & paramName, const char * propName) "
"throw (css::uno::RuntimeException);\n\n";
@@ -1146,7 +1146,7 @@ void generateCalcAddin(ProgramOptions const & options,
"#include \"com/sun/star/container/XNameAccess.hpp\"\n"
"#include \"com/sun/star/container/XHierarchicalNameAccess.hpp\"\n\n"
"#include \"rtl/ustrbuf.hxx\"\n\n"
- "#include <boost/unordered_map.hpp>\n"
+ "#include <map>\n"
"#include <set>\n";
// namespace