summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-16 14:45:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-17 08:14:31 +0200
commitff1f6a5fc25db062e9a83521a657062f62f03ba6 (patch)
tree272dfa9af5ead31b61c1be34afcaf4402ff4ad77 /sw/source/filter/xml
parent224b770fa77fe12ad5dc543ce020aca316b6558d (diff)
remove UL/L suffixes from integer constants in initialiser/call expressions
Change-Id: Iae081567c4fa5b88edbd12cf2fbafd2b8f31b300 Reviewed-on: https://gerrit.libreoffice.org/41214 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/xml')
-rw-r--r--sw/source/filter/xml/xmltble.cxx4
-rw-r--r--sw/source/filter/xml/xmltbli.cxx18
-rw-r--r--sw/source/filter/xml/xmltexte.cxx4
3 files changed, 13 insertions, 13 deletions
diff --git a/sw/source/filter/xml/xmltble.cxx b/sw/source/filter/xml/xmltble.cxx
index 448f8a2deaed..391e82d7f9cc 100644
--- a/sw/source/filter/xml/xmltble.cxx
+++ b/sw/source/filter/xml/xmltble.cxx
@@ -74,7 +74,7 @@ public:
explicit SwXMLTableColumn_Impl(sal_uInt32 nPosition)
: SwWriteTableCol(nPosition)
- , nRelWidth(0UL)
+ , nRelWidth(0)
{};
void SetStyleName( const OUString& rName ) { sStyleName = rName; }
@@ -120,7 +120,7 @@ public:
SwXMLTableLines_Impl::SwXMLTableLines_Impl( const SwTableLines& rLines ) :
pLines( &rLines ),
- nWidth( 0UL )
+ nWidth( 0 )
{
#if OSL_DEBUG_LEVEL > 0
sal_uInt32 nEndCPos = 0U;
diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx
index 2f339291ed90..a2fcad1b997d 100644
--- a/sw/source/filter/xml/xmltbli.cxx
+++ b/sw/source/filter/xml/xmltbli.cxx
@@ -441,9 +441,9 @@ SwXMLTableCellContext_Impl::SwXMLTableCellContext_Impl(
m_bHasStringValue(false),
m_bValueTypeIsString(false),
bProtect( false ),
- nRowSpan( 1UL ),
- nColSpan( 1UL ),
- nColRepeat( 1UL ),
+ nRowSpan( 1 ),
+ nColSpan( 1 ),
+ nColRepeat( 1 ),
bHasTextContent( false ),
bHasTableContent( false )
{
@@ -1237,9 +1237,9 @@ SwXMLTableContext::SwXMLTableContext( SwXMLImport& rImport,
m_bRelWidth( true ),
m_bHasSubTables( false ),
m_nHeaderRows( 0 ),
- m_nCurRow( 0UL ),
- m_nCurCol( 0UL ),
- m_nWidth( 0UL )
+ m_nCurRow( 0 ),
+ m_nCurCol( 0 ),
+ m_nWidth( 0 )
{
OUString aName;
OUString sXmlId;
@@ -1378,9 +1378,9 @@ SwXMLTableContext::SwXMLTableContext( SwXMLImport& rImport,
m_bRelWidth( true ),
m_bHasSubTables( false ),
m_nHeaderRows( 0 ),
- m_nCurRow( 0UL ),
- m_nCurCol( 0UL ),
- m_nWidth( 0UL )
+ m_nCurRow( 0 ),
+ m_nCurCol( 0 ),
+ m_nWidth( 0 )
{
}
diff --git a/sw/source/filter/xml/xmltexte.cxx b/sw/source/filter/xml/xmltexte.cxx
index 99e032dd4a42..07e15faad4f6 100644
--- a/sw/source/filter/xml/xmltexte.cxx
+++ b/sw/source/filter/xml/xmltexte.cxx
@@ -132,10 +132,10 @@ static void lcl_addOutplaceProperties(
if( aSize.Width() && aSize.Height() )
{
- *pStates = new XMLPropertyState( rMapper->FindEntryIndex( CTF_OLE_VIS_AREA_LEFT ), Any(0L) );
+ *pStates = new XMLPropertyState( rMapper->FindEntryIndex( CTF_OLE_VIS_AREA_LEFT ), Any(sal_Int32(0)) );
pStates++;
- *pStates = new XMLPropertyState( rMapper->FindEntryIndex( CTF_OLE_VIS_AREA_TOP ), Any(0L) );
+ *pStates = new XMLPropertyState( rMapper->FindEntryIndex( CTF_OLE_VIS_AREA_TOP ), Any(sal_Int32(0)) );
pStates++;
*pStates = new XMLPropertyState( rMapper->FindEntryIndex( CTF_OLE_VIS_AREA_WIDTH ), Any((sal_Int32)aSize.Width()) );