summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/filter/eppt/epptbase.hxx2
-rw-r--r--sd/source/filter/eppt/pptx-text.cxx2
-rw-r--r--sd/source/filter/ppt/pptinanimations.cxx2
-rw-r--r--sd/source/filter/ppt/pptinanimations.hxx2
-rw-r--r--sd/source/filter/sdfilter.cxx2
-rw-r--r--sd/source/ui/animations/CustomAnimationDialog.cxx4
-rw-r--r--sd/source/ui/view/sdview4.cxx2
7 files changed, 8 insertions, 8 deletions
diff --git a/sd/source/filter/eppt/epptbase.hxx b/sd/source/filter/eppt/epptbase.hxx
index 776a44e9fbb6..96665991e152 100644
--- a/sd/source/filter/eppt/epptbase.hxx
+++ b/sd/source/filter/eppt/epptbase.hxx
@@ -183,7 +183,7 @@ public:
~FontCollection();
- static short GetScriptDirection( const OUString& rText );
+ static short GetScriptDirection( std::u16string_view rText );
sal_uInt32 GetId( FontCollectionEntry& rFontDescriptor );
diff --git a/sd/source/filter/eppt/pptx-text.cxx b/sd/source/filter/eppt/pptx-text.cxx
index ba1129c6572b..f18c7c449ff1 100644
--- a/sd/source/filter/eppt/pptx-text.cxx
+++ b/sd/source/filter/eppt/pptx-text.cxx
@@ -1352,7 +1352,7 @@ FontCollection::FontCollection() :
xPPTBreakIter = css::i18n::BreakIterator::create( ::comphelper::getProcessComponentContext() );
}
-short FontCollection::GetScriptDirection( const OUString& rString )
+short FontCollection::GetScriptDirection( std::u16string_view rString )
{
short nRet = ScriptTypeDetector::getScriptDirection( rString, 0, css::i18n::ScriptDirection::NEUTRAL );
return nRet;
diff --git a/sd/source/filter/ppt/pptinanimations.cxx b/sd/source/filter/ppt/pptinanimations.cxx
index 5d029752154c..c833780473ac 100644
--- a/sd/source/filter/ppt/pptinanimations.cxx
+++ b/sd/source/filter/ppt/pptinanimations.cxx
@@ -3264,7 +3264,7 @@ void AnimationImporter::dump( const char * , const char * )
{
}
-void AnimationImporter::dump( const char * , const OUString& )
+void AnimationImporter::dump( const char * , std::u16string_view )
{
}
diff --git a/sd/source/filter/ppt/pptinanimations.hxx b/sd/source/filter/ppt/pptinanimations.hxx
index f7f59e8be854..b82072cdaf72 100644
--- a/sd/source/filter/ppt/pptinanimations.hxx
+++ b/sd/source/filter/ppt/pptinanimations.hxx
@@ -108,7 +108,7 @@ private:
void dump( const char * pText, sal_Int64 nInt );
static void dump( const char * pText, double fDouble );
static void dump( const char * pText, const char * pText2 );
- static void dump( const char * pText, const OUString& rString );
+ static void dump( const char * pText, std::u16string_view rString );
};
} // namespace ppt
diff --git a/sd/source/filter/sdfilter.cxx b/sd/source/filter/sdfilter.cxx
index a13f10e1592a..7e55cac4d1b8 100644
--- a/sd/source/filter/sdfilter.cxx
+++ b/sd/source/filter/sdfilter.cxx
@@ -50,7 +50,7 @@ SdFilter::~SdFilter()
{
}
-OUString SdFilter::ImplGetFullLibraryName( const OUString& rLibraryName )
+OUString SdFilter::ImplGetFullLibraryName( std::u16string_view rLibraryName )
{
return OUString(SVLIBRARY("?")).replaceFirst( "?", rLibraryName );
}
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