diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-16 14:45:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-17 08:14:31 +0200 |
commit | ff1f6a5fc25db062e9a83521a657062f62f03ba6 (patch) | |
tree | 272dfa9af5ead31b61c1be34afcaf4402ff4ad77 /toolkit | |
parent | 224b770fa77fe12ad5dc543ce020aca316b6558d (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 'toolkit')
-rw-r--r-- | toolkit/source/controls/stdtabcontrollermodel.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/controls/unocontrolmodel.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/source/controls/stdtabcontrollermodel.cxx b/toolkit/source/controls/stdtabcontrollermodel.cxx index a9b2786bb42a..1fd18de2fa94 100644 --- a/toolkit/source/controls/stdtabcontrollermodel.cxx +++ b/toolkit/source/controls/stdtabcontrollermodel.cxx @@ -163,8 +163,8 @@ void ImplWriteControls( const css::uno::Reference< css::io::XObjectOutputStream sal_uInt32 nStoredControls = 0; sal_Int32 nDataBeginMark = xMark->createMark(); - OutStream->writeLong( 0L ); // DataLen - OutStream->writeLong( 0L ); // nStoredControls + OutStream->writeLong( 0 ); // DataLen + OutStream->writeLong( 0 ); // nStoredControls sal_uInt32 nCtrls = rCtrls.getLength(); for ( sal_uInt32 n = 0; n < nCtrls; n++ ) diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx index 5e2c62f17d33..7934b320b007 100644 --- a/toolkit/source/controls/unocontrolmodel.cxx +++ b/toolkit/source/controls/unocontrolmodel.cxx @@ -557,7 +557,7 @@ void UnoControlModel::write( const css::uno::Reference< css::io::XObjectOutputSt for ( std::set<sal_uInt16>::const_iterator it = aProps.begin(); it != aProps.end(); ++it ) { sal_Int32 nPropDataBeginMark = xMark->createMark(); - OutStream->writeLong( 0L ); // DataLen + OutStream->writeLong( 0 ); // DataLen const css::uno::Any* pProp = &(maData[*it]); OutStream->writeShort( *it ); @@ -712,7 +712,7 @@ void UnoControlModel::write( const css::uno::Reference< css::io::XObjectOutputSt for ( sal_uInt16 n = BASEPROPERTY_FONT_TYPE; n <= BASEPROPERTY_FONT_ATTRIBS; n++ ) { sal_Int32 nPropDataBeginMark = xMark->createMark(); - OutStream->writeLong( 0L ); // DataLen + OutStream->writeLong( 0 ); // DataLen OutStream->writeShort( n ); // PropId OutStream->writeBoolean( false ); // Void |