From 461b4f32a40c16996b429c8aa5822eb0c191f397 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Thu, 4 Aug 2011 00:25:48 -0400 Subject: More String removal etc. --- sc/source/filter/html/htmlpars.cxx | 2 +- sc/source/filter/inc/eeparser.hxx | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'sc') diff --git a/sc/source/filter/html/htmlpars.cxx b/sc/source/filter/html/htmlpars.cxx index 3c8d66106a3c..9b1a3ba78e1c 100644 --- a/sc/source/filter/html/htmlpars.cxx +++ b/sc/source/filter/html/htmlpars.cxx @@ -1401,7 +1401,7 @@ void ScHTMLLayoutParser::Image( ImportInfo* pInfo ) break; } } - if ( !pImage->aURL.Len() ) + if (pImage->aURL.isEmpty()) { OSL_FAIL( "Image: Grafik ohne URL ?!?" ); return ; diff --git a/sc/source/filter/inc/eeparser.hxx b/sc/source/filter/inc/eeparser.hxx index 526bc0dc5619..dc1daf1c77f3 100644 --- a/sc/source/filter/inc/eeparser.hxx +++ b/sc/source/filter/inc/eeparser.hxx @@ -45,19 +45,19 @@ const sal_Char nHoriVerti = nHorizontal | nVertical; struct ScHTMLImage { - String aURL; + rtl::OUString aURL; Size aSize; Point aSpace; - String aFilterName; + rtl::OUString aFilterName; Graphic* pGraphic; // wird von WriteToDocument uebernommen sal_Char nDir; // 1==hori, 2==verti, 3==beides - ScHTMLImage() : - aSize( 0, 0 ), aSpace( 0, 0 ), pGraphic( NULL ), - nDir( nHorizontal ) - {} - ~ScHTMLImage() - { if ( pGraphic ) delete pGraphic; } + ScHTMLImage() : + aSize( 0, 0 ), aSpace( 0, 0 ), pGraphic( NULL ), + nDir( nHorizontal ) + {} + + ~ScHTMLImage() { delete pGraphic; } }; struct ScEEParseEntry -- cgit