summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-06-02 19:14:09 +0200
committerEike Rathke <erack@redhat.com>2016-06-02 19:17:41 +0200
commit5c24711c6517943d22a978112dc74fa4184dc5f7 (patch)
treee2969147dbbe330f774ac10a6bd85ee585a0c14f
parentb91d9e2d9138b2eb09629d0a2d7e63869f5b9f1b (diff)
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
-rw-r--r--svx/source/items/numfmtsh.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx
index d86e1f2f4053..d4d664991210 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;