Kaydet (Commit) 97839c67 authored tarafından Caolán McNamara's avatar Caolán McNamara

bogus cppcheck duplicateExpressionTernary warning

Change-Id: I9c6e7699790cc2e526a15daf8c5c25555aa30fc9
üst 04f66b00
......@@ -442,12 +442,14 @@ sal_Bool OleConverter_Impl2::supportsService(OUString const & ServiceName)
css::uno::Sequence<OUString> OleConverter_Impl2::getSupportedServiceNames()
throw (css::uno::RuntimeException, std::exception)
{
return m_nUnoWrapperClass == INTERFACE_OLE_WRAPPER_IMPL
? css::uno::Sequence<OUString>{
if (m_nUnoWrapperClass == INTERFACE_OLE_WRAPPER_IMPL)
{
return css::uno::Sequence<OUString>{
"com.sun.star.bridge.OleBridgeSupplier2",
"com.sun.star.bridge.oleautomation.BridgeSupplier"}
: css::uno::Sequence<OUString>{
"com.sun.star.bridge.OleBridgeSupplierVar1"};
"com.sun.star.bridge.oleautomation.BridgeSupplier"};
}
return css::uno::Sequence<OUString>{
"com.sun.star.bridge.OleBridgeSupplierVar1"};
}
// XInitialize ------------------------------------------------------------------------------
......
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