diff options
author | Eike Rathke <erack@redhat.com> | 2011-11-21 16:19:05 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2011-11-21 16:21:52 +0100 |
commit | 7085c55b78d0346197feb964d124565436121d11 (patch) | |
tree | 208815374754198bee662fc9dcd269b9c9be97bd | |
parent | Fix --enable-debug --disable-dbgutil. (diff) | |
download | binfilter-7085c55b78d0346197feb964d124565436121d11.tar.gz binfilter-7085c55b78d0346197feb964d124565436121d11.zip |
OUString has no Len(), use !isEmpty() here
-rw-r--r-- | binfilter/bf_svx/source/items/svx_paperinf.cxx | 2 |
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(); /*?*/ } /*------------------------------------------------------------------------ |