const OUString -> constexpr OUStringLiteral
commit8fb366c13ac1b23c455c32afc085bca2edff03bb
authorHossein <hossein@libreoffice.org>
Fri, 8 Oct 2021 17:55:46 +0000 (8 19:55 +0200)
committerMike Kaganski <mike.kaganski@collabora.com>
Fri, 8 Oct 2021 20:55:04 +0000 (8 22:55 +0200)
tree0abc25ef03b46c8605c6f566741fcd9755257a1c
parent09d544d0c025ebbc9b0cbd77043ce4e8b4ab6be3
const OUString -> constexpr OUStringLiteral

* Defining the constant strings as "constexpr OUStringLiteral"
  instead of using macros
* Changing "const OUString" to "constexpr OUStringLiteral" where
  possible
* Using "inline" in the header files to avoid duplicate copies of the
  global variable inside the files that included them

* Read more:
https://learncpp.com/cpp-tutorial/sharing-global-constants-across-multiple-files-using-inline-variables/

Change-Id: Ic0741c0044ff160734e641d072fef9be956815a3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123104
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
filter/source/svg/svgexport.cxx
filter/source/svg/svgfilter.hxx