From ef5757ab06743fc56d5bf74d7244edf01acfa842 Mon Sep 17 00:00:00 2001 From: dilekuzulmez Date: Sun, 9 Apr 2017 20:06:53 +0300 Subject: tdf#96505 Get rid of cargo cult long integer literals Change-Id: I67984bfbeffd2d69103b7665d953fa3b1ff03397 Reviewed-on: https://gerrit.libreoffice.org/36316 Tested-by: Jenkins Reviewed-by: Michael Stahl --- svx/source/form/fmview.cxx | 6 +++--- 1 file 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); -- cgit v1.2.3