sw/source/writerfilter/dmapper/DomainMapper_Impl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0d04f4957a6c264947ea75b0e700dac4ee983188
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Fri Oct 18 16:35:12 2024 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Fri Oct 18 19:49:26 2024 +0200

    tdf#163486: PVS: The same value is assigned twice
    
    V570    The same value is assigned twice to the 'pEntry' variable.
    
    Change-Id: I2c6a106f910a915065cdb3bc56a69e3873c3f3e4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175163
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/sw/source/writerfilter/dmapper/DomainMapper_Impl.cxx 
b/sw/source/writerfilter/dmapper/DomainMapper_Impl.cxx
index 85b8109c4920..75e758c40523 100644
--- a/sw/source/writerfilter/dmapper/DomainMapper_Impl.cxx
+++ b/sw/source/writerfilter/dmapper/DomainMapper_Impl.cxx
@@ -1559,7 +1559,7 @@ uno::Any 
DomainMapper_Impl::GetInheritedParaProperty(PropertyIds eId)
 {
     StyleSheetEntryPtr pEntry;
     if ( m_bInStyleSheetImport )
-        pEntry = pEntry = GetStyleSheetTable()->FindStyleSheetByISTD(
+        pEntry = GetStyleSheetTable()->FindStyleSheetByISTD(
             GetStyleSheetTable()->GetCurrentEntry()->m_sBaseStyleIdentifier);
     else
         pEntry = 
GetStyleSheetTable()->FindStyleSheetByConvertedStyleName(GetCurrentParaStyleName());

Reply via email to