svx/source/form/fmview.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit ef5757ab06743fc56d5bf74d7244edf01acfa842 Author: dilekuzulmez <[email protected]> Date: Sun Apr 9 20:06:53 2017 +0300 tdf#96505 Get rid of cargo cult long integer literals Change-Id: I67984bfbeffd2d69103b7665d953fa3b1ff03397 Reviewed-on: https://gerrit.libreoffice.org/36316 Tested-by: Jenkins <[email protected]> Reviewed-by: Michael Stahl <[email protected]> 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); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
