summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2011-11-21 16:19:05 +0100
committerEike Rathke <erack@redhat.com>2011-11-21 16:21:52 +0100
commit7085c55b78d0346197feb964d124565436121d11 (patch)
tree208815374754198bee662fc9dcd269b9c9be97bd
parentFix --enable-debug --disable-dbgutil. (diff)
downloadbinfilter-7085c55b78d0346197feb964d124565436121d11.tar.gz
binfilter-7085c55b78d0346197feb964d124565436121d11.zip
OUString has no Len(), use !isEmpty() here
-rw-r--r--binfilter/bf_svx/source/items/svx_paperinf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/binfilter/bf_svx/source/items/svx_paperinf.cxx b/binfilter/bf_svx/source/items/svx_paperinf.cxx
index 4c9e6315d..0f32c0be7 100644
--- a/binfilter/bf_svx/source/items/svx_paperinf.cxx
+++ b/binfilter/bf_svx/source/items/svx_paperinf.cxx
@@ -115,7 +115,7 @@ static const int nTabSize = SAL_N_ELEMENTS(aDinTab);
/*?*/ inline BOOL IsValidPrinter( const Printer* pPtr )
/*?*/ {
-/*?*/ return pPtr->GetName().getLength() ? TRUE : FALSE;
+/*?*/ return !pPtr->GetName().isEmpty();
/*?*/ }
/*------------------------------------------------------------------------