summaryrefslogtreecommitdiff
path: root/sw/source/ui/app/docsh.cxx
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-11-21 09:00:21 +0100
committerDavid Tardon <dtardon@redhat.com>2011-11-21 09:03:43 +0100
commit737f61ba4c202834e70bbaa746b4a9ce0137a891 (patch)
tree3ba0de5068dbd7972161af72c893204ecd5d36be /sw/source/ui/app/docsh.cxx
parentee3ad385fb3ca476e57e80d7b77c1e184e52e1d8 (diff)
Convert Sal to rtl::O(U)String
Diffstat (limited to 'sw/source/ui/app/docsh.cxx')
-rw-r--r--sw/source/ui/app/docsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/app/docsh.cxx b/sw/source/ui/app/docsh.cxx
index c4d9e84ce3de..d7ee0192ef45 100644
--- a/sw/source/ui/app/docsh.cxx
+++ b/sw/source/ui/app/docsh.cxx
@@ -820,7 +820,7 @@ void SwDocShell::Draw( OutputDevice* pDev, const JobSetup& rSetup,
// that would only lead to questionable results after expensive
// reformatting (Preview!)
JobSetup *pOrig = 0;
- if ( rSetup.GetPrinterName().Len() && ASPECT_THUMBNAIL != nAspect )
+ if ( !rSetup.GetPrinterName().isEmpty() && ASPECT_THUMBNAIL != nAspect )
{
pOrig = const_cast<JobSetup*>(pDoc->getJobsetup());
if( pOrig ) // then we copy that