summaryrefslogtreecommitdiff
path: root/sd/source/ui
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui')
-rw-r--r--sd/source/ui/animations/CustomAnimationDialog.cxx4
-rw-r--r--sd/source/ui/view/sdview4.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/animations/CustomAnimationDialog.cxx b/sd/source/ui/animations/CustomAnimationDialog.cxx
index 5110587f4245..67e0e0cc66b1 100644
--- a/sd/source/ui/animations/CustomAnimationDialog.cxx
+++ b/sd/source/ui/animations/CustomAnimationDialog.cxx
@@ -863,7 +863,7 @@ private:
void updateControlStates();
void fillSoundListBox();
void clearSoundListBox();
- sal_Int32 getSoundObject( const OUString& rStr );
+ sal_Int32 getSoundObject( std::u16string_view rStr );
void openSoundFileDialog();
void onSoundPreview();
weld::Window* GetFrameWeld() const { return mpDialog; }
@@ -1317,7 +1317,7 @@ void CustomAnimationEffectTabPage::clearSoundListBox()
mxLBSound->clear();
}
-sal_Int32 CustomAnimationEffectTabPage::getSoundObject( const OUString& rStr )
+sal_Int32 CustomAnimationEffectTabPage::getSoundObject( std::u16string_view rStr )
{
size_t i;
const size_t nCount = maSoundList.size();
diff --git a/sd/source/ui/view/sdview4.cxx b/sd/source/ui/view/sdview4.cxx
index 59aa0c396858..c1305607db13 100644
--- a/sd/source/ui/view/sdview4.cxx
+++ b/sd/source/ui/view/sdview4.cxx
@@ -427,7 +427,7 @@ IMPL_LINK_NOARG(View, DropInsertFileHdl, Timer *, void)
SdrGrafObj* pGrafObj = InsertGraphic( aGraphic, nTempAction, maDropPos, nullptr, nullptr );
if(pGrafObj && bLink)
{
- pGrafObj->SetGraphicLink( aCurrentDropFile, ""/*TODO?*/, OUString() );
+ pGrafObj->SetGraphicLink( aCurrentDropFile, u""/*TODO?*/, OUString() );
}
// return action from first inserted graphic