summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-05-06 14:47:59 +0300
committerTor Lillqvist <tml@collabora.com>2014-05-06 14:47:59 +0300
commit0748e529909c772036f5cb83c270329ca4e5f1a0 (patch)
tree8bbe54b093779f4e28329bc5d90ecf1ae359e26e /forms
parenta1dd961c3093f5f7624e4d1f2240e9120fd13f23 (diff)
WaE: 'bPrependCurrencySymbol' may be used uninitialized in this function
Change-Id: I2a9807640ef25e30ea34aa017cf02221f355153f
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/Currency.cxx2
1 files changed, 1 insertions, 1 deletions
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