summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-09-15 13:40:27 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-09-15 16:16:27 +0200
commit669a80a9776774e382b66889e2694927069125ff (patch)
tree22207dc64f1b7186cf05855d5931755f566c47cb /svx
parent74f4b03df17b3d194b2345c8d0b7779e6c6bd4ef (diff)
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: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/fntctrl.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/svx/source/dialog/fntctrl.cxx b/svx/source/dialog/fntctrl.cxx
index 93f168e85d75..e955713f2d50 100644
--- a/svx/source/dialog/fntctrl.cxx
+++ b/svx/source/dialog/fntctrl.cxx
@@ -1611,9 +1611,6 @@ void FontPrevWindow::Paint(vcl::RenderContext& rRenderContext, const tools::Rect
}
if (pImpl->maText.isEmpty())
- pImpl->maText = OUString();
-
- if (pImpl->maText.isEmpty())
{ // fdo#58427: still no text? let's try that one...
pImpl->maText = makeRepresentativeTextForFont(LATIN, rFont);
}