summaryrefslogtreecommitdiff
path: root/idl/source
diff options
context:
space:
mode:
authorArkadiy Illarionov <qarkai@gmail.com>2018-06-03 16:00:14 +0300
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-06-11 08:57:06 +0200
commit3bd8759f5ed0393b2cc5560cab1b5d4052bd9728 (patch)
treed48d1325fff62b343fe2d9a0f609f97316485d51 /idl/source
parenta901e48579e203a28cc0871ceed0356ae6a5798b (diff)
tdf#96099 Remove some trivial std::vector typedefs
Change-Id: I0e60ec7a3edae42b25ff0917828d0a893ed39a38 Reviewed-on: https://gerrit.libreoffice.org/55245 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idl/source')
-rw-r--r--idl/source/objects/object.cxx4
-rw-r--r--idl/source/objects/slot.cxx2
-rw-r--r--idl/source/prj/command.cxx4
3 files changed, 5 insertions, 5 deletions
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<OString*> & 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<OString*> 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<OString*> & 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<OUString> * 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<OUString> aList;
if( ResponseFile( &aList, argc, argv ) )
{