diff options
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/Edit.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/Edit.cxx b/forms/source/component/Edit.cxx index f82a8479e4bd..32d90aa7d87c 100644 --- a/forms/source/component/Edit.cxx +++ b/forms/source/component/Edit.cxx @@ -680,7 +680,7 @@ Any OEditModel::translateDbColumnToControlValue() if ( nMaxTextLen && sValue.getLength() > nMaxTextLen ) { sal_Int32 nDiff = sValue.getLength() - nMaxTextLen; - sValue = sValue.replaceAt( nMaxTextLen, nDiff, OUString() ); + sValue = sValue.replaceAt( nMaxTextLen, nDiff, u"" ); } aRet <<= sValue; |