diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-23 10:23:07 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-23 12:40:35 +0200 |
commit | 8c6b84c2c5834ab877c3edd96fd243606cfefe39 (patch) | |
tree | ba3be502bbe44fa527f89e24a1fd96d6499bc01c /forms/source/xforms/xpathlib | |
parent | 9073a347f10aae5e7afb92371a0593c80fa89f97 (diff) |
loplugin:oncevar filter..forms
Change-Id: I70a8ed6dbfe08b22dbf7b7b86e9518d73c5e393a
Reviewed-on: https://gerrit.libreoffice.org/39154
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms/source/xforms/xpathlib')
-rw-r--r-- | forms/source/xforms/xpathlib/xpathlib.cxx | 2 |
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); |