summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorAleksas Pantechovskis <alex.pantec@gmail.com>2016-03-03 15:43:51 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-03-04 06:40:33 +0000
commit57d0caacee2f395be2e89b78f8ece2d47b2c8683 (patch)
tree5d51c927ad91433c6f76e7a7edb8bb561bfec026 /sax
parentf5e131b2bcd2c88a47e5988d5f319bffd767c4dc (diff)
tdf#96505 Remove long integer literal specifier when not needed
Remove L from integer literals if it does not produce warnings and does not change semantics Change-Id: I9573a47d3e3401993a1f0fbcf7df4be20f9e6eba Reviewed-on: https://gerrit.libreoffice.org/22867 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sax')
-rw-r--r--sax/source/tools/converter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx
index 0570024cfd45..d1f6c9f2854e 100644
--- a/sax/source/tools/converter.cxx
+++ b/sax/source/tools/converter.cxx
@@ -2088,7 +2088,7 @@ sal_Int32 Converter::decodeBase64SomeChars(
double Converter::GetConversionFactor(OUStringBuffer& rUnit, sal_Int16 nSourceUnit, sal_Int16 nTargetUnit)
{
double fRetval(1.0);
- rUnit.setLength(0L);
+ rUnit.setLength(0);
if(nSourceUnit != nTargetUnit)
@@ -2443,7 +2443,7 @@ double Converter::GetConversionFactor(OUStringBuffer& rUnit, sal_Int16 nSourceUn
sal_Int16 Converter::GetUnitFromString(const OUString& rString, sal_Int16 nDefaultUnit)
{
- sal_Int32 nPos = 0L;
+ sal_Int32 nPos = 0;
sal_Int32 nLen = rString.getLength();
sal_Int16 nRetUnit = nDefaultUnit;