[Libreoffice-commits] core.git: editeng/source
Caolán McNamara
caolanm at redhat.com
Sat Oct 19 12:19:08 PDT 2013
editeng/source/editeng/editobj.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit eb007bb6d8d8b97941260784c3a8469c0800d3d3
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Oct 19 20:16:53 2013 +0100
Make copy and pasting non-ascii text from editengine work again
regression since 80df5277585d69be5c3d5f32184db94831113f95
Change-Id: Ifcd8f97fdeb078be1884cfbd7175ab15ac30b23d
diff --git a/editeng/source/editeng/editobj.cxx b/editeng/source/editeng/editobj.cxx
index 06cbbe2..e85448e 100644
--- a/editeng/source/editeng/editobj.cxx
+++ b/editeng/source/editeng/editobj.cxx
@@ -1511,7 +1511,7 @@ void EditTextObjectImpl::CreateData( SvStream& rIStream )
{
rtl_uString *pStr = rtl_uString_alloc(nL);
rIStream.Read(pStr->buffer, nL*sizeof(sal_Unicode));
- rC.GetText() = OUString(pStr, SAL_NO_ACQUIRE);
+ rC.SetText((OUString(pStr, SAL_NO_ACQUIRE)));
}
// StyleSheetName
More information about the Libreoffice-commits
mailing list