[Libreoffice-commits] .: chart2/source
Caolán McNamara
caolan at kemper.freedesktop.org
Sun Dec 5 05:15:25 PST 2010
chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 09fdc8b6881204bd882253c88b9f80d4b033e9eb
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Dec 5 13:15:17 2010 +0000
cppcheck: unused variable
diff --git a/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.cxx b/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.cxx
index 76a232f..1690ea3 100644
--- a/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.cxx
@@ -265,7 +265,6 @@ void SAL_CALL MinMaxLineWrapper::removeVetoableChangeListener( const ::rtl::OUSt
void SAL_CALL MinMaxLineWrapper::setPropertyValues( const uno::Sequence< ::rtl::OUString >& rNameSeq, const uno::Sequence< uno::Any >& rValueSeq )
throw (beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException)
{
- bool bUnknownProperty = false;
sal_Int32 nMinCount = std::min( rValueSeq.getLength(), rNameSeq.getLength() );
for(sal_Int32 nN=0; nN<nMinCount; nN++)
{
@@ -277,7 +276,6 @@ void SAL_CALL MinMaxLineWrapper::setPropertyValues( const uno::Sequence< ::rtl::
catch( beans::UnknownPropertyException& ex )
{
ASSERT_EXCEPTION( ex );
- bUnknownProperty = true;
}
}
//todo: store unknown properties elsewhere
More information about the Libreoffice-commits
mailing list