summaryrefslogtreecommitdiffstats
path: root/forms/source/xforms/xpathlib/xpathlib.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/xforms/xpathlib/xpathlib.cxx')
-rw-r--r--forms/source/xforms/xpathlib/xpathlib.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/xforms/xpathlib/xpathlib.cxx b/forms/source/xforms/xpathlib/xpathlib.cxx
index b5e498266c41..c60f5bdd10e5 100644
--- a/forms/source/xforms/xpathlib/xpathlib.cxx
+++ b/forms/source/xforms/xpathlib/xpathlib.cxx
@@ -294,7 +294,7 @@ static bool parseDateTime(const OUString& aString, DateTime& aDateTime)
return false;
sal_Int32 nDateLength = 10;
- sal_Int32 nTimeLength = 8;
+ sal_Int32 const nTimeLength = 8;
OUString aDateString = aDateTimeString.copy(0, nDateLength);
OUString aTimeString = aDateTimeString.copy(nDateLength+1, nTimeLength);