[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - svx/source
Eike Rathke
erack at redhat.com
Thu Jun 2 23:23:10 UTC 2016
svx/source/items/numfmtsh.cxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit b5f511b69a1b7ea6ecd9ba21c266be022a3f1e86
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
(cherry picked from commit 5c24711c6517943d22a978112dc74fa4184dc5f7)
Reviewed-on: https://gerrit.libreoffice.org/25837
Reviewed-by: Eike Rathke <erack at redhat.com>
Tested-by: Eike Rathke <erack at redhat.com>
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