diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/output2.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx index 8a727f5b7f6c..6c44bf34cc58 100644 --- a/sc/source/ui/view/output2.cxx +++ b/sc/source/ui/view/output2.cxx @@ -507,6 +507,9 @@ bool ScDrawStringsVars::SetText( ScRefCellValue& rCell ) nChar = aString[ nPos + 1 ]; // delete placeholder and char to repeat aString = aString.replaceAt( nPos, 2, "" ); + // Do not cache/reuse a repeat-filled string, column widths + // or fonts or sizes may differ. + maLastCell.clear(); } } else |