diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-07-13 15:35:42 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-07-13 15:35:42 +0200 |
commit | 05a0aaa25efc53c4cfa8a955dbf96bbb63b8bc98 (patch) | |
tree | d2e2370728414175ff7a0c51496d60fd3136925c /l10ntools | |
parent | 91404d1d379fbdc3b1c7286dafd2519b68b08c97 (diff) |
fdo#51954: More tools->rtl string conversion regressions
Change-Id: If9c5b0a0876540e9546617faaa5dcb4ae1e5a2cb
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/gsicheck.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/l10ntools/source/gsicheck.cxx b/l10ntools/source/gsicheck.cxx index 98e4b310f01b..b2981a305513 100644 --- a/l10ntools/source/gsicheck.cxx +++ b/l10ntools/source/gsicheck.cxx @@ -479,7 +479,7 @@ sal_Bool GSIBlock::HasSuspiciousChars( GSILine* pTestee, GSILine* pSource ) rtl::OStringToOUString( pTestee->GetText().copy(0, nPos), RTL_TEXTENCODING_UTF8)); sal_Int32 nErrorPos = aUTF8Tester.getLength(); - rtl::OString aContext( pTestee->GetText().copy( nPos, 20 ) ); + rtl::OString aContext( helper::abbreviate( pTestee->GetText(), nPos, 20 ) ); PrintError(rtl::OStringBuffer(RTL_CONSTASCII_STRINGPARAM("Found double questionmark in translation only. Looks like an encoding problem at Position ")) .append(nErrorPos).getStr(), "Text format", aContext, pTestee->GetLineNumber(), pTestee->GetUniqId()); |