summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/drawview.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/drawview.cxx')
-rw-r--r--sc/source/ui/view/drawview.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx
index 50d8f32334b1..ca90f26daaa8 100644
--- a/sc/source/ui/view/drawview.cxx
+++ b/sc/source/ui/view/drawview.cxx
@@ -1115,7 +1115,7 @@ SdrObject* ScDrawView::ApplyGraphicToObject(
const Graphic& rGraphic,
const OUString& rBeginUndoText,
const OUString& rFile,
- const OUString& rFilter)
+ std::u16string_view rFilter)
{
if(dynamic_cast< SdrGrafObj* >(&rHitObject))
{
@@ -1126,7 +1126,7 @@ SdrObject* ScDrawView::ApplyGraphicToObject(
ReplaceObjectAtView(&rHitObject, *GetSdrPageView(), pNewGrafObj);
// set in all cases - the Clone() will have copied an existing link (!)
- pNewGrafObj->SetGraphicLink( rFile, ""/*TODO?*/, rFilter );
+ pNewGrafObj->SetGraphicLink( rFile, u""/*TODO?*/, rFilter );
EndUndo();
return pNewGrafObj;