Kaydet (Commit) 0b226da0 authored tarafından Caolán McNamara's avatar Caolán McNamara

Len() != isEmpty()

Change-Id: I56e29f20b4c4eaf73b98c1190040629ca36066e4
üst e04fd835
...@@ -198,8 +198,8 @@ IMPL_LINK( APChooseDriverPage, ClickBtnHdl, PushButton*, pButton ) ...@@ -198,8 +198,8 @@ IMPL_LINK( APChooseDriverPage, ClickBtnHdl, PushButton*, pButton )
for( int i = 0; i < m_aDriverBox.GetSelectEntryCount(); i++ ) for( int i = 0; i < m_aDriverBox.GetSelectEntryCount(); i++ )
{ {
int nSelect = m_aDriverBox.GetSelectEntryPos(i); int nSelect = m_aDriverBox.GetSelectEntryPos(i);
OUString aDriver( *(String*)m_aDriverBox.GetEntryData( nSelect ) ); OUString aDriver( *(OUString*)m_aDriverBox.GetEntryData( nSelect ) );
if( aDriver.isEmpty() ) if( !aDriver.isEmpty() )
{ {
// never delete the default driver // never delete the default driver
if( aDriver.equalsIgnoreAsciiCase( "SGENPRT" ) ) if( aDriver.equalsIgnoreAsciiCase( "SGENPRT" ) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment