diff options
Diffstat (limited to 'vcl/source/edit/textdata.cxx')
-rw-r--r-- | vcl/source/edit/textdata.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/edit/textdata.cxx b/vcl/source/edit/textdata.cxx index 841e5cc78433..570d517b12d7 100644 --- a/vcl/source/edit/textdata.cxx +++ b/vcl/source/edit/textdata.cxx @@ -283,12 +283,12 @@ TEIMEInfos::~TEIMEInfos() delete[] pAttribs; } -void TEIMEInfos::CopyAttribs(const sal_uInt16* pA, sal_Int32 nL) +void TEIMEInfos::CopyAttribs(const ExtTextInputAttr* pA, sal_Int32 nL) { nLen = nL; delete[] pAttribs; - pAttribs = new sal_uInt16[ nL ]; - memcpy( pAttribs, pA, nL*sizeof(sal_uInt16) ); + pAttribs = new ExtTextInputAttr[ nL ]; + memcpy( pAttribs, pA, nL*sizeof(ExtTextInputAttr) ); } void TEIMEInfos::DestroyAttribs() |