summaryrefslogtreecommitdiff
path: root/svx/source/gallery2
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 /svx/source/gallery2
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 'svx/source/gallery2')
-rw-r--r--svx/source/gallery2/codec.cxx4
-rw-r--r--svx/source/gallery2/galmisc.cxx2
-rw-r--r--svx/source/gallery2/galtheme.cxx8
3 files changed, 7 insertions, 7 deletions
diff --git a/svx/source/gallery2/codec.cxx b/svx/source/gallery2/codec.cxx
index aeb7a5dd0066..2b8b74d8f6e9 100644
--- a/svx/source/gallery2/codec.cxx
+++ b/svx/source/gallery2/codec.cxx
@@ -63,13 +63,13 @@ void GalleryCodec::Write( SvStream& rStmToWrite )
rStmToWrite.Seek( STREAM_SEEK_TO_END );
const sal_uInt32 nSize = rStmToWrite.Tell();
- rStmToWrite.Seek( 0UL );
+ rStmToWrite.Seek( 0 );
rStm.WriteChar( 'S' ).WriteChar( 'V' ).WriteChar( 'R' ).WriteChar( 'L' ).WriteChar( 'E' ).WriteChar( '2' );
rStm.WriteUInt32( nSize );
nPos = rStm.Tell();
- rStm.SeekRel( 4UL );
+ rStm.SeekRel( 4 );
ZCodec aCodec;
aCodec.BeginCompression();
diff --git a/svx/source/gallery2/galmisc.cxx b/svx/source/gallery2/galmisc.cxx
index e77ed61a49fa..c32441d09fac 100644
--- a/svx/source/gallery2/galmisc.cxx
+++ b/svx/source/gallery2/galmisc.cxx
@@ -102,7 +102,7 @@ bool GallerySvDrawImport( SvStream& rIStm, SdrModel& rModel )
GalleryCodec aCodec( rIStm );
aCodec.Read( aMemStm );
- aMemStm.Seek( 0UL );
+ aMemStm.Seek( 0 );
if( 1 == nVersion )
{
diff --git a/svx/source/gallery2/galtheme.cxx b/svx/source/gallery2/galtheme.cxx
index 4f2d92dd4b92..961ebed99d76 100644
--- a/svx/source/gallery2/galtheme.cxx
+++ b/svx/source/gallery2/galtheme.cxx
@@ -584,7 +584,7 @@ void GalleryTheme::Actualize( const Link<const INetURLObject&, void>& rActualize
if( !InsertObject( aNewObj ) )
pEntry->mbDelete = true;
- pIStm->SetBufferSize( 0L );
+ pIStm->SetBufferSize( 0 );
}
}
}
@@ -941,7 +941,7 @@ bool GalleryTheme::GetModel( sal_uIntPtr nPos, SdrModel& rModel )
{
xIStm->SetBufferSize( STREAMBUF_SIZE );
bRet = GallerySvDrawImport( *xIStm, rModel );
- xIStm->SetBufferSize( 0L );
+ xIStm->SetBufferSize( 0 );
}
}
}
@@ -986,7 +986,7 @@ bool GalleryTheme::InsertModel( const FmFormModel& rModel, sal_uIntPtr nInsertPo
bRet = InsertObject( aObjSvDraw, nInsertPos );
}
- xOStm->SetBufferSize( 0L );
+ xOStm->SetBufferSize( 0 );
xOStm->Commit();
}
}
@@ -1071,7 +1071,7 @@ bool GalleryTheme::InsertModelStream( const tools::SvRef<SotStorageStream>& rxMo
bRet = InsertObject( aObjSvDraw, nInsertPos );
}
- xOStm->SetBufferSize( 0L );
+ xOStm->SetBufferSize( 0 );
xOStm->Commit();
}
}