[Libreoffice-commits] core.git: embedserv/source svl/source vcl/source
udaycoder
udayanbaidya at gmail.com
Tue Mar 21 14:12:23 UTC 2017
embedserv/source/embed/servprov.cxx | 2 +-
svl/source/svdde/ddecli.cxx | 2 +-
vcl/source/bitmap/BitmapTools.cxx | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 68bd686b2ca62602fd4b580b905baaa0a04d1f3c
Author: udaycoder <udayanbaidya at gmail.com>
Date: Tue Mar 14 16:26:25 2017 +0530
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 at redhat.com>
Tested-by: Michael Stahl <mstahl at redhat.com>
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]);
More information about the Libreoffice-commits
mailing list