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 --- include/formula/vectortoken.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/formula/vectortoken.hxx b/include/formula/vectortoken.hxx index 5186ca526922..9bc82f345e33 100644 --- a/include/formula/vectortoken.hxx +++ b/include/formula/vectortoken.hxx @@ -18,14 +18,14 @@ struct FORMULA_DLLPUBLIC VectorRefArray { union { const double* mpNumericArray; - const OUString* mpStringArray; + rtl_uString** mpStringArray; }; bool mbNumeric; VectorRefArray(); VectorRefArray( const double* pArray ); - VectorRefArray( const OUString* pArray ); + VectorRefArray( rtl_uString** pArray ); }; /** -- cgit