Fix compilation error with older GCC
The GCC 4.0 we still use for the "official" Mac OS X build says: "error: conversion from ‘const char*’ to non-scalar type ‘rtl::OUString’ requested." Sigh, I guess there might be lots more of these elsewhere in the code. Change-Id: Ifad5722bbadd465ebfca1ac3f0b55f07a6895e12
This commit is contained in:
@@ -505,7 +505,7 @@ UpdateCheckConfig::getServiceNames()
|
||||
rtl::OUString
|
||||
UpdateCheckConfig::getImplName()
|
||||
{
|
||||
return "vnd.sun.UpdateCheckConfig";
|
||||
return rtl::OUString("vnd.sun.UpdateCheckConfig");
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
@@ -175,7 +175,7 @@ UpdateCheckJob::getServiceNames()
|
||||
rtl::OUString
|
||||
UpdateCheckJob::getImplName()
|
||||
{
|
||||
return "vnd.sun.UpdateCheck";
|
||||
return rtl::OUString("vnd.sun.UpdateCheck");
|
||||
}
|
||||
|
||||
|
||||
|
@@ -75,7 +75,7 @@ static uno::Sequence< rtl::OUString > getServiceNames()
|
||||
|
||||
static rtl::OUString getImplementationName()
|
||||
{
|
||||
return "vnd.sun.UpdateCheckUI";
|
||||
return rtl::OUString("vnd.sun.UpdateCheckUI");
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user