Kaydet (Commit) 669a80a9 authored tarafından Caolán McNamara's avatar Caolán McNamara

if its empty don't set it to empty string

Change-Id: I14e2461141332677c029877f6ab082b6f5dd2010
Reviewed-on: https://gerrit.libreoffice.org/60524
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 74f4b03d
...@@ -1610,9 +1610,6 @@ void FontPrevWindow::Paint(vcl::RenderContext& rRenderContext, const tools::Rect ...@@ -1610,9 +1610,6 @@ void FontPrevWindow::Paint(vcl::RenderContext& rRenderContext, const tools::Rect
} }
} }
if (pImpl->maText.isEmpty())
pImpl->maText = OUString();
if (pImpl->maText.isEmpty()) if (pImpl->maText.isEmpty())
{ // fdo#58427: still no text? let's try that one... { // fdo#58427: still no text? let's try that one...
pImpl->maText = makeRepresentativeTextForFont(LATIN, rFont); pImpl->maText = makeRepresentativeTextForFont(LATIN, rFont);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment