diff options
-rw-r--r-- | svl/source/numbers/zformat.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index eb0f0484983b..bdeb74fff88c 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -2557,6 +2557,14 @@ bool SvNumberformat::ImpGetFractionOutput(double fNumber, sal_Int32 k; // Denominator bRes |= ImpNumberFill(sDiv, fNumber, k, j, nIx, NF_SYMBOLTYPE_FRAC); + if ( !bHideFraction ) + { + while ( sDiv[0] == ' ' ) + { + sDiv.insert( sDenominatorFormat.getLength(), " " ); + sDiv.remove( 0, 1 ); + } + } bool bCont = true; if (rInfo.nTypeArray[j] == NF_SYMBOLTYPE_FRAC) |