summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-01-20 16:36:06 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2012-01-20 16:36:54 -0500
commit5708d3dcb065247d5774dafbd7911bb5bab72849 (patch)
treeb8eb5bffc56833a3bef41db16f2f424e7734603f /sw
parent88869c1dd907c4851cd8671f0822a0d7c4fd3f36 (diff)
More on String to rtl::OUString changes.
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/ww8graf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8graf.cxx b/sw/source/filter/ww8/ww8graf.cxx
index 7aec55a324af..96860bd0aa98 100644
--- a/sw/source/filter/ww8/ww8graf.cxx
+++ b/sw/source/filter/ww8/ww8graf.cxx
@@ -2978,7 +2978,7 @@ SwFlyFrmFmt* SwWW8ImplReader::ImportReplaceableDrawables( SdrObject* &rpObject,
{
const SdrGrafObj *pGrf= (const SdrGrafObj*)rpObject;
bool bDone = false;
- if (pGrf->IsLinkedGraphic() && pGrf->GetFileName().Len())
+ if (pGrf->IsLinkedGraphic() && !pGrf->GetFileName().isEmpty())
{
GraphicType eType = pGrf->GetGraphicType();
String aGrfName(