diff options
author | Stefan Heinemann <stefan.heinemann@codedump.ch> | 2015-09-25 13:06:09 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-09-29 18:33:40 +0000 |
commit | c50eb68af3096645246a77259bb3d1cc70eb6b63 (patch) | |
tree | a3f9442fa2d2c13464d1623f8bcf772b27426e72 /sw/source/core/docnode/node.cxx | |
parent | 491c2e24ac110c9ebdb1a483c34ae3d14ab0d615 (diff) |
Renamed wrongly prefixed boolean variables
Fixed tdf#94269
Change-Id: I63109cc4e095bad680d7637a065080ea368860ae
Reviewed-on: https://gerrit.libreoffice.org/18851
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sw/source/core/docnode/node.cxx')
-rw-r--r-- | sw/source/core/docnode/node.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sw/source/core/docnode/node.cxx b/sw/source/core/docnode/node.cxx index 75537b5920a5..64c7e59d9bae 100644 --- a/sw/source/core/docnode/node.cxx +++ b/sw/source/core/docnode/node.cxx @@ -156,7 +156,7 @@ bool Put( std::shared_ptr<const SfxItemSet>& rpAttrSet, const SwContentNode& rNo pStyleNames->Put( aNewSet ); } - const bool nRet = aNewSet.Put( rSet ); + const bool bRet = aNewSet.Put( rSet ); // #i76273# Robust if ( pStyleNames ) @@ -165,10 +165,10 @@ bool Put( std::shared_ptr<const SfxItemSet>& rpAttrSet, const SwContentNode& rNo delete pStyleNames; } - if ( nRet ) + if ( bRet ) GetNewAutoStyle( rpAttrSet, rNode, aNewSet ); - return nRet; + return bRet; } bool Put_BC( std::shared_ptr<const SfxItemSet>& rpAttrSet, @@ -182,12 +182,12 @@ bool Put_BC( std::shared_ptr<const SfxItemSet>& rpAttrSet, if( rNode.GetModifyAtAttr() ) aNewSet.SetModifyAtAttr( &rNode ); - const bool nRet = aNewSet.Put_BC( rAttr, pOld, pNew ); + const bool bRet = aNewSet.Put_BC( rAttr, pOld, pNew ); - if ( nRet ) + if ( bRet ) GetNewAutoStyle( rpAttrSet, rNode, aNewSet ); - return nRet; + return bRet; } bool Put_BC( std::shared_ptr<const SfxItemSet>& rpAttrSet, @@ -209,7 +209,7 @@ bool Put_BC( std::shared_ptr<const SfxItemSet>& rpAttrSet, if( rNode.GetModifyAtAttr() ) aNewSet.SetModifyAtAttr( &rNode ); - const bool nRet = aNewSet.Put_BC( rSet, pOld, pNew ); + const bool bRet = aNewSet.Put_BC( rSet, pOld, pNew ); // #i76273# Robust if ( pStyleNames ) @@ -218,10 +218,10 @@ bool Put_BC( std::shared_ptr<const SfxItemSet>& rpAttrSet, delete pStyleNames; } - if ( nRet ) + if ( bRet ) GetNewAutoStyle( rpAttrSet, rNode, aNewSet ); - return nRet; + return bRet; } sal_uInt16 ClearItem_BC( std::shared_ptr<const SfxItemSet>& rpAttrSet, |