summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
Diffstat (limited to 'forms')
-rw-r--r--forms/source/xforms/convert.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/xforms/convert.cxx b/forms/source/xforms/convert.cxx
index 4fa42509be2e..327025b3630c 100644
--- a/forms/source/xforms/convert.cxx
+++ b/forms/source/xforms/convert.cxx
@@ -592,7 +592,7 @@ Convert::Any_t Convert::toAny( const rtl::OUString& rValue,
if( c == sal_Unicode(0x08) ||
c == sal_Unicode(0x0A) ||
c == sal_Unicode(0x0D) )
- aBuffer.setCharAt( i, sal_Unicode(0x20) );
+ aBuffer[i] = sal_Unicode(0x20);
}
return aBuffer.makeStringAndClear();
}