summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--filter/source/msfilter/svdfppt.cxx2
-rw-r--r--onlineupdate/source/update/updater/progressui_win.cxx2
-rw-r--r--sd/source/ui/func/fumorph.cxx4
-rw-r--r--svl/source/svdde/ddesvr.cxx2
-rw-r--r--xmloff/source/core/namespacemap.cxx2
5 files changed, 6 insertions, 6 deletions
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index 09e69e9fcb6a..f877bbc99e09 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -1793,7 +1793,7 @@ static bool SdrPowerPointOLEDecompress( SvStream& rOutput, SvStream& rInput, sal
aZCodec.BeginCompression();
SvMemoryStream aSource( pBuf.get(), nInputSize, StreamMode::READ );
aZCodec.Decompress( aSource, rOutput );
- const bool bSuccess(0L != aZCodec.EndCompression());
+ const bool bSuccess(0 != aZCodec.EndCompression());
rInput.Seek( nOldPos );
return bSuccess;
}
diff --git a/onlineupdate/source/update/updater/progressui_win.cxx b/onlineupdate/source/update/updater/progressui_win.cxx
index 0b8017823486..7ef23cfabfdf 100644
--- a/onlineupdate/source/update/updater/progressui_win.cxx
+++ b/onlineupdate/source/update/updater/progressui_win.cxx
@@ -67,7 +67,7 @@ UpdateDialog(HWND hDlg)
{
int pos = int(sProgress + 0.5f);
HWND hWndPro = GetDlgItem(hDlg, IDC_PROGRESS);
- SendMessage(hWndPro, PBM_SETPOS, pos, 0L);
+ SendMessage(hWndPro, PBM_SETPOS, pos, 0);
}
// The code in this function is from MSDN:
diff --git a/sd/source/ui/func/fumorph.cxx b/sd/source/ui/func/fumorph.cxx
index 9755b7ae3a20..842cd001b85e 100644
--- a/sd/source/ui/func/fumorph.cxx
+++ b/sd/source/ui/func/fumorph.cxx
@@ -188,7 +188,7 @@ static ::basegfx::B2DPolygon ImpGetExpandedPolygon(
double fDestPos(0.0);
double fSrcPos(0.0);
sal_uInt32 nSrcPos(0);
- sal_uInt32 nSrcPosNext((nSrcPos + 1 == rCandidate.count()) ? 0L : nSrcPos + 1);
+ sal_uInt32 nSrcPosNext((nSrcPos + 1 == rCandidate.count()) ? 0 : nSrcPos + 1);
double fNextSrcLen(::basegfx::B2DVector(rCandidate.getB2DPoint(nSrcPos) - rCandidate.getB2DPoint(nSrcPosNext)).getLength());
for(sal_uInt32 b(0); b < nNum; b++)
@@ -198,7 +198,7 @@ static ::basegfx::B2DPolygon ImpGetExpandedPolygon(
{
fSrcPos += fNextSrcLen;
nSrcPos++;
- nSrcPosNext = (nSrcPos + 1 == rCandidate.count()) ? 0L : nSrcPos + 1;
+ nSrcPosNext = (nSrcPos + 1 == rCandidate.count()) ? 0 : nSrcPos + 1;
fNextSrcLen = ::basegfx::B2DVector(rCandidate.getB2DPoint(nSrcPos) - rCandidate.getB2DPoint(nSrcPosNext)).getLength();
}
diff --git a/svl/source/svdde/ddesvr.cxx b/svl/source/svdde/ddesvr.cxx
index fe0e5c59f41b..4893fdb53e61 100644
--- a/svl/source/svdde/ddesvr.cxx
+++ b/svl/source/svdde/ddesvr.cxx
@@ -402,7 +402,7 @@ DdeService::DdeService( const OUString& rService )
DdeInternal::SvrCallback,
APPCLASS_STANDARD |
CBF_SKIP_REGISTRATIONS |
- CBF_SKIP_UNREGISTRATIONS, 0L ) );
+ CBF_SKIP_UNREGISTRATIONS, 0 ) );
pInst->pServicesSvr = new DdeServices;
}
else
diff --git a/xmloff/source/core/namespacemap.cxx b/xmloff/source/core/namespacemap.cxx
index 1fd9f9d70cbb..2a0ca441d05a 100644
--- a/xmloff/source/core/namespacemap.cxx
+++ b/xmloff/source/core/namespacemap.cxx
@@ -312,7 +312,7 @@ sal_uInt16 SvXMLNamespaceMap::GetKeyByQName(const OUString& rQName,
else
{
// normal case: ':' found -> get prefix/suffix
- sEntryPrefix = rQName.copy( 0L, nColonPos );
+ sEntryPrefix = rQName.copy( 0, nColonPos );
sEntryName = rQName.copy( nColonPos + 1 );
}