diff options
author | Johann Messner <johann.messner@jku.at> | 2012-08-28 10:51:15 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2012-08-28 11:12:44 +0100 |
commit | f727644ad18838a78525256623a33f864fe13fb2 (patch) | |
tree | 93523dc27d562b757a8ce81c9fea1c7a9fa65f9a /svl/inc | |
parent | 1efa576ef88141c4deb5da9818537e053dc6517b (diff) |
tweaking the "fill in character" support in Calc Number Format Strings
a) changed ordering of repeat code marker ( 0x1b ) and repeat code to more
sensible ( and correct imo ) order
b) prevent some possible div/0 errors
c) added some missing formatter 'GetOutputString' calls
Diffstat (limited to 'svl/inc')
-rw-r--r-- | svl/inc/svl/zforlist.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/inc/svl/zforlist.hxx b/svl/inc/svl/zforlist.hxx index 983cf83089f9..1cace08d22bf 100644 --- a/svl/inc/svl/zforlist.hxx +++ b/svl/inc/svl/zforlist.hxx @@ -489,14 +489,14 @@ public: Formats only if the format code is of type text or the 4th subcode of a format code is specified, otherwise sOutString will be == "" */ void GetOutputString( String& sString, sal_uInt32 nFIndex, - String& sOutString, Color** ppColor ); + String& sOutString, Color** ppColor, bool bUseStarFormat = false ); /** Format a string according to a format index, return string and color. Formats only if the format code is of type text or the 4th subcode of a format code is specified, otherwise sOutString will be == "" */ void GetOutputString( rtl::OUString& sString, sal_uInt32 nFIndex, - rtl::OUString& sOutString, Color** ppColor ); + rtl::OUString& sOutString, Color** ppColor, bool bUseStarFormat = false ); /** Format a number according to the standard default format matching the given format index */ |