summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/zformat.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/svl/zformat.hxx b/include/svl/zformat.hxx
index 21c106ce9bfe..2858563ee4ef 100644
--- a/include/svl/zformat.hxx
+++ b/include/svl/zformat.hxx
@@ -277,6 +277,12 @@ public:
return false;
}
+ /** Get the scanned type of the specified subformat. */
+ short GetNumForInfoScannedType( sal_uInt16 nNumFor ) const
+ {
+ return (nNumFor < 4) ? NumFor[nNumFor].Info().eScannedType : css::util::NumberFormat::UNDEFINED;
+ }
+
// Whether the second subformat code is really for negative numbers
// or another limit set.
bool IsSecondSubformatRealNegative() const