diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-10-19 10:30:24 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-10-20 09:16:44 +0200 |
commit | 68486cc18e3b7fcfa97b472184ede43a76c2be15 (patch) | |
tree | c091bfda8a9c8b5f6e37824a2456d3e8a17ee20c /sax/source/tools | |
parent | 774a939f3be9bff97a43f8b5573ff6215b749842 (diff) |
Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: sax
Change-Id: I16c763164567293b096e132650c509cfc32fd407
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158215
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sax/source/tools')
-rw-r--r-- | sax/source/tools/fastserializer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/source/tools/fastserializer.cxx b/sax/source/tools/fastserializer.cxx index 50408e4dc284..0a5c227b7210 100644 --- a/sax/source/tools/fastserializer.cxx +++ b/sax/source/tools/fastserializer.cxx @@ -47,7 +47,7 @@ using ::com::sun::star::io::XOutputStream; const char sClosingBracket[] = ">"; const char sSlashAndClosingBracket[] = "/>"; -constexpr OStringLiteral sColon = ":"; +constexpr OString sColon = ":"_ostr; const char sOpeningBracket[] = "<"; const char sOpeningBracketAndSlash[] = "</"; const char sQuote[] = "\""; |