diff options
Diffstat (limited to 'svl/source/misc/ownlist.cxx')
-rw-r--r-- | svl/source/misc/ownlist.cxx | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/svl/source/misc/ownlist.cxx b/svl/source/misc/ownlist.cxx index 48e375094b9d..51f0707ca256 100644 --- a/svl/source/misc/ownlist.cxx +++ b/svl/source/misc/ownlist.cxx @@ -115,36 +115,6 @@ sal_Bool SvCommandList::AppendCommands } //========================================================================= -String SvCommandList::GetCommands() const -/* [Beschreibung] - - Die Kommandos in der Liste werden als Text hintereinander, durch ein - Leerzeichen getrennt geschrieben. Der Text muss nicht genauso - aussehen wie der in <SvCommandList::AppendCommands()> "ubergebene. - - [R"uckgabewert] - - String Die Kommandos werden zur"uckgegeben. -*/ -{ - String aRet; - for( sal_uLong i = 0; i < aCommandList.size(); i++ ) - { - if( i != 0 ) - aRet += ' '; - SvCommand aCmd = aCommandList[ i ]; - aRet += aCmd.GetCommand(); - if( aCmd.GetArgument().Len() ) - { - aRet.AppendAscii( RTL_CONSTASCII_STRINGPARAM( "=\"" ) ); - aRet += aCmd.GetArgument(); - aRet.AppendAscii( RTL_CONSTASCII_STRINGPARAM( "\"" ) ); - } - } - return aRet; -} - -//========================================================================= SvCommand & SvCommandList::Append ( const String & rCommand, /* das Kommando */ |