summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordilekuzulmez <dilekuzulmez@gmail.com>2017-04-09 20:06:53 +0300
committerMichael Stahl <mstahl@redhat.com>2017-04-12 16:31:42 +0200
commitef5757ab06743fc56d5bf74d7244edf01acfa842 (patch)
treed4d55ad343af56cb974df0de15158a12b0bd6d51
parent6a9f06e7ca9ba1ea9ebf8ecb013c6f63c4d7419c (diff)
tdf#96505 Get rid of cargo cult long integer literals
Change-Id: I67984bfbeffd2d69103b7665d953fa3b1ff03397 Reviewed-on: https://gerrit.libreoffice.org/36316 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r--svx/source/form/fmview.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/form/fmview.cxx b/svx/source/form/fmview.cxx
index c94ba7c8e7d1..3adf31d8a34c 100644
--- a/svx/source/form/fmview.cxx
+++ b/svx/source/form/fmview.cxx
@@ -368,7 +368,7 @@ void FmFormView::ActivateControls(SdrPageView* pPageView)
if (!pPageView)
return;
- for (sal_uInt32 i = 0L; i < pPageView->PageWindowCount(); ++i)
+ for (sal_uInt32 i = 0; i < pPageView->PageWindowCount(); ++i)
{
const SdrPageWindow& rPageWindow = *pPageView->GetPageWindow(i);
pImpl->addWindow(rPageWindow);
@@ -381,7 +381,7 @@ void FmFormView::DeactivateControls(SdrPageView* pPageView)
if( !pPageView )
return;
- for (sal_uInt32 i = 0L; i < pPageView->PageWindowCount(); ++i)
+ for (sal_uInt32 i = 0; i < pPageView->PageWindowCount(); ++i)
{
const SdrPageWindow& rPageWindow = *pPageView->GetPageWindow(i);
pImpl->removeWindow(rPageWindow.GetControlContainer() );
@@ -428,7 +428,7 @@ void FmFormView::InsertControlContainer(const Reference< css::awt::XControlConta
SdrPageView* pPageView = GetSdrPageView();
if( pPageView )
{
- for( sal_uInt32 i = 0L; i < pPageView->PageWindowCount(); i++ )
+ for( sal_uInt32 i = 0; i < pPageView->PageWindowCount(); i++ )
{
const SdrPageWindow& rPageWindow = *pPageView->GetPageWindow(i);