diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-02-24 12:32:14 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-02-24 17:44:31 +0100 |
commit | d5caf6898b384de8465179341e8f0ccf66b06b2b (patch) | |
tree | 979dc56521b1baad8d6db4ef336d3c19b8b419d2 /forms | |
parent | Declaration of stat shadows a global declaration (diff) | |
download | core-d5caf6898b384de8465179341e8f0ccf66b06b2b.tar.gz core-d5caf6898b384de8465179341e8f0ccf66b06b2b.zip |
loplugin: unused variables
Change-Id: I7fc203900256839e679bf73b717d121fedc42087
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/DatabaseForm.cxx | 1 | ||||
-rw-r--r-- | forms/source/solar/component/navbarcontrol.cxx | 1 | ||||
-rw-r--r-- | forms/source/xforms/xpathlib/xpathlib.cxx | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx index 99f17d4a857c..24d07499bbf6 100644 --- a/forms/source/component/DatabaseForm.cxx +++ b/forms/source/component/DatabaseForm.cxx @@ -557,7 +557,6 @@ Sequence<sal_Int8> ODatabaseForm::GetDataMultiPartEncoded(const Reference<XContr // Aggregate Liste to ::rtl::OUString - ::rtl::OUString aResult; for ( HtmlSuccessfulObjListIterator pSuccObj = aSuccObjList.begin(); pSuccObj < aSuccObjList.end(); ++pSuccObj diff --git a/forms/source/solar/component/navbarcontrol.cxx b/forms/source/solar/component/navbarcontrol.cxx index 6f86eee71d4b..001b711d250c 100644 --- a/forms/source/solar/component/navbarcontrol.cxx +++ b/forms/source/solar/component/navbarcontrol.cxx @@ -366,7 +366,6 @@ namespace frm else { OSL_VERIFY( _rValue >>= nColor ); - Color aColor( nColor ); pNavBar->SetTextLineColor( nColor ); } } diff --git a/forms/source/xforms/xpathlib/xpathlib.cxx b/forms/source/xforms/xpathlib/xpathlib.cxx index 508e98d25556..7ba0dcbfa00f 100644 --- a/forms/source/xforms/xpathlib/xpathlib.cxx +++ b/forms/source/xforms/xpathlib/xpathlib.cxx @@ -365,7 +365,6 @@ void xforms_secondsFromDateTimeFunction(xmlXPathParserContextPtr ctxt, int nargs if (parseDateTime(aString, aDateTime)) { Date aReferenceDate(1, 1, 1970); - Time aReferenceTime(0, 0, 0); sal_Int32 nDays = aDateTime - aReferenceDate; sal_Int32 nSeconds = nDays * 24 * 60 * 60; nSeconds += aDateTime.GetHour() * 60 * 60; |