[Libreoffice-commits] core.git: vcl/inc

Chris Sherlock chris.sherlock79 at gmail.com
Fri Jan 1 01:41:44 PST 2016


 vcl/inc/outfont.hxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 38e6383009aba9ff779ad9d0b4d9c94ed2bce347
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Fri Jan 1 19:54:43 2016 +1100

    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

diff --git a/vcl/inc/outfont.hxx b/vcl/inc/outfont.hxx
index 70c2854..54d6986 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;


More information about the Libreoffice-commits mailing list