diff options
author | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-12-20 13:44:49 +0100 |
---|---|---|
committer | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-12-20 15:19:09 +0100 |
commit | d52481325bc0dcc50af37d14cce68abfe9659564 (patch) | |
tree | 2563f19ae05fa899ad28cb2ca98ffdd859166548 /sw/source | |
parent | 33f0f08f675e3e933c919fc327e61687ce952490 (diff) |
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.bergmann@allotropia.de>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/uibase/dochdl/swdtflvr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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() ); |