[Libreoffice-commits] .: binfilter/bf_sd binfilter/inc
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Sep 14 03:30:06 PDT 2011
binfilter/bf_sd/source/ui/inc/optsitem.hxx | 2 +-
binfilter/inc/bf_starmath/node.hxx | 2 +-
binfilter/inc/bf_starmath/utility.hxx | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit cca575c26d0ed1282524037e47a12c701d746bbe
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Sep 14 11:29:58 2011 +0100
WaE: keep this warning free
diff --git a/binfilter/bf_sd/source/ui/inc/optsitem.hxx b/binfilter/bf_sd/source/ui/inc/optsitem.hxx
index eeb3e30..6bba1bc 100644
--- a/binfilter/bf_sd/source/ui/inc/optsitem.hxx
+++ b/binfilter/bf_sd/source/ui/inc/optsitem.hxx
@@ -164,7 +164,7 @@ public:
BOOL IsDragStripes() const { Init(); return (BOOL) bDragStripes; }
BOOL IsHandlesBezier() const { Init(); return (BOOL) bHandlesBezier; }
BOOL IsHelplines() const { Init(); return (BOOL) bHelplines; }
- UINT16 GetMetric() const { Init(); return( ( 0xffff == nMetric ) ? FUNIT_INCH : nMetric ); }
+ UINT16 GetMetric() const { Init(); return( ( 0xffff == nMetric ) ? (UINT16)FUNIT_INCH : nMetric ); }
UINT16 GetDefTab() const { Init(); return nDefTab; }
void SetRulerVisible( BOOL bOn = TRUE ) { if( bRuler != bOn ) { OptionsChanged(); bRuler = bOn; } }
diff --git a/binfilter/inc/bf_starmath/node.hxx b/binfilter/inc/bf_starmath/node.hxx
index 0918f1b..f3d6d57 100644
--- a/binfilter/inc/bf_starmath/node.hxx
+++ b/binfilter/inc/bf_starmath/node.hxx
@@ -110,7 +110,7 @@ public:
virtual BOOL IsVisible() const { return FALSE; }
virtual USHORT GetNumSubNodes() const { return 0; }
- virtual SmNode * GetSubNode(USHORT nIndex) { return NULL; }
+ virtual SmNode * GetSubNode(USHORT /*nIndex*/) { return NULL; }
const SmNode * GetSubNode(USHORT nIndex) const
{
diff --git a/binfilter/inc/bf_starmath/utility.hxx b/binfilter/inc/bf_starmath/utility.hxx
index 1eeb5af..11c2feb 100644
--- a/binfilter/inc/bf_starmath/utility.hxx
+++ b/binfilter/inc/bf_starmath/utility.hxx
@@ -241,7 +241,7 @@ protected:
virtual void DestroyItem(void* /* pItem */)
{}
- virtual BOOL CompareItem(const void *pFirstItem, const void *pSecondItem) const
+ virtual BOOL CompareItem(const void * /*pFirstItem*/, const void * /*pSecondItem*/) const
{ return FALSE; }
virtual String GetStringItem(void *pItem);
More information about the Libreoffice-commits
mailing list