summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-08-11 23:16:30 +0200
committerJulien Nabet <serval2412@yahoo.fr>2013-08-11 23:16:30 +0200
commitf0772f616b66665f8a5f53186f009146d36f1ef1 (patch)
treea0dc61989a06bddabf9595d6074fe423e6c28088 /chart2
parent87fe6ee8ebeb89f41b375594d1e40a1f9d2296b5 (diff)
Reduce scope
Change-Id: I1a0e8f92056c24740505e488a318aabd12a4df05
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/tools/ExplicitCategoriesProvider.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/tools/ExplicitCategoriesProvider.cxx b/chart2/source/tools/ExplicitCategoriesProvider.cxx
index 5c2b9aa48a5f..315f25f76048 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) )