summaryrefslogtreecommitdiff
path: root/include/unotools/tempfile.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/unotools/tempfile.hxx')
-rw-r--r--include/unotools/tempfile.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/unotools/tempfile.hxx b/include/unotools/tempfile.hxx
index 60ae7710c59c..b7f691abb1cd 100644
--- a/include/unotools/tempfile.hxx
+++ b/include/unotools/tempfile.hxx
@@ -68,7 +68,7 @@ public:
@param bCreateParentDirs If rLeadingChars contains a slash, this will create the required
parent directories.
*/
- TempFile( const OUString& rLeadingChars, bool _bStartWithZero=true, const OUString* pExtension=nullptr,
+ TempFile( std::u16string_view rLeadingChars, bool _bStartWithZero=true, const OUString* pExtension=nullptr,
const OUString* pParent=nullptr, bool bCreateParentDirs=false );
TempFile(TempFile && other) noexcept;