diff options
Diffstat (limited to 'avmedia/source')
-rw-r--r-- | avmedia/source/framework/mediaitem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/avmedia/source/framework/mediaitem.cxx b/avmedia/source/framework/mediaitem.cxx index 3b83f3853ce8..f42065e8e81e 100644 --- a/avmedia/source/framework/mediaitem.cxx +++ b/avmedia/source/framework/mediaitem.cxx @@ -478,7 +478,7 @@ bool EmbedMedia(uno::Reference<frame::XModel> const& xModel, } bool CreateMediaTempFile(uno::Reference<io::XInputStream> const& xInStream, - OUString& o_rTempFileURL, const OUString& rDesiredExtension) + OUString& o_rTempFileURL, std::u16string_view rDesiredExtension) { OUString tempFileURL; ::osl::FileBase::RC const err = @@ -489,7 +489,7 @@ bool CreateMediaTempFile(uno::Reference<io::XInputStream> const& xInStream, return false; } - if (!rDesiredExtension.isEmpty()) + if (!rDesiredExtension.empty()) { OUString newTempFileURL = tempFileURL + rDesiredExtension; if (osl::File::move(tempFileURL, newTempFileURL) != osl::FileBase::E_None) |