summaryrefslogtreecommitdiff
path: root/padmin
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-03-12 21:35:58 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-03-12 21:35:58 +0000
commit0b226da01318ce4af7d7a58829ef6bb41d640f61 (patch)
tree2cb53ca8bae09ca7e1a1290b9cd83514a8154e18 /padmin
parente04fd835296e6fbe56e3a539038198a993b9bc13 (diff)
Len() != isEmpty()
Change-Id: I56e29f20b4c4eaf73b98c1190040629ca36066e4
Diffstat (limited to 'padmin')
-rw-r--r--padmin/source/adddlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/padmin/source/adddlg.cxx b/padmin/source/adddlg.cxx
index 7a52fdc700b6..46706e3a09f4 100644
--- a/padmin/source/adddlg.cxx
+++ b/padmin/source/adddlg.cxx
@@ -198,8 +198,8 @@ IMPL_LINK( APChooseDriverPage, ClickBtnHdl, PushButton*, pButton )
for( int i = 0; i < m_aDriverBox.GetSelectEntryCount(); i++ )
{
int nSelect = m_aDriverBox.GetSelectEntryPos(i);
- OUString aDriver( *(String*)m_aDriverBox.GetEntryData( nSelect ) );
- if( aDriver.isEmpty() )
+ OUString aDriver( *(OUString*)m_aDriverBox.GetEntryData( nSelect ) );
+ if( !aDriver.isEmpty() )
{
// never delete the default driver
if( aDriver.equalsIgnoreAsciiCase( "SGENPRT" ) )