summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/filter/PDFiumLibrary.hxx2
-rw-r--r--include/vcl/outdev.hxx2
-rw-r--r--include/vcl/pdfwriter.hxx2
-rw-r--r--include/vcl/textview.hxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/include/vcl/filter/PDFiumLibrary.hxx b/include/vcl/filter/PDFiumLibrary.hxx
index 1dc1382643d0..8140864171eb 100644
--- a/include/vcl/filter/PDFiumLibrary.hxx
+++ b/include/vcl/filter/PDFiumLibrary.hxx
@@ -233,7 +233,7 @@ struct VCL_DLLPUBLIC PDFiumLibrary final
// Tools
-VCL_DLLPUBLIC OUString convertPdfDateToISO8601(OUString const& rInput);
+VCL_DLLPUBLIC OUString convertPdfDateToISO8601(std::u16string_view rInput);
} // namespace vcl::pdf
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index d217b786bd15..928f49c3d614 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -1137,7 +1137,7 @@ public:
bool GetGlyphBoundRects( const Point& rOrigin, const OUString& rStr, int nIndex,
int nLen, std::vector< tools::Rectangle >& rVector ) const;
- sal_Int32 HasGlyphs( const vcl::Font& rFont, const OUString& rStr,
+ sal_Int32 HasGlyphs( const vcl::Font& rFont, std::u16string_view rStr,
sal_Int32 nIndex = 0, sal_Int32 nLen = -1 ) const;
tools::Long GetMinKashida() const;
diff --git a/include/vcl/pdfwriter.hxx b/include/vcl/pdfwriter.hxx
index 34da05a642da..d1543df7dde2 100644
--- a/include/vcl/pdfwriter.hxx
+++ b/include/vcl/pdfwriter.hxx
@@ -1076,7 +1076,7 @@ The following structure describes the permissions used in PDF security
@returns
the new structure element's id for use in SetCurrentStructureElement
*/
- sal_Int32 BeginStructureElement( enum StructElement eType, const OUString& rAlias );
+ sal_Int32 BeginStructureElement( enum StructElement eType, std::u16string_view rAlias );
/** end the current logical structure element
Close the current structure element. The current element's
diff --git a/include/vcl/textview.hxx b/include/vcl/textview.hxx
index 9b7255db8638..903e1b4fae2a 100644
--- a/include/vcl/textview.hxx
+++ b/include/vcl/textview.hxx
@@ -105,7 +105,7 @@ class VCL_DLLPUBLIC TextView final : public vcl::unohelper::DragAndDropClient
void ImpShowDDCursor();
bool ImplTruncateNewText( OUString& rNewText ) const;
- bool ImplCheckTextLen( const OUString& rNewText ) const;
+ bool ImplCheckTextLen( std::u16string_view rNewText ) const;
// DragAndDropClient
virtual void dragGestureRecognized( const css::datatransfer::dnd::DragGestureEvent& dge ) override;