Kaydet (Commit) 5443d648 authored tarafından Luboš Luňák's avatar Luboš Luňák

fix string literals concatenation

Change-Id: I2dc86b3c24f22f4e52e25152a5741ecefad9c7d3
üst bc6b13b4
......@@ -2495,12 +2495,12 @@ void IUnknownWrapper_Impl::buildComTlbIndex()
}
else
{
sError = "[automation bridge] IUnknownWrapper_Impl::buildComTlbIndex, " \
sError = "[automation bridge] IUnknownWrapper_Impl::buildComTlbIndex, "
"ITypeInfo::GetNames failed.";
}
}
else
sError = "[automation bridge] IUnknownWrapper_Impl::buildComTlbIndex, " \
sError = "[automation bridge] IUnknownWrapper_Impl::buildComTlbIndex, "
"ITypeInfo::GetFuncDesc failed.";
}
......@@ -2524,18 +2524,18 @@ void IUnknownWrapper_Impl::buildComTlbIndex()
}
else
{
sError = "[automation bridge] IUnknownWrapper_Impl::buildComTlbIndex, " \
"ITypeInfo::GetNames failed.;
sError = "[automation bridge] IUnknownWrapper_Impl::buildComTlbIndex, "
"ITypeInfo::GetNames failed.";
}
}
else
sError = "[automation bridge] IUnknownWrapper_Impl::buildComTlbIndex, " \
sError = "[automation bridge] IUnknownWrapper_Impl::buildComTlbIndex, "
"ITypeInfo::GetVarDesc failed.";
}
}
else
sError = "[automation bridge] IUnknownWrapper_Impl::buildComTlbIndex, " \
sError = "[automation bridge] IUnknownWrapper_Impl::buildComTlbIndex, "
"ITypeInfo::GetTypeAttr failed.";
if (sError.getLength())
......
......@@ -643,7 +643,7 @@ void UnoConversionUtilities<T>::anyToVariant(VARIANT* pVariant, const Any& rAny,
throw BridgeRuntimeError(
"[automation bridge]UnoConversionUtilities<T>::anyToVariant \n"
"Conversion of any with +
"Conversion of any with " +
rAny.getValueType().getTypeName() +
" to VARIANT with type: " + OUString::valueOf((sal_Int32) type) +
" failed! Error code: " + OUString::valueOf(hr));
......
......@@ -401,7 +401,7 @@ void InterfaceOleWrapper_Impl::convertDispparamsArgs(DISPID id,
if( FAILED( hr))
{
throw BridgeRuntimeError(
"[automation bridge] Could not determine " +
"[automation bridge] Could not determine "
"if the object has a member \"0\". Error: " +
OUString::valueOf(hr));
}
......@@ -885,7 +885,7 @@ STDMETHODIMP InterfaceOleWrapper_Impl::Invoke(DISPID dispidMember,
}
catch(...)
{
OUString message= "InterfaceOleWrapper_Impl::Invoke : \n" +
OUString message= "InterfaceOleWrapper_Impl::Invoke : \n"
"Unexpected exception";
writeExcepinfo(pexcepinfo, message);
ret = DISP_E_EXCEPTION;
......@@ -978,7 +978,7 @@ HRESULT InterfaceOleWrapper_Impl::doInvoke( DISPPARAMS * pdispparams, VARIANT *
}
catch( ... )
{
OUString message= "InterfaceOleWrapper_Impl::doInvoke : \n" +
OUString message= "InterfaceOleWrapper_Impl::doInvoke : \n"
"Unexpected exception";
writeExcepinfo(pexcepinfo, message);
ret = DISP_E_EXCEPTION;
......@@ -1017,8 +1017,8 @@ HRESULT InterfaceOleWrapper_Impl::doGetProperty( DISPPARAMS * /*pdispparams*/, V
}
catch( ... )
{
OUString message= "InterfaceOleWrapper_Impl::doInvoke : \n" +
"Unexpected exception");
OUString message= "InterfaceOleWrapper_Impl::doInvoke : \n"
"Unexpected exception";
writeExcepinfo(pexcepinfo, message);
ret = DISP_E_EXCEPTION;
}
......@@ -1158,7 +1158,7 @@ HRESULT InterfaceOleWrapper_Impl::InvokeGeneral( DISPID dispidMember, unsigned s
if (createUnoTypeWrapper(arg.bstrVal, pvarResult) == false)
{
writeExcepinfo(pexcepinfo, "[automation bridge] InterfaceOleWrapper_Impl::InvokeGeneral\n" +
writeExcepinfo(pexcepinfo, "[automation bridge] InterfaceOleWrapper_Impl::InvokeGeneral\n"
"Could not initialize UnoTypeWrapper object!");
return DISP_E_EXCEPTION;
}
......@@ -1178,7 +1178,7 @@ HRESULT InterfaceOleWrapper_Impl::InvokeGeneral( DISPID dispidMember, unsigned s
}
catch( ... )
{
OUString message= "InterfaceOleWrapper_Impl::InvokeGeneral : \n" +
OUString message= "InterfaceOleWrapper_Impl::InvokeGeneral : \n"
"Unexpected exception";
writeExcepinfo(pexcepinfo, message);
ret = DISP_E_EXCEPTION;
......@@ -1579,7 +1579,7 @@ STDMETHODIMP UnoObjectWrapperRemoteOpt::Invoke ( DISPID dispidMember, REFIID /*
}
catch(...)
{
OUString message= "UnoObjectWrapperRemoteOpt::Invoke : \n" +
OUString message= "UnoObjectWrapperRemoteOpt::Invoke : \n"
"Unexpected exception";
writeExcepinfo(pexcepinfo, message);
ret = DISP_E_EXCEPTION;
......
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