regards
From 18b052aa37f4adb95f3250de4967b739bd14be11 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 20:07:52 +0100
Subject: [PATCH 10/16] fix warning unused var in binfilter bf_sw sw3io
---
binfilter/bf_sw/source/core/sw3io/sw_sw3field.cxx | 2 +-
binfilter/bf_sw/source/core/sw3io/sw_sw3imp.cxx | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/binfilter/bf_sw/source/core/sw3io/sw_sw3field.cxx
b/binfilter/bf_sw/source/core/sw3io/sw_sw3field.cxx
index e014201..fb043ad 100644
--- a/binfilter/bf_sw/source/core/sw3io/sw_sw3field.cxx
+++ b/binfilter/bf_sw/source/core/sw3io/sw_sw3field.cxx
@@ -2303,7 +2303,7 @@ SwAuthorityFieldType* lcl_sw3io_InAuthorityFieldType( Sw3IoImp& rIo )
ASSERT( !rIo.IsSw31Export(),
"Wer will denn da ein Script-Feld exportieren" );
- BYTE cFlags = ((SwScriptField*)pFld)->IsCodeURL() ? 0x01 : 0x00;
+ ((SwScriptField*)pFld)->IsCodeURL() ? 0x01 : 0x00;
String aCode;
if( ((SwScriptField*)pFld)->IsCodeURL() )
diff --git a/binfilter/bf_sw/source/core/sw3io/sw_sw3imp.cxx
b/binfilter/bf_sw/source/core/sw3io/sw_sw3imp.cxx
index 0bed171..d1cb2dc 100644
--- a/binfilter/bf_sw/source/core/sw3io/sw_sw3imp.cxx
+++ b/binfilter/bf_sw/source/core/sw3io/sw_sw3imp.cxx
@@ -424,7 +424,7 @@ public:
/*N*/ {
/*N*/ if( pDoc->GetDrawModel() )
/*N*/ {
-/*N*/ SdrPage *pPage = pDoc->GetDrawModel()->GetPage( 0 );
+/*N*/ pDoc->GetDrawModel()->GetPage( 0 );
/*N*/ SwHiddenDrawObjList_Impl::const_iterator aIter = pHiddenDrawObjs->begin();
/*N*/ while( aIter != pHiddenDrawObjs->end() )
/*N*/ {
@@ -1747,7 +1747,6 @@ const int RES_POOLCOLL_HTML_DT_40 = 0x3007;
/*N*/ // Autoformate in dieser Liste muessen mit einer
/*N*/ // Extension versehen werden!
/*N*/ sal_uInt16 nFmtId = 0;
-/*N*/ const String& rName = rFmt.GetName();
/*N*/ // TODO: unicode: correct?
/*N*/ if( rFmt.IsAuto() ) // Autoformat
/*N*/ nFmtId = Count()+1; //++nId;
--
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.