From 52bb216897b90a7ae37c6ba8fde3fdd9ce94ede0 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 25 Jan 2012 15:35:54 +0000 Subject: tweak the ifdefs to clarify the unused SbxDecimal methods --- basic/source/sbx/sbxdec.cxx | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'basic') diff --git a/basic/source/sbx/sbxdec.cxx b/basic/source/sbx/sbxdec.cxx index 992bff0bd48e..5f37c460e670 100644 --- a/basic/source/sbx/sbxdec.cxx +++ b/basic/source/sbx/sbxdec.cxx @@ -428,7 +428,6 @@ bool SbxDecimal::getString( ::rtl::OUString& rString ) SbxDecimal* ImpCreateDecimal( SbxValues* p ) { -#ifdef WIN32 if( !p ) return NULL; @@ -439,15 +438,10 @@ SbxDecimal* ImpCreateDecimal( SbxValues* p ) rpDecimal->addRef(); } return rpDecimal; -#else - (void)p; - return NULL; -#endif } SbxDecimal* ImpGetDecimal( const SbxValues* p ) { -#ifdef WIN32 SbxValues aTmp; SbxDecimal* pnDecRes; @@ -563,16 +557,10 @@ start: SbxBase::SetError( SbxERR_CONVERSION ); pnDecRes->setShort( 0 ); } return pnDecRes; -#else - (void)p; - return NULL; -#endif } - void ImpPutDecimal( SbxValues* p, SbxDecimal* pDec ) { -#ifdef WIN32 if( !pDec ) return; @@ -739,10 +727,6 @@ start: default: SbxBase::SetError( SbxERR_CONVERSION ); } -#else - (void)p; - (void)pDec; -#endif } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit