There is no css::uno::Sequence<bool>
This partially reverts 78b9537b6a
"various:
sal_Bool->bool."
Change-Id: I732b2fb2cca3e66b396a35645f12ae96a40163d5
This commit is contained in:
@@ -114,7 +114,7 @@ void writeData_(oslFileHandle handle, char const * begin, sal_Int32 length) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void writeValueContent_(oslFileHandle handle, bool value) {
|
void writeValueContent_(oslFileHandle handle, sal_Bool value) {
|
||||||
if (value) {
|
if (value) {
|
||||||
writeData_(handle, RTL_CONSTASCII_STRINGPARAM("true"));
|
writeData_(handle, RTL_CONSTASCII_STRINGPARAM("true"));
|
||||||
} else {
|
} else {
|
||||||
@@ -196,7 +196,7 @@ template< typename T > void writeItemListValue(
|
|||||||
void writeValue(oslFileHandle handle, Type type, css::uno::Any const & value) {
|
void writeValue(oslFileHandle handle, Type type, css::uno::Any const & value) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case TYPE_BOOLEAN:
|
case TYPE_BOOLEAN:
|
||||||
writeSingleValue< bool >(handle, value);
|
writeSingleValue< sal_Bool >(handle, value);
|
||||||
break;
|
break;
|
||||||
case TYPE_SHORT:
|
case TYPE_SHORT:
|
||||||
writeSingleValue< sal_Int16 >(handle, value);
|
writeSingleValue< sal_Int16 >(handle, value);
|
||||||
@@ -217,7 +217,7 @@ void writeValue(oslFileHandle handle, Type type, css::uno::Any const & value) {
|
|||||||
writeSingleValue< css::uno::Sequence< sal_Int8 > >(handle, value);
|
writeSingleValue< css::uno::Sequence< sal_Int8 > >(handle, value);
|
||||||
break;
|
break;
|
||||||
case TYPE_BOOLEAN_LIST:
|
case TYPE_BOOLEAN_LIST:
|
||||||
writeListValue< bool >(handle, value);
|
writeListValue< sal_Bool >(handle, value);
|
||||||
break;
|
break;
|
||||||
case TYPE_SHORT_LIST:
|
case TYPE_SHORT_LIST:
|
||||||
writeListValue< sal_Int16 >(handle, value);
|
writeListValue< sal_Int16 >(handle, value);
|
||||||
|
Reference in New Issue
Block a user