summaryrefslogtreecommitdiff
path: root/embeddedobj
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-02 08:51:29 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-02 17:51:11 +0200
commit8e08e6c0ce6a7e5190cd9db7dc76e9774e9bb5a8 (patch)
treedd2b4433f24c0c96a5abe066c453e56651e7f967 /embeddedobj
parent0c34f61772a3d4b3169af869149bed5e4850eb14 (diff)
loplugin:stringview
Change-Id: I266dc947f9590f869ca7245d776263c692f02be5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133688 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'embeddedobj')
-rw-r--r--embeddedobj/source/msole/graphconvert.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/embeddedobj/source/msole/graphconvert.cxx b/embeddedobj/source/msole/graphconvert.cxx
index cadc1f946de9..f853f03dc19b 100644
--- a/embeddedobj/source/msole/graphconvert.cxx
+++ b/embeddedobj/source/msole/graphconvert.cxx
@@ -54,7 +54,7 @@ bool ConvertBufferToFormat( void* pBuf,
SvMemoryStream aMemoryStream(pBuf, nBufSize, StreamMode::READ);
GraphicFilter& rFilter = GraphicFilter::GetGraphicFilter();
sal_uInt16 nRetFormat = 0;
- if (rFilter.CanImportGraphic(OUString(), aMemoryStream, GRFILTER_FORMAT_DONTKNOW, &nRetFormat) == ERRCODE_NONE &&
+ if (rFilter.CanImportGraphic(u"", aMemoryStream, GRFILTER_FORMAT_DONTKNOW, &nRetFormat) == ERRCODE_NONE &&
rFilter.GetImportFormatMediaType(nRetFormat) == aMimeType)
{
aResult <<= uno::Sequence< sal_Int8 >( static_cast< const sal_Int8* >( aMemoryStream.GetData() ), aMemoryStream.TellEnd() );