diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-09-03 09:33:39 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-09-03 09:34:00 +0200 |
commit | 37a6fdf890d49a20a57aeb41021dc0ff663cc628 (patch) | |
tree | ddc85350aacd58ced61263b4e34ed585e63c2933 /unotools | |
parent | 411e32244c7bff5fb64a049b1c63cf15ac166cd3 (diff) |
loplugin:stringconstant also for cases using char const v[] = "..."
Change-Id: Iba38686620624178a7be39d703389402bbcea4cb
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/bootstrap.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unotools/source/config/bootstrap.cxx b/unotools/source/config/bootstrap.cxx index 47bf2610a0c6..0d8f516046eb 100644 --- a/unotools/source/config/bootstrap.cxx +++ b/unotools/source/config/bootstrap.cxx @@ -414,14 +414,14 @@ static void addFileError(OUStringBuffer& _rBuf, OUString const& _aPath, AsciiStr _rBuf.append("The configuration file"); _rBuf.append(" '").append(sSimpleFileName).append("' "); - _rBuf.appendAscii(_sWhat).appendAscii(PERIOD); + _rBuf.appendAscii(_sWhat).append(PERIOD); } static void addMissingDirectoryError(OUStringBuffer& _rBuf, OUString const& _aPath) { _rBuf.append("The configuration directory"); _rBuf.append(" '").append(_aPath).append("' "); - _rBuf.appendAscii(IS_MISSING).appendAscii(PERIOD); + _rBuf.append(IS_MISSING).append(PERIOD); } static void addUnexpectedError(OUStringBuffer& _rBuf, AsciiString _sExtraInfo = NULL) @@ -429,7 +429,7 @@ static void addUnexpectedError(OUStringBuffer& _rBuf, AsciiString _sExtraInfo = if (NULL == _sExtraInfo) _sExtraInfo = "An internal failure occurred"; - _rBuf.appendAscii(_sExtraInfo).appendAscii(PERIOD); + _rBuf.appendAscii(_sExtraInfo).append(PERIOD); } static Bootstrap::FailureCode describeError(OUStringBuffer& _rBuf, Bootstrap::Impl const& _rData) |