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

Eike Rathke erack at redhat.com
Thu Jun 2 17:18:11 UTC 2016


 svx/source/items/numfmtsh.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 5c24711c6517943d22a978112dc74fa4184dc5f7
Author: Eike Rathke <erack at redhat.com>
Date:   Thu Jun 2 19:14:09 2016 +0200

    actually list additional builtin formats NF_FRACTION_3, NF_FRACTION_4
    
    Scanning only a subset span is ugly anyway, just hack that in now.
    
    Change-Id: I5a5f7a64f3b49e2f590130072a2a48c2b5af21b7

diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx
index d86e1f2..d4d6649 100644
--- a/svx/source/items/numfmtsh.cxx
+++ b/svx/source/items/numfmtsh.cxx
@@ -604,7 +604,9 @@ void SvxNumberFormatShell::FillEListWithStd_Impl( std::vector<OUString>& rList,
                                      break;
             case CAT_FRACTION       :eOffsetStart=NF_FRACTION_START;
                                      eOffsetEnd=NF_FRACTION_END;
-                                     break;
+                                     nSelPos = FillEListWithFormats_Impl( rList, nSelPos, eOffsetStart, eOffsetEnd);
+                                     nSelPos = FillEListWithFormats_Impl( rList, nSelPos, NF_FRACTION_3, NF_FRACTION_4);
+                                     return;
             case CAT_BOOLEAN        :eOffsetStart=NF_BOOLEAN;
                                      eOffsetEnd=NF_BOOLEAN;
                                      break;


More information about the Libreoffice-commits mailing list