summaryrefslogtreecommitdiff
path: root/svl/source/misc
diff options
context:
space:
mode:
authorPhilipp Weissenbacher <p.weissenbacher@gmail.com>2014-07-25 15:41:58 +0200
committerEike Rathke <erack@redhat.com>2014-07-25 17:10:49 +0000
commita120f1da67083a5d95b304833996b06c1a737f13 (patch)
tree165298ab9d5732595d1f99cb35068b083ed4c19e /svl/source/misc
parent8a690c88a92c7e92c702cedf96851ae1eb929379 (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')
-rw-r--r--svl/source/misc/inettype.cxx2
-rw-r--r--svl/source/misc/ownlist.cxx42
2 files changed, 19 insertions, 25 deletions
diff --git a/svl/source/misc/inettype.cxx b/svl/source/misc/inettype.cxx
index 074889c05cd2..58d054c9634d 100644
--- a/svl/source/misc/inettype.cxx
+++ b/svl/source/misc/inettype.cxx
@@ -244,7 +244,7 @@ sal_uInt16 const aStaticResourceIDMap[CONTENT_TYPE_LAST + 1]
STR_SVT_MIMETYPE_APP_PDF, // CONTENT_TYPE_APP_PDF
STR_SVT_MIMETYPE_APP_RTF, // CONTENT_TYPE_APP_RTF
STR_SVT_MIMETYPE_APP_MSWORD, // CONTENT_TYPE_APP_MSWORD
- STR_SVT_MIMETYPE_APP_MSWORD, // CONTENT_TYPE_APP_MSWORD_TEMPL //@todo new presentation string?
+ STR_SVT_MIMETYPE_APP_MSWORD, // CONTENT_TYPE_APP_MSWORD_TEMPL //TODO: new presentation string?
STR_SVT_MIMETYPE_APP_STARCALC, // CONTENT_TYPE_APP_STARCALC
STR_SVT_MIMETYPE_APP_STARCHART, // CONTENT_TYPE_APP_STARCHART
STR_SVT_MIMETYPE_APP_STARDRAW, // CONTENT_TYPE_APP_STARDRAW
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();