From 7d0f3695a20df18f5f6e609f70b8d1ef7825302b Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Mon, 9 Sep 2013 18:00:08 -0400 Subject: Correctly handle empty cells for string arrays too. Because we need to make a distinction between an empty cell and a string cell containing zero-length string, I decided to switch to using rtl_uString* array and use NULL values as empty cells. Change-Id: I5bedb593507f34782e41a8a900602d445e5b1f6f --- formula/source/core/api/vectortoken.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'formula/source') diff --git a/formula/source/core/api/vectortoken.cxx b/formula/source/core/api/vectortoken.cxx index 557e0c058595..b752f5d669ba 100644 --- a/formula/source/core/api/vectortoken.cxx +++ b/formula/source/core/api/vectortoken.cxx @@ -13,7 +13,7 @@ namespace formula { VectorRefArray::VectorRefArray() : mpNumericArray(NULL), mbNumeric(true) {} VectorRefArray::VectorRefArray( const double* pArray ) : mpNumericArray(pArray), mbNumeric(true) {} -VectorRefArray::VectorRefArray( const OUString* pArray ) : mpStringArray(pArray), mbNumeric(false) {} +VectorRefArray::VectorRefArray( rtl_uString** pArray ) : mpStringArray(pArray), mbNumeric(false) {} SingleVectorRefToken::SingleVectorRefToken( const double* pArray, size_t nLength ) : FormulaToken(svSingleVectorRef, ocPush), maArray(pArray), mnArrayLength(nLength) {} -- cgit