summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/zformat.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/svl/zformat.hxx b/include/svl/zformat.hxx
index d68a1007cc24..a50281b536ac 100644
--- a/include/svl/zformat.hxx
+++ b/include/svl/zformat.hxx
@@ -169,6 +169,9 @@ public:
/// Get type of format, may include css::util::NumberFormat::DEFINED bit
short GetType() const { return eType; }
+ /// Get type of format, does not include css::util::NumberFormat::DEFINED
+ short GetMaskedType() const { return eType & ~css::util::NumberFormat::DEFINED; }
+
void SetType(const short eSetType) { eType = eSetType; }
// Standard means the I18N defined standard format of this type
void SetStandard() { bStandard = true; }