summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/svxfont.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/items/svxfont.cxx b/editeng/source/items/svxfont.cxx
index b57449f3c359..ef6197f85778 100644
--- a/editeng/source/items/svxfont.cxx
+++ b/editeng/source/items/svxfont.cxx
@@ -441,7 +441,7 @@ Size SvxFont::GetPhysTxtSize( const OutputDevice *pOut, const OUString &rTxt,
if( IsFixKerning() && ( nLen > 1 ) )
{
auto nKern = GetFixKerning();
- KernArray aDXArray(nLen);
+ KernArray aDXArray;
GetTextArray(pOut, rTxt, &aDXArray, nIdx, nLen);
tools::Long nOldValue = aDXArray[0];
sal_Int32 nSpaceCount = 0;