diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-07 15:34:20 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-07 15:56:01 +0300 |
commit | d0aaada2821aee4501e7c16e32843b6d251755c6 (patch) | |
tree | 922354eccae2f46a2aa0ae12e6b7c467214fab07 /writerfilter | |
parent | 11b64d662d2413ffeab57e625e3e12a402e2b536 (diff) |
WaE: unreferenced local variable
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/dmapper/FormControlHelper.cxx | 2 | ||||
-rw-r--r-- | writerfilter/source/dmapper/NumberingManager.cxx | 2 | ||||
-rw-r--r-- | writerfilter/source/dmapper/PropertyMap.cxx | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/writerfilter/source/dmapper/FormControlHelper.cxx b/writerfilter/source/dmapper/FormControlHelper.cxx index 9998a2da2f9e..9852a39cfad9 100644 --- a/writerfilter/source/dmapper/FormControlHelper.cxx +++ b/writerfilter/source/dmapper/FormControlHelper.cxx @@ -193,7 +193,7 @@ bool FormControlHelper::createCheckbox(uno::Reference<text::XTextRange> xTextRan xTextRangeProps->getPropertyValue(sCharHeight) >>= fCheckBoxHeight; nCheckBoxHeight = static_cast<sal_uInt32>(floor(fCheckBoxHeight * 35.3)); } - catch (beans::UnknownPropertyException & rException) + catch (beans::UnknownPropertyException &) { } } diff --git a/writerfilter/source/dmapper/NumberingManager.cxx b/writerfilter/source/dmapper/NumberingManager.cxx index 029e45d750d2..831db8c97823 100644 --- a/writerfilter/source/dmapper/NumberingManager.cxx +++ b/writerfilter/source/dmapper/NumberingManager.cxx @@ -609,7 +609,7 @@ void ListDef::CreateNumberingRules( DomainMapper& rDMapper, OUString sNumRulesName = aPropNameSupplier.GetName( PROP_NUMBERING_RULES ); xStyle->setPropertyValue( sNumRulesName, uno::makeAny( m_xNumRules ) ); } - catch( const uno::Exception& rEx) + catch( const uno::Exception& ) { OSL_FAIL( "ListTable::CreateNumberingRules"); } diff --git a/writerfilter/source/dmapper/PropertyMap.cxx b/writerfilter/source/dmapper/PropertyMap.cxx index 310bcbaa21ff..700581aa3045 100644 --- a/writerfilter/source/dmapper/PropertyMap.cxx +++ b/writerfilter/source/dmapper/PropertyMap.cxx @@ -714,6 +714,8 @@ void SectionPropertyMap::CopyLastHeaderFooter( bool bFirstPage, DomainMapper_Imp #if DEBUG clog << "An exception occurred in SectionPropertyMap::CopyLastHeaderFooter( ) - "; clog << rtl::OUStringToOString( e.Message, RTL_TEXTENCODING_UTF8 ).getStr( ) << endl; +#else + (void) e; #endif } } |