summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorPhilipp Riemer <ruderphilipp@gmail.com>2013-08-31 17:50:25 +0200
committerPhilipp Riemer <ruderphilipp@gmail.com>2013-08-31 22:41:10 +0200
commitbf42b6f9f51b4bc66e267ae24c87ac79122825cc (patch)
tree449f642fc53e3d654ae36a39877efc41a8b74fcc /i18npool
parent3f84d81412f123bda0dde57c4e52abe9f49f58af (diff)
fdo#62475 - remove visual noise
This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I102685391125f3b4f7bdf838f8bd17a2283d558d
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/transliteration/transliteration_body.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/i18npool/source/transliteration/transliteration_body.cxx b/i18npool/source/transliteration/transliteration_body.cxx
index 0ab4f0b11250..1c3e4d8ea063 100644
--- a/i18npool/source/transliteration/transliteration_body.cxx
+++ b/i18npool/source/transliteration/transliteration_body.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <rtl/ustrbuf.hxx>
#include <i18nutil/casefolding.hxx>
#include <i18nutil/unicode.hxx>
@@ -40,7 +39,6 @@ using namespace ::rtl;
namespace com { namespace sun { namespace star { namespace i18n {
-
Transliteration_body::Transliteration_body()
{
nMappingType = 0;
@@ -71,7 +69,6 @@ Transliteration_body::transliterateRange( const OUString& str1, const OUString&
return ostr;
}
-
static sal_uInt8 lcl_getMappingTypeForToggleCase( sal_uInt8 nMappingType, sal_Unicode cChar )
{
sal_uInt8 nRes = nMappingType;
@@ -94,14 +91,12 @@ static sal_uInt8 lcl_getMappingTypeForToggleCase( sal_uInt8 nMappingType, sal_Un
return nRes;
}
-
OUString SAL_CALL
Transliteration_body::transliterate(
const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount,
Sequence< sal_Int32 >& offset)
throw(RuntimeException)
{
-
const sal_Unicode *in = inStr.getStr() + startPos;
// Two different blocks to eliminate the if(useOffset) condition inside the
@@ -314,7 +309,6 @@ static OUString transliterate_titlecase_Impl(
return aRes;
}
-
// this function expects to be called on a word-by-word basis,
// namely that startPos points to the first char of the word
OUString SAL_CALL Transliteration_titlecase::transliterate(
@@ -325,7 +319,6 @@ OUString SAL_CALL Transliteration_titlecase::transliterate(
return transliterate_titlecase_Impl( inStr, startPos, nCount, aLocale, offset );
}
-
Transliteration_sentencecase::Transliteration_sentencecase()
{
nMappingType = MappingTypeToTitle; // though only to be applied to the first word...
@@ -333,7 +326,6 @@ Transliteration_sentencecase::Transliteration_sentencecase()
implementationName = "com.sun.star.i18n.Transliteration.Transliteration_sentencecase";
}
-
// this function expects to be called on a sentence-by-sentence basis,
// namely that startPos points to the first word (NOT first char!) in the sentence
OUString SAL_CALL Transliteration_sentencecase::transliterate(
@@ -344,7 +336,6 @@ OUString SAL_CALL Transliteration_sentencecase::transliterate(
return transliterate_titlecase_Impl( inStr, startPos, nCount, aLocale, offset );
}
-
} } } }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */