diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-01-13 19:13:00 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-01-13 22:53:50 +0100 |
commit | 0cfb4aa2623b1606bbc66ef16256315778143227 (patch) | |
tree | 5ef4a223848af74e7a4e22996174f7aedfc43d71 /xmlhelp | |
parent | d3963918544888608da149c3f0206d7a96828361 (diff) |
cid#1546354 COPY_INSTEAD_OF_MOVE
and
cid#1546319 COPY_INSTEAD_OF_MOVE
cid#1546286 COPY_INSTEAD_OF_MOVE
cid#1546283 COPY_INSTEAD_OF_MOVE
cid#1546191 COPY_INSTEAD_OF_MOVE
cid#1545953 COPY_INSTEAD_OF_MOVE
cid#1545874 COPY_INSTEAD_OF_MOVE
cid#1545857 COPY_INSTEAD_OF_MOVE
cid#1545781 COPY_INSTEAD_OF_MOVE
cid#1545765 COPY_INSTEAD_OF_MOVE
cid#1545546 COPY_INSTEAD_OF_MOVE
cid#1545338 COPY_INSTEAD_OF_MOVE
cid#1545190 COPY_INSTEAD_OF_MOVE
cid#1545272 COPY_INSTEAD_OF_MOVE
cid#1545242 COPY_INSTEAD_OF_MOVE
cid#1545229 COPY_INSTEAD_OF_MOVE
Change-Id: I88813d9dbd87ce10375db8198028f8b70e23f0fa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162027
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/databases.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/databases.cxx b/xmlhelp/source/cxxhelp/provider/databases.cxx index 1969c1d3908c..cc05fb69ea29 100644 --- a/xmlhelp/source/cxxhelp/provider/databases.cxx +++ b/xmlhelp/source/cxxhelp/provider/databases.cxx @@ -789,8 +789,7 @@ KeywordInfo* Databases::getKeyword( const OUString& Database, // sorting Reference<XCollator> xCollator = getCollator(aGuard, Language); - KeywordElementComparator aComparator( xCollator ); - std::sort(aVector.begin(),aVector.end(),aComparator); + std::sort(aVector.begin(), aVector.end(), KeywordElementComparator(xCollator)); it->second.reset(new KeywordInfo( aVector )); } |