summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-23 20:42:39 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-24 10:46:04 +0000
commit846c7b8a9b2a2b76ec3036a6fe22ace8ef9ed88a (patch)
treedc9efe818fe191a68c7b06581b3475dca250d961 /unotools
parent4cb4e600b5fc20e21326cfa03af080a668643f4e (diff)
WaE: 4.6.0 unused variables
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/i18n/localedatawrapper.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/unotools/source/i18n/localedatawrapper.cxx b/unotools/source/i18n/localedatawrapper.cxx
index 212454c8bde0..2539e9c82086 100644
--- a/unotools/source/i18n/localedatawrapper.cxx
+++ b/unotools/source/i18n/localedatawrapper.cxx
@@ -1400,18 +1400,14 @@ sal_Unicode* LocaleDataWrapper::ImplAddFormatNum( sal_Unicode* pBuf,
sal_Unicode* pNumBuf;
USHORT nNumLen;
USHORT i = 0;
- BOOL bNeg;
// negative number
if ( nNumber < 0 )
{
nNumber *= -1;
- bNeg = TRUE;
*pBuf = '-';
pBuf++;
}
- else
- bNeg = FALSE;
// convert number
pNumBuf = ImplAddUNum( aNumBuf, (sal_uInt64)nNumber );