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 --- idl/source/objects/object.cxx | 4 ++-- idl/source/objects/slot.cxx | 2 +- idl/source/prj/command.cxx | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'idl/source') diff --git a/idl/source/objects/object.cxx b/idl/source/objects/object.cxx index fd77df3a3a16..cdff9c074232 100644 --- a/idl/source/objects/object.cxx +++ b/idl/source/objects/object.cxx @@ -250,7 +250,7 @@ void SvMetaClass::FillClasses( SvMetaClassList & rList ) void SvMetaClass::WriteSlotStubs( const OString& rShellName, SvSlotElementList & rSlotList, - ByteStringList & rList, + std::vector & rList, SvStream & rOutStm ) { // write all attributes @@ -305,7 +305,7 @@ void SvMetaClass::WriteSfx( SvIdlDataBase & rBase, SvStream & rOutStm ) rOutStm << endl; rOutStm.WriteCharPtr( "};" ) << endl << endl; - ByteStringList aStringList; + std::vector aStringList; WriteSlotStubs( GetName(), aSlotList, aStringList, rOutStm ); for ( size_t i = 0, n = aStringList.size(); i < n; ++i ) delete aStringList[ i ]; diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx index 349ed4b0913d..e04edb927e5b 100644 --- a/idl/source/objects/slot.cxx +++ b/idl/source/objects/slot.cxx @@ -354,7 +354,7 @@ static OString MakeSlotName( SvStringHashEntry const * pEntry ) }; void SvMetaSlot::WriteSlotStubs( const OString& rShellName, - ByteStringList & rList, + std::vector & rList, SvStream & rOutStm ) const { if ( !GetExport() && !GetHidden() ) diff --git a/idl/source/prj/command.cxx b/idl/source/prj/command.cxx index 740d384add60..b04892165057 100644 --- a/idl/source/prj/command.cxx +++ b/idl/source/prj/command.cxx @@ -132,7 +132,7 @@ bool ReadIdl( SvIdlWorkingBase * pDataBase, const SvCommand & rCommand ) return true; } -static bool ResponseFile( StringList * pList, int argc, char ** argv ) +static bool ResponseFile( std::vector * pList, int argc, char ** argv ) { // program name pList->push_back( OUString::createFromAscii(*argv) ); @@ -174,7 +174,7 @@ static bool ResponseFile( StringList * pList, int argc, char ** argv ) SvCommand::SvCommand( int argc, char ** argv ) : nVerbosity(1) { - StringList aList; + std::vector aList; if( ResponseFile( &aList, argc, argv ) ) { -- cgit