summaryrefslogtreecommitdiff
path: root/oox/qa
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2019-11-24 21:23:59 +0100
committerJulien Nabet <serval2412@yahoo.fr>2019-11-24 22:46:19 +0100
commitb9448acf3ce4c1c850a691fc33686fd5165b94d9 (patch)
tree4e7f9babc2fcbe1411363f5235741e2772a02068 /oox/qa
parentd2c9e289733df395b911a46c1028014f42e75f99 (diff)
cppcheck: performing init in init list (oox, package, sal, sax)
Change-Id: I77e28f02516ab25ff6680970dc13d52cfa90eac1 Reviewed-on: https://gerrit.libreoffice.org/83620 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'oox/qa')
-rw-r--r--oox/qa/unit/vba_compression.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/oox/qa/unit/vba_compression.cxx b/oox/qa/unit/vba_compression.cxx
index 9299a3de9eaa..0ade756e363f 100644
--- a/oox/qa/unit/vba_compression.cxx
+++ b/oox/qa/unit/vba_compression.cxx
@@ -54,8 +54,7 @@ public:
private:
static OUString const & getDebugDirUrl() {
struct DebugDirUrl {
- DebugDirUrl() {
- url = "$UserInstallation/debug/";
+ DebugDirUrl() : url("$UserInstallation/debug/") {
rtl::Bootstrap::expandMacros(url);
//TODO: provide an OUString -> OUString expansion function, and which throws on
// failure