diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-02-18 08:20:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-02-19 16:23:50 +0000 |
commit | 5bdd1e9ee8f3ca9dc647998a8ec7b9415add01fe (patch) | |
tree | b03d3f1dd34b2cef7bfa38f5013f7aa3c063499a /svl | |
parent | 55dda63b297a287c9abc6ba2f19946817e8744e7 (diff) |
related coverity#984042 move potentially uninitialized scalar variables
Change-Id: I7cc181ca1cad1e8bce9cb44a7c2e2c7f534921e5
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/numbers/zformat.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index 759136f60016..94fa2c085959 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -3629,7 +3629,7 @@ bool SvNumberformat::ImpGetDateOutput(double fNumber, int nUseMonthCase = 0; // not decided yet OUString aOrgCalendar; // empty => not changed yet - double fOrgDateTime(0.); + double fOrgDateTime(0.0); bool bOtherCalendar = ImpIsOtherCalendar( NumFor[nIx] ); if ( bOtherCalendar ) { @@ -3851,7 +3851,7 @@ bool SvNumberformat::ImpGetDateTimeOutput(double fNumber, int nUseMonthCase = 0; // not decided yet OUString aOrgCalendar; // empty => not changed yet - double fOrgDateTime; + double fOrgDateTime(0.0); bool bOtherCalendar = ImpIsOtherCalendar( NumFor[nIx] ); if ( bOtherCalendar ) { |