summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2016-01-01 19:54:43 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2016-01-01 19:54:43 +1100
commit38e6383009aba9ff779ad9d0b4d9c94ed2bce347 (patch)
tree953cac2f0213953a6d6740754c3ffcc5973caf35
parent24aa580514818b35a6098d3b3ff5d5bc77a7fdb1 (diff)
vcl: Regression from a74a04f98
Very silly mistake - I put in an else, where it should have been an entirely new if statement... this will have broken font mapping :( Change-Id: I026b1f3808cb3a3793467fa3b2670bf9b56e3c5c
-rw-r--r--vcl/inc/outfont.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/inc/outfont.hxx b/vcl/inc/outfont.hxx
index 70c285411ff6..54d69863e6ea 100644
--- a/vcl/inc/outfont.hxx
+++ b/vcl/inc/outfont.hxx
@@ -88,7 +88,8 @@ public:
{
maMapNames += ";";
}
- else
+
+ if (aMapName.getLength() == 0)
{
SAL_WARN("vcl.fonts", "New map name is empty");
return;