[Libreoffice-commits] core.git: chart2/source
Julien Nabet
serval2412 at yahoo.fr
Sun Aug 11 14:16:58 PDT 2013
chart2/source/tools/ExplicitCategoriesProvider.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f0772f616b66665f8a5f53186f009146d36f1ef1
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun Aug 11 23:16:30 2013 +0200
Reduce scope
Change-Id: I1a0e8f92056c24740505e488a318aabd12a4df05
diff --git a/chart2/source/tools/ExplicitCategoriesProvider.cxx b/chart2/source/tools/ExplicitCategoriesProvider.cxx
index 5c2b9aa..315f25f 100644
--- a/chart2/source/tools/ExplicitCategoriesProvider.cxx
+++ b/chart2/source/tools/ExplicitCategoriesProvider.cxx
@@ -468,12 +468,12 @@ bool lcl_fillDateCategories( const uno::Reference< data::XDataSequence >& xDataS
bIsDate = true;
bool bContainsEmptyString = false;
- bool bContainsNan = false;
uno::Any aAny = aValues[nN];
if( aAny.hasValue() )
{
OUString aTest;
double fTest = 0;
+ bool bContainsNan = false;
if( (aAny>>=aTest) && aTest.isEmpty() ) //empty String
bContainsEmptyString = true;
else if( (aAny>>=fTest) && ::rtl::math::isNan(fTest) )
More information about the Libreoffice-commits
mailing list