From 0748e529909c772036f5cb83c270329ca4e5f1a0 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 6 May 2014 14:47:59 +0300 Subject: WaE: 'bPrependCurrencySymbol' may be used uninitialized in this function Change-Id: I2a9807640ef25e30ea34aa017cf02221f355153f --- forms/source/component/Currency.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'forms/source/component/Currency.cxx') diff --git a/forms/source/component/Currency.cxx b/forms/source/component/Currency.cxx index c116afc86e98..66e94d3593f2 100644 --- a/forms/source/component/Currency.cxx +++ b/forms/source/component/Currency.cxx @@ -100,7 +100,7 @@ void OCurrencyModel::implConstruct() const LocaleDataWrapper& aLocaleInfo = aSysLocale.GetLocaleData(); OUString sCurrencySymbol; - bool bPrependCurrencySymbol; + bool bPrependCurrencySymbol = false; switch ( aLocaleInfo.getCurrPositiveFormat() ) { case 0: // $1 -- cgit