WaE: unreferenced local variable

This commit is contained in:
Tor Lillqvist 2011-10-07 15:21:51 +03:00
parent 2026c163b0
commit 535cd4acc2
2 changed files with 6 additions and 2 deletions

View file

@ -731,6 +731,8 @@ void DomainMapperTableHandler::endTable()
dmapper_logger->startElement("exception");
dmapper_logger->chars(rtl::OUStringToOString( e.Message, RTL_TEXTENCODING_UTF8 ).getStr( ));
dmapper_logger->endElement();
#else
(void) e;
#endif
}
}

View file

@ -108,7 +108,7 @@ sal_Bool lcl_IsUsingEnhancedFields( const uno::Reference< lang::XMultiServiceFac
::comphelper::ConfigurationHelper::readRelativeKey( xCfgAccess, rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Filter/Microsoft/Import" ) ), rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("ImportWWFieldsAsEnhancedFields" ) ) ) >>= bResult;
}
catch( uno::Exception& e)
catch( uno::Exception& )
{
}
return bResult;
@ -601,7 +601,7 @@ bool lcl_removeShape( const uno::Reference< text::XTextDocument >& rDoc, const
rTextAppendStack.pop();
bRet = true;
}
catch( uno::Exception& e )
catch( uno::Exception& )
{
}
}
@ -1408,6 +1408,8 @@ void DomainMapper_Impl::PushShapeContext( const uno::Reference< drawing::XShape
clog << "Exception when adding shape: ";
clog << rtl::OUStringToOString( e.Message, RTL_TEXTENCODING_UTF8 ).getStr( );
clog << endl;
#else
(void) e;
#endif
}
}