summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-16 16:27:55 +0200
committerAshod Nakashian <ashnakash@gmail.com>2017-11-29 14:00:55 +0100
commit2887aefa4d4f60ba8b0cd7efd5d3a73ffb209781 (patch)
tree4c9496d38d098e5f82442fd6a4bd9c350ba3a413 /reportdesign
parent85a47e76ea80c6a0676ac3b44032361733d44af3 (diff)
remove UL/L suffixes from integer constants on the RHS of expressions
Reviewed-on: https://gerrit.libreoffice.org/41237 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit 2e8acde112e1c6754df26902e79a78346ba45a2d) Change-Id: I899a8126c9d971601fea6c77eca165718aea0ac5 Reviewed-on: https://gerrit.libreoffice.org/45452 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx b/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx
index f204ecb5cf84..3d28476bdb22 100644
--- a/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx
+++ b/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx
@@ -168,10 +168,10 @@ void SAL_CALL ImportDocumentHandler::startElement(const OUString & _sName, const
OUString sLocalName;
const OUString sAttrName = _xAttrList->getNameByIndex( i );
const sal_Int32 nColonPos = sAttrName.indexOf( ':' );
- if( -1L == nColonPos )
+ if( -1 == nColonPos )
sLocalName = sAttrName;
else
- sLocalName = sAttrName.copy( nColonPos + 1L );
+ sLocalName = sAttrName.copy( nColonPos + 1 );
const OUString sValue = _xAttrList->getValueByIndex( i );
switch( m_pReportElemTokenMap->Get( XML_NAMESPACE_REPORT, sLocalName ) )
@@ -217,10 +217,10 @@ void SAL_CALL ImportDocumentHandler::startElement(const OUString & _sName, const
OUString sLocalName;
const OUString sAttrName = _xAttrList->getNameByIndex( i );
const sal_Int32 nColonPos = sAttrName.indexOf( ':' );
- if( -1L == nColonPos )
+ if( -1 == nColonPos )
sLocalName = sAttrName;
else
- sLocalName = sAttrName.copy( nColonPos + 1L );
+ sLocalName = sAttrName.copy( nColonPos + 1 );
const OUString sValue = _xAttrList->getValueByIndex( i );
switch( pMasterElemTokenMap->Get( XML_NAMESPACE_REPORT, sLocalName ) )
@@ -260,10 +260,10 @@ void SAL_CALL ImportDocumentHandler::startElement(const OUString & _sName, const
OUString sLocalName;
const OUString sAttrName = _xAttrList->getNameByIndex( i );
const sal_Int32 nColonPos = sAttrName.indexOf( ':' );
- if( -1L == nColonPos )
+ if( -1 == nColonPos )
sLocalName = sAttrName;
else
- sLocalName = sAttrName.copy( nColonPos + 1L );
+ sLocalName = sAttrName.copy( nColonPos + 1 );
if ( sLocalName == "data-source-has-labels" )
{
const OUString sValue = _xAttrList->getValueByIndex( i );