Kaydet (Commit) 22e800c4 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

There is no css::uno::Sequence<bool>

This partially reverts 78b9537b "various:
sal_Bool->bool."

Change-Id: I732b2fb2cca3e66b396a35645f12ae96a40163d5
üst e69c93d9
...@@ -114,7 +114,7 @@ void writeData_(oslFileHandle handle, char const * begin, sal_Int32 length) { ...@@ -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( ...@@ -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) { ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment