[Libreoffice-commits] core.git: sw/source

Noel Grandin noel at peralex.com
Wed May 21 05:57:17 PDT 2014


 sw/source/core/uibase/app/docstyle.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e142ad49cee072e88ab47d6caa64adfa6df7d9fa
Author: Noel Grandin <noel at peralex.com>
Date:   Wed May 21 14:55:15 2014 +0200

    cid#708875 Unused pointer value
    
    Change-Id: I0cf85027a84482fd504b753bfc32ceb1c07241b4

diff --git a/sw/source/core/uibase/app/docstyle.cxx b/sw/source/core/uibase/app/docstyle.cxx
index 500bc59..848649c 100644
--- a/sw/source/core/uibase/app/docstyle.cxx
+++ b/sw/source/core/uibase/app/docstyle.cxx
@@ -1338,7 +1338,7 @@ void SwDocStyleSheet::SetItemSet( const SfxItemSet& rSet,
                         sal_uInt16 nPoolId = SwStyleNameMapper::GetPoolIdFromUIName( sNumRule, nsSwGetPoolIdFromName::GET_POOLID_NUMRULE );
                         if( USHRT_MAX != nPoolId ) // It's a standard numbering rule
                         {
-                            pRule = rDoc.GetNumRuleFromPool( nPoolId ); // Create numbering rule (physical)
+                            rDoc.GetNumRuleFromPool( nPoolId ); // Create numbering rule (physical)
                         }
                     }
                 }


More information about the Libreoffice-commits mailing list