diff options
Diffstat (limited to 'codemaker/source/javamaker')
-rw-r--r-- | codemaker/source/javamaker/javatype.cxx | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/codemaker/source/javamaker/javatype.cxx b/codemaker/source/javamaker/javatype.cxx index ea929455eccc..b168cf2cd216 100644 --- a/codemaker/source/javamaker/javatype.cxx +++ b/codemaker/source/javamaker/javatype.cxx @@ -1768,8 +1768,10 @@ void addBaseArguments( } firstField = 1; } else { - if (typeClass == RT_TYPE_STRUCT && (superTypes > 1 || fields == 0) - || typeClass == RT_TYPE_EXCEPTION && superTypes != 1) + if ( + (typeClass == RT_TYPE_STRUCT && (superTypes > 1 || fields == 0)) || + (typeClass == RT_TYPE_EXCEPTION && superTypes != 1) + ) { throw CannotDumpException( rtl::OString( @@ -1871,10 +1873,16 @@ void handleAggregatingType( RTL_CONSTASCII_STRINGPARAM("java/lang/RuntimeException")); runtimeException = true; } else { - if ((typeClass == RT_TYPE_STRUCT - && (fields == 0 - || (references == 0 ? superTypes > 1 : superTypes != 0))) - || typeClass == RT_TYPE_EXCEPTION && superTypes != 1) + if ( + ( + typeClass == RT_TYPE_STRUCT && + ( + fields == 0 || + (references == 0 ? superTypes > 1 : superTypes != 0) + ) + ) || + (typeClass == RT_TYPE_EXCEPTION && superTypes != 1) + ) { throw CannotDumpException( rtl::OString( |