diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-02-14 17:25:55 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-02-14 17:25:55 +0200 |
commit | 9d67b621c5c3247d8b7c983a81248d7dbde582fb (patch) | |
tree | 5e33edc0f5027486fda1d5c9d56f09187e746e88 /extensions | |
parent | c91d353872b7d4e1a39192bff1444b46cab6e5eb (diff) |
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
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/update/check/updatecheckconfig.cxx | 2 | ||||
-rw-r--r-- | extensions/source/update/check/updatecheckjob.cxx | 2 | ||||
-rw-r--r-- | extensions/source/update/ui/updatecheckui.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/update/check/updatecheckconfig.cxx b/extensions/source/update/check/updatecheckconfig.cxx index 554cf0d0e6db..344fc873ce7c 100644 --- a/extensions/source/update/check/updatecheckconfig.cxx +++ b/extensions/source/update/check/updatecheckconfig.cxx @@ -505,7 +505,7 @@ UpdateCheckConfig::getServiceNames() rtl::OUString UpdateCheckConfig::getImplName() { - return "vnd.sun.UpdateCheckConfig"; + return rtl::OUString("vnd.sun.UpdateCheckConfig"); } //------------------------------------------------------------------------------ diff --git a/extensions/source/update/check/updatecheckjob.cxx b/extensions/source/update/check/updatecheckjob.cxx index 8b30e4d5d505..e4ff941c5abb 100644 --- a/extensions/source/update/check/updatecheckjob.cxx +++ b/extensions/source/update/check/updatecheckjob.cxx @@ -175,7 +175,7 @@ UpdateCheckJob::getServiceNames() rtl::OUString UpdateCheckJob::getImplName() { - return "vnd.sun.UpdateCheck"; + return rtl::OUString("vnd.sun.UpdateCheck"); } diff --git a/extensions/source/update/ui/updatecheckui.cxx b/extensions/source/update/ui/updatecheckui.cxx index f5565f38742a..4176cab5cc02 100644 --- a/extensions/source/update/ui/updatecheckui.cxx +++ b/extensions/source/update/ui/updatecheckui.cxx @@ -75,7 +75,7 @@ static uno::Sequence< rtl::OUString > getServiceNames() static rtl::OUString getImplementationName() { - return "vnd.sun.UpdateCheckUI"; + return rtl::OUString("vnd.sun.UpdateCheckUI"); } //------------------------------------------------------------------------------ |