From a138709519b00b65cf5b530a319ed67ca657a1f4 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Wed, 29 Feb 2012 01:15:16 +0900 Subject: Drop comparison with empty rtl::OUString --- ucb/source/ucp/file/bc.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ucb') diff --git a/ucb/source/ucp/file/bc.cxx b/ucb/source/ucp/file/bc.cxx index 38271ac4d90b..4c1c9f04415e 100644 --- a/ucb/source/ucp/file/bc.cxx +++ b/ucb/source/ucp/file/bc.cxx @@ -603,7 +603,7 @@ BaseContent::addProperty( lang::IllegalArgumentException, RuntimeException) { - if( ( m_nState & JustInserted ) || ( m_nState & Deleted ) || Name == rtl::OUString() ) + if( ( m_nState & JustInserted ) || ( m_nState & Deleted ) || Name.isEmpty() ) { throw lang::IllegalArgumentException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX ) ), uno::Reference< uno::XInterface >(), 0 ); } -- cgit