diff options
Diffstat (limited to 'sd/source/ui/dlg/sdtreelb.cxx')
-rw-r--r-- | sd/source/ui/dlg/sdtreelb.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/sdtreelb.cxx b/sd/source/ui/dlg/sdtreelb.cxx index 4deac8d75f45..5f9741fb56e4 100644 --- a/sd/source/ui/dlg/sdtreelb.cxx +++ b/sd/source/ui/dlg/sdtreelb.cxx @@ -390,7 +390,7 @@ void SdPageObjsTLB::Clear() //Save the expanded tree item if (mbSaveTreeItemState) { - maSelectionEntryText = OUString(); + maSelectionEntryText.clear(); maTreeItem.clear(); if (GetCurEntry()) maSelectionEntryText = GetSelectEntry(); @@ -1536,7 +1536,7 @@ void SdPageObjsTLB::AddShapeToTransferable ( if (pDocShell != NULL) aObjectDescriptor.maDisplayName = pDocShell->GetMedium()->GetURLObject().GetURLNoPass(); else - aObjectDescriptor.maDisplayName = OUString(); + aObjectDescriptor.maDisplayName.clear(); aObjectDescriptor.mbCanLink = false; rTransferable.SetStartPos(aDragPos); |