summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-04-02 23:00:47 +0200
committerJulien Nabet <serval2412@yahoo.fr>2013-04-02 23:01:14 +0200
commitef53a3a12e4f4aaf8ae33985bd22e89b08b8c03b (patch)
tree92977f2df016ab6c21b06f8ecbf721c5911a01f3 /xmloff
parent7dac241ca0dd0e8c53c246d8490e954d5b594862 (diff)
Some cppcheck cleaning
Change-Id: I993bd95b31f1090c747f01a899650e8873dcaada
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/forms/formcellbinding.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/forms/formcellbinding.cxx b/xmloff/source/forms/formcellbinding.cxx
index 4f0c522ea0f7..72c39c791c2e 100644
--- a/xmloff/source/forms/formcellbinding.cxx
+++ b/xmloff/source/forms/formcellbinding.cxx
@@ -363,9 +363,8 @@ bool FormCellBindingHelper::isCellRangeListSource( const Reference< XListEntrySo
//------------------------------------------------------------------------
bool FormCellBindingHelper::doesComponentSupport( const Reference< XInterface >& _rxComponent, const ::rtl::OUString& _rService ) const
{
- bool bDoes = false;
Reference< XServiceInfo > xSI( _rxComponent, UNO_QUERY );
- bDoes = xSI.is() && xSI->supportsService( _rService );
+ bool bDoes = xSI.is() && xSI->supportsService( _rService );
return bDoes;
}