Surround printed struct/exception members with {...}
Change-Id: I41d661e5d89c784715e4e07a3c7f7f27737ba3e8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173831 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
This commit is contained in:
@@ -124,6 +124,7 @@ void printUnoValue(
|
||||
case css::uno::TypeClass_STRUCT:
|
||||
case css::uno::TypeClass_EXCEPTION:
|
||||
{
|
||||
out << '{';
|
||||
auto first = true;
|
||||
for (auto const & f: css::uno::Reference<css::reflection::XIdlClass>(
|
||||
reflections->forName(type.getTypeName()),
|
||||
@@ -137,6 +138,7 @@ void printUnoValue(
|
||||
out << f->getName() << ": ";
|
||||
printUnoValue(out, reflections, translateType(f->getType()), f->get(value));
|
||||
}
|
||||
out << '}';
|
||||
break;
|
||||
}
|
||||
case css::uno::TypeClass_INTERFACE:
|
||||
|
Reference in New Issue
Block a user