diff options
author | Philipp Weissenbacher <p.weissenbacher@gmail.com> | 2014-07-25 15:41:58 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-07-25 17:10:49 +0000 |
commit | a120f1da67083a5d95b304833996b06c1a737f13 (patch) | |
tree | 165298ab9d5732595d1f99cb35068b083ed4c19e /svl/source/misc/ownlist.cxx | |
parent | 8a690c88a92c7e92c702cedf96851ae1eb929379 (diff) |
fdo#39468 Make svl/ German comment clean
I went through all files manually and checked with the tool.
Change-Id: I2eba5e61a0814dd88d7c2c001cd85db8032f1b9f
Reviewed-on: https://gerrit.libreoffice.org/10545
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'svl/source/misc/ownlist.cxx')
-rw-r--r-- | svl/source/misc/ownlist.cxx | 42 |
1 files changed, 18 insertions, 24 deletions
diff --git a/svl/source/misc/ownlist.cxx b/svl/source/misc/ownlist.cxx index 2fae35cda205..16d63a5fe010 100644 --- a/svl/source/misc/ownlist.cxx +++ b/svl/source/misc/ownlist.cxx @@ -61,22 +61,19 @@ static void eatSpace(const OUString & rCmd, sal_Int32 * pIndex) (*pIndex) ++; } - +/** + * Text is parsed and the single commands are added to the list. + * + * @returns bool true + * The text was correctly parsed + false + The text was not parsed correctly +*/ bool SvCommandList::AppendCommands ( - const OUString & rCmd, /* Dieser Text wird in Kommandos umgesetzt */ - sal_Int32 * pEaten /* Anzahl der Zeichen, die gelesen wurden */ + const OUString & rCmd, /* This text is translated to commands */ + sal_Int32 * pEaten /* Count of chars that have been read */ ) -/* [Beschreibung] - - Es wird eine Text geparsed und die einzelnen Kommandos werden an - die Liste angeh"angt. - - [R"uckgabewert] - - bool true, der Text wurde korrekt geparsed. - false, der Text wurde nicht korrekt geparsed. -*/ { sal_Int32 index = 0; while(index < rCmd.getLength()) @@ -103,20 +100,17 @@ bool SvCommandList::AppendCommands return true; } +/** + * An object of the type SvCommand is created and the list is + * attached. + * + * @returns SvCommand & The created object +*/ SvCommand & SvCommandList::Append ( - const OUString & rCommand, /* das Kommando */ - const OUString & rArg /* dasArgument des Kommandos */ + const OUString & rCommand, /* The command */ + const OUString & rArg /* The command's argument */ ) -/* [Beschreibung] - - Es wird eine Objekt vom Typ SvCommand erzeugt und an die Liste - angeh"angt. - - [R"uckgabewert] - - SvCommand & Das erteugte Objekt wird zur"uckgegeben. -*/ { aCommandList.push_back( SvCommand( rCommand, rArg ) ); return aCommandList.back(); |