diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-12-06 19:47:37 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-12-06 21:20:22 +0100 |
commit | 1050dfbf7daac2f2a4a8580c622447b55b147d57 (patch) | |
tree | 158d38d2f708ec8b5b26358cd90a28ec6218afe1 /sw/README | |
parent | 477e26b9ab681460823f7af042713e28f043cacb (diff) |
fdo#71714: sw: fix small capitals rendering
So f22006dc6ac34a35a060e15466cf6b2d2058617d changed the SwDrawTextInfo
to contain not a pointer but an actual OUString, and then
d908422f5763ed8ea79af81336ca564f46435baf changes
SwSubFont::DoOnCapitals() thus:
- const XubString& rOldText = rDo.GetInf().GetText();
+ const OUString& rOldText = rDo.GetInf().GetText();
rDo.GetInf().SetText( aTxt );
That used to _copy_ the string, but now it just references the
member, and so the SetText(aTxt) below overwrites rOldText.
Change-Id: I06d7ee7084c15d88b3e748ef18877b62e79bdd0e
Diffstat (limited to 'sw/README')
0 files changed, 0 insertions, 0 deletions