summaryrefslogtreecommitdiff
path: root/sw/source/uibase/dochdl/swdtflvr.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-06-05 10:47:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-06-05 12:53:41 +0200
commit2a3c206dfbba4677842b59d1ec22fd1ec957969a (patch)
treec21ede651d15477a2ae94c325564c1b2e2a308ca /sw/source/uibase/dochdl/swdtflvr.cxx
parenta2c7244ae1ea65345ba11c1ce2501dba34b51362 (diff)
Upcoming loplugin:elidestringvar: sw
Change-Id: I3805d7a0f8f0e93463a2285a1ce52f6a5daba27d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95578 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/source/uibase/dochdl/swdtflvr.cxx')
-rw-r--r--sw/source/uibase/dochdl/swdtflvr.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx
index b4e91dcec5f0..d33fc25d759e 100644
--- a/sw/source/uibase/dochdl/swdtflvr.cxx
+++ b/sw/source/uibase/dochdl/swdtflvr.cxx
@@ -782,8 +782,7 @@ bool SwTransferable::WriteObject( tools::SvRef<SotStorageStream>& xStream,
case SWTRANSFER_OBJECTTYPE_HTML:
{
// LOK is interested in getting images embedded for copy/paste support.
- const OUString aFilterOptions("EmbedImages");
- GetHTMLWriter( comphelper::LibreOfficeKit::isActive() ? aFilterOptions : OUString(), OUString(), xWrt );
+ GetHTMLWriter( comphelper::LibreOfficeKit::isActive() ? OUString("EmbedImages") : OUString(), OUString(), xWrt );
break;
}