bc4d465484
Let the templated makeAny(v) just call Any(v), so that any special handling of argument types needs to be only done for the Any ctor, not also for makeAny (both the original makeAny implementation and the Any ctor implementation internally use cppu::getTypeFavourUnsigned to determine the UNO type, so this does not cause any difference in behavior): * The specialization of makeAny for bool can be dropped. * The overload of makeAny for OUStringConcat is replaced with an overloaded Any ctor, so that Any(s + "foo") works now, too. Curiously, only the Any ctor had been deleted for a sal_uInt16 argument (which can conflict with sal_Unicode), but not makeAny. So introduce a specialization of makeAny for sal_uInt16, so that that continues to work. (For backwards compatiblity in the non-LIBO_INTERNAL_ONLY case; and in the LIBO_INIERNAL_ONLY case we're moving away from the sal_uInt16/sal_Unicode clash anyway thanks to C++11 char16_t, so it is arguably better to allow makeAny for sal_uIn16 than to prohibit it.) Change-Id: I7803703769730024863bb4e5b1b3416b81bd8960 |
||
---|---|---|
.. | ||
animations | ||
apple_remote | ||
avmedia | ||
basegfx | ||
basic | ||
canvas | ||
codemaker | ||
com/sun/star/uno | ||
comphelper | ||
connectivity | ||
cppcanvas | ||
cppu | ||
cppuhelper | ||
cppunittester | ||
dbaccess | ||
desktop | ||
drawinglayer | ||
editeng | ||
filter | ||
formula | ||
framework | ||
helpcompiler | ||
i18nlangtag | ||
i18nutil | ||
jvmaccess | ||
jvmfwk | ||
LibreOfficeKit | ||
linguistic | ||
o3tl | ||
oox | ||
opencl | ||
osl | ||
package | ||
registry | ||
rsc | ||
rtl | ||
sal | ||
salhelper | ||
sax | ||
sfx2 | ||
shell | ||
sot | ||
store | ||
svl | ||
svtools | ||
svx | ||
systools/win32 | ||
test | ||
toolkit | ||
tools | ||
touch | ||
tubes | ||
typelib | ||
ucbhelper | ||
uno | ||
unoidl | ||
unotest | ||
unotools | ||
vbahelper | ||
vcl | ||
wntgcci | ||
wntgccx | ||
xmloff | ||
xmlreader | ||
xmlscript | ||
default.rc | ||
postmac.h | ||
postwin.h | ||
premac.h | ||
prewin.h | ||
version.hrc |