sw/source/uibase/dochdl/swdtflvr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d52481325bc0dcc50af37d14cce68abfe9659564 Author: Stephan Bergmann <stephan.bergm...@allotropia.de> AuthorDate: Fri Dec 20 13:44:49 2024 +0100 Commit: Stephan Bergmann <stephan.bergm...@allotropia.de> CommitDate: Fri Dec 20 15:19:09 2024 +0100 The initialization of pResId is not used Change-Id: Ic8409352e347d01fe5cc15458d18f612084cccab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178913 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de> diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx index f6b1e9d9377a..ee105beab1f0 100644 --- a/sw/source/uibase/dochdl/swdtflvr.cxx +++ b/sw/source/uibase/dochdl/swdtflvr.cxx @@ -2174,7 +2174,6 @@ bool CanSkipInvalidateNumRules(const SwPosition& rInsertPosition) bool SwTransferable::PasteFileContent( const TransferableDataHelper& rData, SwWrtShell& rSh, SotClipboardFormatId nFormat, bool bMsg, bool bIgnoreComments ) { - TranslateId pResId = STR_CLPBRD_FORMAT_ERROR; bool bRet = false; MSE40HTMLClipFormatObj aMSE40ClpObj; @@ -2246,6 +2245,7 @@ bool SwTransferable::PasteFileContent( const TransferableDataHelper& rData, break; } + TranslateId pResId; if( pStream && pRead ) { Link<LinkParamNone*,void> aOldLink( rSh.GetChgLnk() );