diff options
author | udaycoder <udayanbaidya@gmail.com> | 2017-03-14 16:26:25 +0530 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-03-21 14:12:00 +0000 |
commit | 68bd686b2ca62602fd4b580b905baaa0a04d1f3c (patch) | |
tree | 5f48396035f1ace80f2fdb2c0effcbfd9da57601 | |
parent | fc6d65e75e742a483b14d1a6c1c9b65d48683aad (diff) |
tdf#96505 - Get rid of cargo cult long integer literals
Change-Id: I56fbc7cd9c879b18ac65c5e6adf80f01c6b95b84
Reviewed-on: https://gerrit.libreoffice.org/35176
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r-- | embedserv/source/embed/servprov.cxx | 2 | ||||
-rw-r--r-- | svl/source/svdde/ddecli.cxx | 2 | ||||
-rw-r--r-- | vcl/source/bitmap/BitmapTools.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/embedserv/source/embed/servprov.cxx b/embedserv/source/embed/servprov.cxx index ae3d887ac11d..291c164e5d6a 100644 --- a/embedserv/source/embed/servprov.cxx +++ b/embedserv/source/embed/servprov.cxx @@ -138,7 +138,7 @@ css::uno::Sequence<OUString> EmbedServer_Impl::getSupportedServiceNames() // EmbedProviderFactory_Impl EmbedProviderFactory_Impl::EmbedProviderFactory_Impl(const uno::Reference<lang::XMultiServiceFactory>& xFactory, const GUID* pGuid) - : m_refCount( 0L ) + : m_refCount( 0 ) , m_guid( *pGuid ) , m_xFactory( xFactory ) { diff --git a/svl/source/svdde/ddecli.cxx b/svl/source/svdde/ddecli.cxx index d26191859feb..3f76d96fc779 100644 --- a/svl/source/svdde/ddecli.cxx +++ b/svl/source/svdde/ddecli.cxx @@ -283,7 +283,7 @@ void DdeTransaction::Execute() if ( nType != XTYP_EXECUTE && nType != XTYP_POKE ) { pData = nullptr; - nData = 0L; + nData = 0; } if ( nTime ) { diff --git a/vcl/source/bitmap/BitmapTools.cxx b/vcl/source/bitmap/BitmapTools.cxx index 40e79b721b71..34b45cf5b3be 100644 --- a/vcl/source/bitmap/BitmapTools.cxx +++ b/vcl/source/bitmap/BitmapTools.cxx @@ -82,7 +82,7 @@ void loadFromSvg(SvStream& rStream, const OUString& sPath, BitmapEx& rBitmapEx, const sal_Int32 nCount(aPrimitiveSequence.getLength()); geometry::RealRectangle2D aRealRect; basegfx::B2DRange aRange; - for (sal_Int32 a = 0L; a < nCount; ++a) + for (sal_Int32 a = 0; a < nCount; ++a) { const Primitive2DReference xReference(aPrimitiveSequence[a]); |