openoffice-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jg ...@jgoettgens.de>
Subject Re: uno api problem
Date Sat, 06 Apr 2013 12:14:35 GMT
This might also work:

xPropertySet->setPropertyValue(L"CharFontName", makeAny(OUString((const 
sal_Unicode *)L"Corbel")));

Or, if the value is not a constant (MFC):

CStringW value;
...
OUString value((const sal_Unicode *)((LPCWSTR)value));
xPropertySet->setPropertyValue(L"CharFontName", Any(value));



jg

---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscribe@openoffice.apache.org
For additional commands, e-mail: api-help@openoffice.apache.org


Mime
View raw message