summaryrefslogtreecommitdiff
path: root/sax/source
diff options
context:
space:
mode:
Diffstat (limited to 'sax/source')
-rw-r--r--sax/source/tools/converter.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx
index a0790ce0e114..b94e1f9fe597 100644
--- a/sax/source/tools/converter.cxx
+++ b/sax/source/tools/converter.cxx
@@ -944,8 +944,12 @@ void Converter::convertDuration(OUStringBuffer& rBuffer,
}
}
+namespace {
+
enum Result { R_NOTHING, R_OVERFLOW, R_SUCCESS };
+}
+
static Result
readUnsignedNumber(const OUString & rString,
sal_Int32 & io_rnPos, sal_Int32 & o_rNumber)