diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-12-22 09:05:10 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-12-22 09:07:48 +0000 |
commit | 9d97f5e8ab1670e5d496cf4bb3fe5494341c581e (patch) | |
tree | bc9971c708efc8747dd5bff47a233cd8061e5114 /svl | |
parent | a5c153bf83eb0e8878ffa2f5905e75b1216b8954 (diff) |
callcatcher: newly unused code
Diffstat (limited to 'svl')
-rw-r--r-- | svl/inc/svl/ownlist.hxx | 1 | ||||
-rw-r--r-- | svl/source/misc/ownlist.cxx | 30 |
2 files changed, 0 insertions, 31 deletions
diff --git a/svl/inc/svl/ownlist.hxx b/svl/inc/svl/ownlist.hxx index ea1fc3842f4d..f0fd246d1df2 100644 --- a/svl/inc/svl/ownlist.hxx +++ b/svl/inc/svl/ownlist.hxx @@ -80,7 +80,6 @@ private: public: SvCommand& Append( const String & rCommand, const String & rArg ); sal_Bool AppendCommands( const String & rCmd, sal_uInt16 * pEaten ); - String GetCommands() const; sal_Bool FillFromSequence( const com::sun::star::uno::Sequence < com::sun::star::beans::PropertyValue >& ); void FillSequence( com::sun::star::uno::Sequence < com::sun::star::beans::PropertyValue >& ); 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 */ |