New constructor that takes both numeric and string arrays.

Change-Id: I9c48f340a0349e5f1ba772fcd783924c79b07616
This commit is contained in:
Kohei Yoshida
2013-10-15 16:37:14 -04:00
parent 86c3961b4c
commit 3629a512b5
2 changed files with 3 additions and 0 deletions

View File

@@ -14,6 +14,8 @@ namespace formula {
VectorRefArray::VectorRefArray() : mpNumericArray(NULL), mpStringArray(NULL) {}
VectorRefArray::VectorRefArray( const double* pArray ) : mpNumericArray(pArray), mpStringArray(NULL) {}
VectorRefArray::VectorRefArray( rtl_uString** pArray ) : mpNumericArray(NULL), mpStringArray(pArray) {}
VectorRefArray::VectorRefArray( const double* pNumArray, rtl_uString** pStrArray ) :
mpNumericArray(pNumArray), mpStringArray(pStrArray) {}
bool VectorRefArray::isValid() const
{

View File

@@ -40,6 +40,7 @@ struct FORMULA_DLLPUBLIC VectorRefArray
VectorRefArray();
VectorRefArray( const double* pArray );
VectorRefArray( rtl_uString** pArray );
VectorRefArray( const double* pNumArray, rtl_uString** pStrArray );
bool isValid() const;
};