regards
From 1a50712d282fd282ab53deb2fd7fb2e5acfa3807 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pierre-Andr=C3=A9=20Jacquod?= <pjacquod@alumni.ethz.ch>
Date: Sat, 4 Dec 2010 21:23:38 +0100
Subject: [PATCH 14/16] fix warning unused param in binfilter bf_sw txtnode
---
binfilter/bf_sw/source/core/txtnode/sw_atrfld.cxx | 4 ++--
.../bf_sw/source/core/txtnode/sw_atrflyin.cxx | 4 ++--
binfilter/bf_sw/source/core/txtnode/sw_atrftn.cxx | 4 ++--
binfilter/bf_sw/source/core/txtnode/sw_atrref.cxx | 4 ++--
binfilter/bf_sw/source/core/txtnode/sw_fmtatr2.cxx | 3 ++-
.../bf_sw/source/core/txtnode/sw_fntcache.cxx | 4 ++--
binfilter/bf_sw/source/core/txtnode/sw_fntcap.cxx | 2 +-
7 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/binfilter/bf_sw/source/core/txtnode/sw_atrfld.cxx
b/binfilter/bf_sw/source/core/txtnode/sw_atrfld.cxx
index e0f6696..ac6a86b 100644
--- a/binfilter/bf_sw/source/core/txtnode/sw_atrfld.cxx
+++ b/binfilter/bf_sw/source/core/txtnode/sw_atrfld.cxx
@@ -115,9 +115,9 @@ namespace binfilter {
/*N*/ }
/*N*/ }
-int SwFmtFld::operator==( const SfxPoolItem& rAttr ) const
+int SwFmtFld::operator==( const SfxPoolItem& /*rAttr*/ ) const
{
- DBG_BF_ASSERT(0, "STRIP"); return 0; //STRIP001 ASSERT( SfxPoolItem::operator==(
rAttr ), "keine gleichen Attribute" );
+ DBG_BF_ASSERT(0, "STRIP"); return 0;
}
/*N*/ SfxPoolItem* SwFmtFld::Clone( SfxItemPool* ) const
diff --git a/binfilter/bf_sw/source/core/txtnode/sw_atrflyin.cxx
b/binfilter/bf_sw/source/core/txtnode/sw_atrflyin.cxx
index 791a7ed..b93a5f2 100644
--- a/binfilter/bf_sw/source/core/txtnode/sw_atrflyin.cxx
+++ b/binfilter/bf_sw/source/core/txtnode/sw_atrflyin.cxx
@@ -54,9 +54,9 @@ namespace binfilter {
/*N*/ {
/*N*/ }
-int __EXPORT SwFmtFlyCnt::operator==( const SfxPoolItem& rAttr ) const
+int __EXPORT SwFmtFlyCnt::operator==( const SfxPoolItem& /*rAttr*/ ) const
{
- DBG_BF_ASSERT(0, "STRIP"); return 0; //STRIP001 ASSERT( SfxPoolItem::operator==( rAttr ),
"keine gleichen Attribute" );
+ DBG_BF_ASSERT(0, "STRIP"); return 0;
}
/*N*/ SfxPoolItem* __EXPORT SwFmtFlyCnt::Clone( SfxItemPool* ) const
diff --git a/binfilter/bf_sw/source/core/txtnode/sw_atrftn.cxx
b/binfilter/bf_sw/source/core/txtnode/sw_atrftn.cxx
index 0043556..a5a4dd8 100644
--- a/binfilter/bf_sw/source/core/txtnode/sw_atrftn.cxx
+++ b/binfilter/bf_sw/source/core/txtnode/sw_atrftn.cxx
@@ -71,9 +71,9 @@ namespace binfilter {
/*N*/ }
-int SwFmtFtn::operator==( const SfxPoolItem& rAttr ) const
+int SwFmtFtn::operator==( const SfxPoolItem& /*rAttr*/ ) const
{
- {DBG_BF_ASSERT(0, "STRIP");} return 0;//STRIP001 ASSERT( SfxPoolItem::operator==( rAttr ),
"keine gleichen Attribute" );
+ {DBG_BF_ASSERT(0, "STRIP");} return 0;
}
diff --git a/binfilter/bf_sw/source/core/txtnode/sw_atrref.cxx
b/binfilter/bf_sw/source/core/txtnode/sw_atrref.cxx
index efb6704..fbb2824 100644
--- a/binfilter/bf_sw/source/core/txtnode/sw_atrref.cxx
+++ b/binfilter/bf_sw/source/core/txtnode/sw_atrref.cxx
@@ -60,9 +60,9 @@ namespace binfilter {
/*N*/ {
/*N*/ }
-int SwFmtRefMark::operator==( const SfxPoolItem& rAttr ) const
+int SwFmtRefMark::operator==( const SfxPoolItem& /*rAttr*/ ) const
{
- {DBG_BF_ASSERT(0, "STRIP");} return 0;//STRIP001 ASSERT( SfxPoolItem::operator==( rAttr ),
"keine gleichen Attribute" );
+ {DBG_BF_ASSERT(0, "STRIP");} return 0;
}
/*N*/ SfxPoolItem* SwFmtRefMark::Clone( SfxItemPool* ) const
diff --git a/binfilter/bf_sw/source/core/txtnode/sw_fmtatr2.cxx
b/binfilter/bf_sw/source/core/txtnode/sw_fmtatr2.cxx
index 5f8c188..3ecfea9 100644
--- a/binfilter/bf_sw/source/core/txtnode/sw_fmtatr2.cxx
+++ b/binfilter/bf_sw/source/core/txtnode/sw_fmtatr2.cxx
@@ -113,7 +113,8 @@ using namespace ::rtl;
/*N*/ {
/*N*/ return pTxtAttr ? pTxtAttr->GetInfo( rInfo ) : FALSE;
/*N*/ }
-/*N*/ bool SwFmtCharFmt::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
+
+/*N*/ bool SwFmtCharFmt::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/ ) const
/*N*/ {
/*N*/ String sCharFmtName;
/*N*/ if(GetCharFmt())
diff --git a/binfilter/bf_sw/source/core/txtnode/sw_fntcache.cxx
b/binfilter/bf_sw/source/core/txtnode/sw_fntcache.cxx
index 6412152..aa008d8 100644
--- a/binfilter/bf_sw/source/core/txtnode/sw_fntcache.cxx
+++ b/binfilter/bf_sw/source/core/txtnode/sw_fntcache.cxx
@@ -236,7 +236,7 @@ extern USHORT UnMapDirection( USHORT nDir, const BOOL bVertFormat );
*
*************************************************************************/
-/*N*/ void SwFntObj::CreateScrFont( const ViewShell *pSh, const OutputDevice& rOut )
+/*N*/ void SwFntObj::CreateScrFont( const ViewShell* /*pSh*/, const OutputDevice& /*rOut*/ )
/*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001
/*N*/ }
@@ -377,7 +377,7 @@ extern USHORT UnMapDirection( USHORT nDir, const BOOL bVertFormat );
*************************************************************************/
-/*N*/ sal_Bool lcl_IsMonoSpaceFont( const OutputDevice* pOut )
+/*N*/ sal_Bool lcl_IsMonoSpaceFont( const OutputDevice* /*pOut*/ )
/*N*/ {DBG_BF_ASSERT(0, "STRIP"); return sal_False; //STRIP001
/*N*/ }
diff --git a/binfilter/bf_sw/source/core/txtnode/sw_fntcap.cxx
b/binfilter/bf_sw/source/core/txtnode/sw_fntcap.cxx
index 7c95478..e37db88 100644
--- a/binfilter/bf_sw/source/core/txtnode/sw_fntcap.cxx
+++ b/binfilter/bf_sw/source/core/txtnode/sw_fntcap.cxx
@@ -146,7 +146,7 @@ public:
const Size &GetSize() const { return aTxtSize; }
};
-/*N*/ void SwDoGetCapitalSize::Init( SwFntObj *pUpperFont, SwFntObj *pLowerFont )
+/*N*/ void SwDoGetCapitalSize::Init( SwFntObj* /*pUpperFont*/, SwFntObj* /*pLowerFont*/ )
/*N*/ {
/*N*/ aTxtSize.Height() = 0;
/*N*/ aTxtSize.Width() = 0;
--
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.