sw/source/uibase/dochdl/swdtflvr.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 2029893863ed06b8977088b57d59a6fce3b92a1e Author: Stephan Bergmann <stephan.bergm...@allotropia.de> AuthorDate: Thu Jan 9 14:40:43 2025 +0100 Commit: Stephan Bergmann <stephan.bergm...@allotropia.de> CommitDate: Thu Jan 9 15:59:46 2025 +0100 loplugin:stringconstant (in -DDEBUGPASTE-only code) Change-Id: I01f417f589393062afba2ffe0bbd07e7cf2e5344 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180018 Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de> Tested-by: Jenkins diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx index ee105beab1f0..6d4c5df1b84d 100644 --- a/sw/source/uibase/dochdl/swdtflvr.cxx +++ b/sw/source/uibase/dochdl/swdtflvr.cxx @@ -822,8 +822,8 @@ bool SwTransferable::WriteObject( SvStream& rOStream, xWrt->SetShowProgress(false); #if defined(DEBUGPASTE) - SvFileStream aPasteDebug(OUString( - "PASTEBUFFER.debug"), StreamMode::WRITE|StreamMode::TRUNC); + SvFileStream aPasteDebug( + u"PASTEBUFFER.debug"_ustr, StreamMode::WRITE|StreamMode::TRUNC); SwWriter aDbgWrt( aPasteDebug, *pDoc ); aDbgWrt.Write( xWrt ); #endif