tdf#96505 Get rid of cargo cult long integer literals

Change-Id: Ic0cde7c087d54a80a57d2a2574fa1f3932192367
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86311
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
diff --git a/svx/source/engine3d/obj3d.cxx b/svx/source/engine3d/obj3d.cxx
index f743c58..911a9b7 100644
--- a/svx/source/engine3d/obj3d.cxx
+++ b/svx/source/engine3d/obj3d.cxx
@@ -520,7 +520,7 @@
sal_uInt32 E3dCompoundObject::GetHdlCount() const
{
    // 8 corners + 1 E3dVolumeMarker (= Wireframe representation)
    return 9L;
    return 9;
}

void E3dCompoundObject::AddToHdlList(SdrHdlList& rHdlList) const
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx
index db6238c..d1d8983 100644
--- a/svx/source/svdraw/svdobj.cxx
+++ b/svx/source/svdraw/svdobj.cxx
@@ -1190,7 +1190,7 @@

sal_uInt32 SdrObject::GetHdlCount() const
{
    return 8L;
    return 8;
}

void SdrObject::AddToHdlList(SdrHdlList& rHdlList) const
diff --git a/svx/source/svdraw/svdocirc.cxx b/svx/source/svdraw/svdocirc.cxx
index 7c5aa3b..efbc280 100644
--- a/svx/source/svdraw/svdocirc.cxx
+++ b/svx/source/svdraw/svdocirc.cxx
@@ -424,11 +424,11 @@
{
    if(SdrCircKind::Full != meCircleKind)
    {
        return 10L;
        return 10;
    }
    else
    {
        return 8L;
        return 8;
    }
}

diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx
index 135b934..67b598c 100644
--- a/svx/source/svdraw/svdograf.cxx
+++ b/svx/source/svdraw/svdograf.cxx
@@ -767,7 +767,7 @@

sal_uInt32 SdrGrafObj::GetHdlCount() const
{
    return 8L;
    return 8;
}

void SdrGrafObj::AddToHdlList(SdrHdlList& rHdlList) const
diff --git a/svx/source/svdraw/svdomeas.cxx b/svx/source/svdraw/svdomeas.cxx
index e950dc8..8ac271d 100644
--- a/svx/source/svdraw/svdomeas.cxx
+++ b/svx/source/svdraw/svdomeas.cxx
@@ -749,7 +749,7 @@

sal_uInt32 SdrMeasureObj::GetHdlCount() const
{
    return 6L;
    return 6;
}

void SdrMeasureObj::AddToHdlList(SdrHdlList& rHdlList) const
@@ -1079,7 +1079,7 @@

sal_uInt32 SdrMeasureObj::GetSnapPointCount() const
{
    return 2L;
    return 2;
}

Point SdrMeasureObj::GetSnapPoint(sal_uInt32 i) const
@@ -1095,7 +1095,7 @@

sal_uInt32 SdrMeasureObj::GetPointCount() const
{
    return 2L;
    return 2;
}

Point SdrMeasureObj::GetPoint(sal_uInt32 i) const
diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx
index 4ce65ca..ef76a53 100644
--- a/svx/source/svdraw/svdotext.cxx
+++ b/svx/source/svdraw/svdotext.cxx
@@ -1120,7 +1120,7 @@

sal_uInt32 SdrTextObj::GetSnapPointCount() const
{
    return 4L;
    return 4;
}

Point SdrTextObj::GetSnapPoint(sal_uInt32 i) const
diff --git a/svx/source/svdraw/svdotxdr.cxx b/svx/source/svdraw/svdotxdr.cxx
index b340340..182f4d9 100644
--- a/svx/source/svdraw/svdotxdr.cxx
+++ b/svx/source/svdraw/svdotxdr.cxx
@@ -35,7 +35,7 @@

sal_uInt32 SdrTextObj::GetHdlCount() const
{
    return 8L;
    return 8;
}

void SdrTextObj::AddToHdlList(SdrHdlList& rHdlList) const
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx
index a85f4d1..c39d678 100644
--- a/tools/source/stream/stream.cxx
+++ b/tools/source/stream/stream.cxx
@@ -1702,7 +1702,7 @@
std::size_t SvMemoryStream::PutData( const void* pData, std::size_t nCount )
{
    if( GetError() )
        return 0L;
        return 0;

    std::size_t nMaxCount = nSize-nPos;