diff options
Diffstat (limited to 'sc/source/ui/unoobj/chartuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/chartuno.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/unoobj/chartuno.cxx b/sc/source/ui/unoobj/chartuno.cxx index e4b485e6591f..9869d974a492 100644 --- a/sc/source/ui/unoobj/chartuno.cxx +++ b/sc/source/ui/unoobj/chartuno.cxx @@ -248,14 +248,14 @@ void SAL_CALL ScChartsObj::addNewByName( const OUString& rName, xReceiver.set( xCompSupp->getComponent(), uno::UNO_QUERY ); if( xReceiver.is()) { - String sRangeStr; + OUString sRangeStr; xNewRanges->Format(sRangeStr, SCR_ABS_3D, pDoc); // connect - if( sRangeStr.Len() ) + if( !sRangeStr.isEmpty() ) xReceiver->attachDataProvider( xDataProvider ); else - sRangeStr = OUString("all"); + sRangeStr = "all"; uno::Reference< util::XNumberFormatsSupplier > xNumberFormatsSupplier( pDocShell->GetModel(), uno::UNO_QUERY ); xReceiver->attachNumberFormatsSupplier( xNumberFormatsSupplier ); |