summaryrefslogtreecommitdiff
path: root/unotools/inc/unotools/textsearch.hxx
diff options
context:
space:
mode:
authorOliver Günther <mail@oliverguenther.de>2012-08-09 14:47:19 +0200
committerPhilipp Riemer <ruderphilipp@gmail.com>2012-08-10 21:57:26 +0200
commitbe88027c327b5f09d134f235db100ec54afdc30d (patch)
tree40687f89c0a6c9fa8a686e5f66863618ecfa6c46 /unotools/inc/unotools/textsearch.hxx
parentbb6bd1ff9cd3eecec7eb2cd7bd0a4dcef584c903 (diff)
fdo#39468: Translate German comments in toolkit,unotools, & xmloff
Also checked the following with bin/find-german-comments (all false positives): - sysui - xml2cmp - udm - ucb Change-Id: I2c72f973f5cecf56d70b5419e56338170dd55a2e
Diffstat (limited to 'unotools/inc/unotools/textsearch.hxx')
-rw-r--r--unotools/inc/unotools/textsearch.hxx17
1 files changed, 8 insertions, 9 deletions
diff --git a/unotools/inc/unotools/textsearch.hxx b/unotools/inc/unotools/textsearch.hxx
index 1f955bc3e83c..b070c988b5ee 100644
--- a/unotools/inc/unotools/textsearch.hxx
+++ b/unotools/inc/unotools/textsearch.hxx
@@ -27,7 +27,6 @@
#include <com/sun/star/util/XTextSearch.hpp>
#include <com/sun/star/util/SearchOptions.hpp>
-// Forward-Deklaration
class CharClass;
namespace com {
@@ -45,7 +44,7 @@ namespace utl
{
// ............................................................................
-// SS - Klasse fuers Suchen
+// Utility class for searching
class UNOTOOLS_DLLPUBLIC SearchParam
{
public:
@@ -109,13 +108,13 @@ public:
void SetTransliterationFlags( long nValue ) { nTransliterationFlags = nValue; }
};
-// Klasse zum Suchen eines Strings in einem String.
-// Unterstuetzt werden folgende Verfahren:
-// - normalen Text (Bayer/Moore)
-// - regulaere Ausdruecke
-// - gewichtete Levenshtein Distanz
+// Utility class for searching a substring in a string.
+// The following metrics are supported
+// - ordinary text (Bayer/Moore)
+// - regular expressions
+// - weighted Levenshtein distance
//
-// Es kann Vorwaerts und Rueckwaerts gesucht werden!
+// This class allows forward and backward searching!
class UNOTOOLS_DLLPUBLIC TextSearch
{
@@ -129,7 +128,7 @@ class UNOTOOLS_DLLPUBLIC TextSearch
const ::com::sun::star::lang::Locale& rLocale );
public:
- // rText ist der zusuchende String
+ // rText is the string being searched for
// this first two CTORs are deprecated!
TextSearch( const SearchParam & rPara, LanguageType nLanguage );
TextSearch( const SearchParam & rPara, const CharClass& rCClass );