[Libreoffice-commits] core.git: svtools/source

Julien Nabet serval2412 at yahoo.fr
Sun Aug 30 12:11:29 PDT 2015


 svtools/source/control/ctrlbox.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 33d8a094e1f8483abe2bfcfa118997beab034be5
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Aug 29 00:12:53 2015 +0200

    tdf#93733: Assertion failed when clear font size field in paragraph style
    
    Change-Id: Ia7748eae16c35a1d197b9f4aa5f391f496e7f2f2
    Reviewed-on: https://gerrit.libreoffice.org/18122
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index c315ff7..fe3a390 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -1595,7 +1595,7 @@ void FontSizeBox::Modify()
                 pStr++;
             }
         }
-        else
+        else if (!aStr.isEmpty())
         {
             if ( -1 != aStr.indexOf('%') )
             {


More information about the Libreoffice-commits mailing list