Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


regards


From 0b31675885126537da8351ba747cd6c6e7ad03fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pierre-Andr=C3=A9=20Jacquod?= <pjacquod@alumni.ethz.ch>
Date: Sat, 27 Nov 2010 00:06:37 +0100
Subject: [PATCH 4/7] binfilter -  sw_sw3style.cxx (shadowing) warnings removal

---
 binfilter/bf_sw/source/core/sw3io/sw_sw3style.cxx |   20 ++++++++++++++------
 1 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/binfilter/bf_sw/source/core/sw3io/sw_sw3style.cxx 
b/binfilter/bf_sw/source/core/sw3io/sw_sw3style.cxx
index db98772..e5fe502 100644
--- a/binfilter/bf_sw/source/core/sw3io/sw_sw3style.cxx
+++ b/binfilter/bf_sw/source/core/sw3io/sw_sw3style.cxx
@@ -187,10 +187,10 @@ public:
 
 ////////////////////////////////////////////////////////////////////////////
 
-/*N*/ SwStyleSheet::SwStyleSheet( const String& rName, SwStyleSheetPool& rPool,
-/*N*/                                                  SfxStyleFamily eFam, USHORT nMask )
-/*N*/  : SfxStyleSheetBase( rName, rPool, eFam, nMask ),
-/*N*/    rDoc( rPool.rDoc ), aSet( rPool.rPool,
+/*N*/ SwStyleSheet::SwStyleSheet( const String& rName, SwStyleSheetPool& rPool1,
+/*N*/                                                  SfxStyleFamily eFam, USHORT nMask1 )
+/*N*/  : SfxStyleSheetBase( rName, rPool1, eFam, nMask1 ),
+/*N*/    rDoc( rPool1.rDoc ), aSet( rPool1.rPool,
 /*N*/                  RES_CHRATR_BEGIN,               RES_CHRATR_END - 1,
 /*N*/                  RES_PARATR_BEGIN,               RES_PARATR_END - 1,
 /*N*/                  RES_FRMATR_BEGIN,               RES_FRMATR_END - 1,
@@ -426,11 +426,15 @@ public:
 /*N*/                  pParent = (*rDoc.GetFrmFmts())[ 0 ]; break;
 /*N*/          case SFX_STYLE_FAMILY_PARA:
 /*N*/                  pParent = (*rDoc.GetTxtFmtColls())[ 0 ]; break;
+            default:
+                break;
 /*N*/  }
 /*N*/  if( pParent )
 /*N*/          pFmt->SetDerivedFrom( pParent );
 /*N*/  else
+        {
 /*N*/          ASSERT( !this, "Parent nicht gefunden" );
+        }
 /*N*/ }
 
 // Setzen des Follows
@@ -447,7 +451,9 @@ public:
 /*N*/          if( pFollow )
 /*N*/                  GetColl()->SetNextTxtFmtColl( *pFollow );
 /*N*/          else
+            {
 /*N*/                  ASSERT( !this, "Follow nicht gefunden" );
+            }
 /*N*/  }
 /*N*/ }
 
@@ -998,7 +1004,9 @@ sal_Char const SW_CONSTASCII_DEF( sHTML_listing, "LISTING" );
 /*?*/                                  DBG_BF_ASSERT(0, "STRIP"); //STRIP001 
((SwConditionTxtFmtColl*)p->pFmt)->InsertCondition(
 /*?*/                          }
 /*?*/                          else
+                    {
 /*?*/                                  ASSERT( !this, "Collection nicht gefunden" );
+                    }
 /*N*/                  }
 /*N*/  }
 /*N*/ //FEATURE::CONDCOLL
@@ -1009,9 +1017,9 @@ sal_Char const SW_CONSTASCII_DEF( sHTML_listing, "LISTING" );
 // Faktorei
 
 /*N*/ SfxStyleSheetBase* __EXPORT SwStyleSheetPool::Create( const String& rName,
-/*N*/                                                                                   
SfxStyleFamily eFam, USHORT nMask)
+/*N*/                                                                                   
SfxStyleFamily eFam, USHORT nMask2)
 /*N*/ {
-/*N*/  return new SwStyleSheet( rName, *this, eFam, nMask);
+/*N*/  return new SwStyleSheet( rName, *this, eFam, nMask2);
 /*N*/ }
 
 
-- 
1.7.1


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.