diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-09-05 10:12:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-09-05 10:12:40 +0200 |
commit | 7a7a2c5495e9e03181843c327a0c28fd6e5e88bd (patch) | |
tree | 33b457dcc9ea71e5b38d7c7c6a5a0b064d8395bf /binaryurp/source/unmarshal.cxx | |
parent | a60f9112146b23566a6a0ff3a5109889f4b7c0b1 (diff) |
Cosmetics
Change-Id: I7b217c4fb48bbee4a2872d15cf23a955b464ffca
Diffstat (limited to 'binaryurp/source/unmarshal.cxx')
-rw-r--r-- | binaryurp/source/unmarshal.cxx | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/binaryurp/source/unmarshal.cxx b/binaryurp/source/unmarshal.cxx index 59b37e74347a..f0c9ef52456a 100644 --- a/binaryurp/source/unmarshal.cxx +++ b/binaryurp/source/unmarshal.cxx @@ -146,8 +146,7 @@ css::uno::TypeDescription Unmarshal::readType() { case typelib_TypeClass_ANY: if ((flags & 0x80) != 0) { throw css::io::IOException( - "binaryurp::Unmarshal: cache flag of simple type is" - " set", + "binaryurp::Unmarshal: cache flag of simple type is set", css::uno::Reference< css::uno::XInterface >()); } return css::uno::TypeDescription( @@ -163,8 +162,7 @@ css::uno::TypeDescription Unmarshal::readType() { if ((flags & 0x80) == 0) { if (idx == cache::ignore || !state_.typeCache[idx].is()) { throw css::io::IOException( - "binaryurp::Unmarshal: unknown type cache" - " index", + "binaryurp::Unmarshal: unknown type cache index", css::uno::Reference< css::uno::XInterface >()); } return state_.typeCache[idx]; @@ -176,8 +174,7 @@ css::uno::TypeDescription Unmarshal::readType() { { throw css::io::IOException( - "binaryurp::Unmarshal: type with unknown" - " name: " + str, + "binaryurp::Unmarshal: type with unknown name: " + str, css::uno::Reference< css::uno::XInterface >()); } for (css::uno::TypeDescription t2(t); @@ -189,16 +186,16 @@ css::uno::TypeDescription Unmarshal::readType() { t2.get())->pType); if (!t2.is()) { throw css::io::IOException( - "binaryurp::Unmarshal: sequence type with" - " unknown component type", + ("binaryurp::Unmarshal: sequence type with unknown" + " component type"), css::uno::Reference< css::uno::XInterface >()); } switch (t2.get()->eTypeClass) { case typelib_TypeClass_VOID: case typelib_TypeClass_EXCEPTION: throw css::io::IOException( - "binaryurp::Unmarshal: sequence type with" - " bad component type", + ("binaryurp::Unmarshal: sequence type with bad" + " component type"), css::uno::Reference< css::uno::XInterface >()); default: break; @@ -222,8 +219,7 @@ OUString Unmarshal::readOid() { for (sal_Int32 i = 0; i != oid.getLength(); ++i) { if (oid[i] > 0x7F) { throw css::io::IOException( - "binaryurp::Unmarshal: OID contains non-ASCII" - " character", + "binaryurp::Unmarshal: OID contains non-ASCII character", css::uno::Reference< css::uno::XInterface >()); } } |