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

Eike Rathke erack at redhat.com
Fri Jul 10 07:26:57 PDT 2015


 svl/source/numbers/zformat.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 89cfc660dd748daa3f6eee81665e4cbe502653d4
Author: Eike Rathke <erack at redhat.com>
Date:   Fri Jul 10 16:19:57 2015 +0200

    the main text format is not a trailing text format, tdf#92457 follow-up
    
    Change-Id: I91d5a2ff9fb59b68b28dec0ed8b2802782e28727

diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index e7501ff..e725d1d 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -943,7 +943,7 @@ SvNumberformat::SvNumberformat(OUString& rString,
                             sBuff.insert(nPos, ";");
                             nPos++;
                         }
-                        else
+                        else if (nIndex > 0)
                         {
                             // The last subformat. If it is a trailing text
                             // format the omitted subformats act like they were


More information about the Libreoffice-commits mailing list