string created but never used

This commit is contained in:
Caolán McNamara 2012-04-17 23:25:39 +01:00
parent d5e20fe5a0
commit 95372abb52

View file

@ -1998,11 +1998,6 @@ void SVTXCurrencyField::setProperty( const ::rtl::OUString& PropertyName, const
DoubleCurrencyField* pField = (DoubleCurrencyField*)GetFormattedField(); DoubleCurrencyField* pField = (DoubleCurrencyField*)GetFormattedField();
if ( pField ) if ( pField )
{ {
#ifdef DBG_UTIL
String sAssertion( String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "SVTXCurrencyField::setProperty(" ) ) );
sAssertion += String( PropertyName );
sAssertion.AppendAscii( RTL_CONSTASCII_STRINGPARAM( ") : invalid value !" ) );
#endif
sal_uInt16 nPropType = GetPropertyId( PropertyName ); sal_uInt16 nPropType = GetPropertyId( PropertyName );
switch (nPropType) switch (nPropType)
{ {