Lines Matching refs:pVariant
126 void anyToVariant(VARIANT* pVariant, const Any& rAny);
127 void anyToVariant(VARIANT* pVariant, const Any& rAny, VARTYPE type);
149 void variantToAny(const VARIANT* pVariant, Any& rAny, sal_Bool bReduceValueRange = sal_True);
618 void UnoConversionUtilities<T>::anyToVariant(VARIANT* pVariant, const Any& rAny, VARTYPE type) in anyToVariant() argument
631 VariantClear( pVariant); in anyToVariant()
632 pVariant->vt= ::sal::static_int_cast< VARTYPE, int >( VT_ARRAY | type ); in anyToVariant()
633 pVariant->byref= ar; in anyToVariant()
638 anyToVariant(pVariant, rAny); in anyToVariant()
663 if(FAILED(hr = VariantCopy(pVariant, &var))) in anyToVariant()
698 void UnoConversionUtilities<T>::anyToVariant(VARIANT* pVariant, const Any& rAny) in anyToVariant() argument
710 createUnoObjectWrapper(rAny, pVariant); in anyToVariant()
725 pVariant->vt = VT_DATE; in anyToVariant()
726 pVariant->date = d.Value; in anyToVariant()
738 pVariant->vt = VT_DECIMAL; in anyToVariant()
739 pVariant->decVal.scale = d.Scale; in anyToVariant()
740 pVariant->decVal.sign = d.Sign; in anyToVariant()
741 pVariant->decVal.Lo32 = d.LowValue; in anyToVariant()
742 pVariant->decVal.Mid32 = d.MiddleValue; in anyToVariant()
743 pVariant->decVal.Hi32 = d.HighValue; in anyToVariant()
755 pVariant->vt = VT_CY; in anyToVariant()
756 pVariant->cyVal.int64 = c.Value; in anyToVariant()
768 pVariant->vt = VT_ERROR; in anyToVariant()
769 pVariant->scode = s.Value; in anyToVariant()
778 createUnoObjectWrapper(rAny, pVariant); in anyToVariant()
787 V_VT(pVariant) = VT_ARRAY | VT_VARIANT; in anyToVariant()
788 V_ARRAY(pVariant) = pArray; in anyToVariant()
799 if (FAILED(hr = VariantClear(pVariant))) in anyToVariant()
812 pVariant->vt = VT_BOOL; in anyToVariant()
813 pVariant->boolVal = value == sal_True? VARIANT_TRUE: VARIANT_FALSE; in anyToVariant()
825 pVariant->vt = VT_I2; in anyToVariant()
826 pVariant->iVal = value; in anyToVariant()
834 pVariant->vt = VT_BSTR; in anyToVariant()
835 pVariant->bstrVal = SysAllocString(reinterpret_cast<LPCOLESTR>(value.getStr())); in anyToVariant()
848 pVariant->vt = VT_R4; in anyToVariant()
849 pVariant->fltVal = value; in anyToVariant()
862 pVariant->vt = VT_R8; in anyToVariant()
863 pVariant->dblVal = value; in anyToVariant()
877 pVariant->vt = VT_UI1; in anyToVariant()
878 pVariant->bVal = value; in anyToVariant()
892 pVariant->vt = VT_I2; in anyToVariant()
893 pVariant->iVal = value; in anyToVariant()
904 pVariant->vt = VT_I4; in anyToVariant()
905 pVariant->lVal= value; in anyToVariant()
914 pVariant->vt = VT_I4; in anyToVariant()
915 pVariant->lVal= value; in anyToVariant()
926 pVariant->vt = VT_DECIMAL; in anyToVariant()
927 pVariant->decVal.scale = 0; in anyToVariant()
928 pVariant->decVal.sign = 0; in anyToVariant()
929 pVariant->decVal.Hi32 = 0; in anyToVariant()
935 pVariant->decVal.sign = DECIMAL_NEG; in anyToVariant()
937 pVariant->decVal.Lo64 = value; in anyToVariant()
942 pVariant->vt = VT_DECIMAL; in anyToVariant()
943 pVariant->decVal.scale = 0; in anyToVariant()
944 pVariant->decVal.sign = 0; in anyToVariant()
945 pVariant->decVal.Hi32 = 0; in anyToVariant()
949 pVariant->decVal.Lo64 = value; in anyToVariant()
962 if (FAILED(VariantCopy(pVariant, &var))) in anyToVariant()
1473 void UnoConversionUtilities<T>::variantToAny( const VARIANT* pVariant, Any& rAny, in variantToAny() argument
1482 if( FAILED(hr= VariantCopyInd( &var, const_cast<VARIANTARG*>(pVariant)))) // remove VT_BYREF in variantToAny()