Fix warning: unused variable 'sConverted' [loplugin]

Change-Id: I14a2d98c519b2eab6645eaf8b2dcdbccc7c36c2f
This commit is contained in:
Tor Lillqvist
2013-03-25 23:14:25 +02:00
parent 07b5102e7b
commit 2413a8edc2

View File

@@ -227,9 +227,6 @@ namespace xforms
//-------------------------------------------------------------------- //--------------------------------------------------------------------
sal_uInt16 OXSDDataType::_validate( const ::rtl::OUString& _rValue ) sal_uInt16 OXSDDataType::_validate( const ::rtl::OUString& _rValue )
{ {
// care for the whitespaces
::rtl::OUString sConverted = Convert::convertWhitespace( _rValue, m_nWST );
// care for the regular expression // care for the regular expression
if ( !m_sPattern.isEmpty() ) if ( !m_sPattern.isEmpty() )
{ {