Commits

tbe  committed e8873b4

#i12587# Inserting/editing arbitrary text objects in chart

  • Participants
  • Parent commits 05daf0b

Comments (0)

Files changed (1)

File chart2/source/controller/main/ElementSelector.cxx

             {
                 ListBoxEntryData aEntry;
                 SdrObject* pSelectedObj = DrawViewWrapper::getSdrObject( aSelectedOID.getAdditionalShape() );
-                ::rtl::OUString aName( pSelectedObj ? pSelectedObj->GetName() : ::rtl::OUString() );
+                ::rtl::OUString aName( pSelectedObj ? pSelectedObj->GetName() : String() );
                 aEntry.UIName = ( aName.getLength() > 0 ? aName : ::rtl::OUString( String( SchResId( STR_OBJECT_SHAPE ) ) ) );
                 aEntry.OID = aSelectedOID;
                 m_aEntries.push_back( aEntry );