summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-25 15:35:54 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-25 15:38:54 +0000
commit52bb216897b90a7ae37c6ba8fde3fdd9ce94ede0 (patch)
tree84758cbd2ba337f5c21c541d9cd064fb26f2c2b3 /basic
parent00856ee8107fa2d30e324bd6e5bcf3549c1e56d3 (diff)
tweak the ifdefs to clarify the unused SbxDecimal methods
Diffstat (limited to 'basic')
-rw-r--r--basic/source/sbx/sbxdec.cxx16
1 files changed, 0 insertions, 16 deletions
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: */