diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-07-30 17:48:09 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-07-31 12:54:17 +0200 |
commit | 086ce5c2bb036ca8268f8bcb19099866f8561047 (patch) | |
tree | fc7fe096b455424bfdb63c7c4b0b47941948de7f /svtools/qa | |
parent | 06daea730e65b70f1a2c6adaeeeaa8fc2927a311 (diff) |
Improved loplugin:stringconstant (now that GCC 7 supports it): svtools
Change-Id: I4d42441adf5408e0281577078b0d5537acb02513
Reviewed-on: https://gerrit.libreoffice.org/76641
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svtools/qa')
-rw-r--r-- | svtools/qa/unit/testHtmlWriter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/qa/unit/testHtmlWriter.cxx b/svtools/qa/unit/testHtmlWriter.cxx index 86da936b8ce8..70ba5a50a6f2 100644 --- a/svtools/qa/unit/testHtmlWriter.cxx +++ b/svtools/qa/unit/testHtmlWriter.cxx @@ -26,7 +26,7 @@ OString extractFromStream(SvMemoryStream& rStream) rStream.WriteChar('\0'); rStream.Flush(); rStream.Seek(STREAM_SEEK_TO_BEGIN); - return OString(static_cast<const sal_Char*>(rStream.GetData())); + return static_cast<const sal_Char*>(rStream.GetData()); } } |