Kaydet (Commit) f0772f61 authored tarafından Julien Nabet's avatar Julien Nabet

Reduce scope

Change-Id: I1a0e8f92056c24740505e488a318aabd12a4df05
üst 87fe6ee8
......@@ -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) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment