From b24adf82ce21ac91851a73c84680447a16feb53b Mon Sep 17 00:00:00 2001 From: Pierre-André Jacquod Date: Sun, 2 Oct 2011 15:01:26 +0200 Subject: cppcheck scope reduction in forms/...DatabaseForm.cxx --- forms/source/component/DatabaseForm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'forms/source') diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx index ebe736192158..f61fde297a9f 100644 --- a/forms/source/component/DatabaseForm.cxx +++ b/forms/source/component/DatabaseForm.cxx @@ -2483,7 +2483,6 @@ void SAL_CALL ODatabaseForm::setControlModels(const Sequence* pControls = rControls.getConstArray(); - sal_Int16 nTabIndex = 1; sal_Int32 nCount = getCount(); sal_Int32 nNewCount = rControls.getLength(); @@ -2491,6 +2490,7 @@ void SAL_CALL ODatabaseForm::setControlModels(const Sequence xComp(*pControls, UNO_QUERY); -- cgit