diff options
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/databases.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/databases.cxx b/xmlhelp/source/cxxhelp/provider/databases.cxx index 1c263ec7c306..4546d3b950de 100644 --- a/xmlhelp/source/cxxhelp/provider/databases.cxx +++ b/xmlhelp/source/cxxhelp/provider/databases.cxx @@ -621,7 +621,7 @@ void KeywordInfo::KeywordElement::init( Databases const *pDatabases,helpdatafile else { id.push_back( ids.copy( k, idx-k ) ); - anchor.push_back( OUString() ); + anchor.emplace_back( ); } } @@ -768,10 +768,10 @@ KeywordInfo* Databases::getKeyword( const OUString& Database, if( !bBelongsToDatabase ) continue; - aVector.push_back( KeywordInfo::KeywordElement( this, + aVector.emplace_back( this, pHdf, keyword, - doclist ) ); + doclist ); } aHdf.stopIteration(); |