summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-24 12:22:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-25 08:32:16 +0200
commit80a30219c4c553ff22979b73dd97a8869d87e488 (patch)
treebd02d3d74650427602ec50b0ec654a7413ad8b6f /basctl
parent3fa0fc687d578afebedf13b7e83db9d1cf1ed4e0 (diff)
new loplugin:dodgyswitch
and fix bug in ScriptDocument::getTitle which has been there since commit e304ba66f4aba5cc55612508b5738a1ed26a7904 Date: Thu Mar 15 14:59:30 2007 +0000 INTEGRATION: CWS basmgr02 (1.1.2); FILE ADDED plugin is off by default since it uses expensive parentStmt() calls Change-Id: Id0f16baec48e0381e0083594d7e59b58b023da2f Reviewed-on: https://gerrit.libreoffice.org/43750 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/scriptdocument.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/scriptdocument.cxx b/basctl/source/basicide/scriptdocument.cxx
index 08522afcc985..733cebdbb679 100644
--- a/basctl/source/basicide/scriptdocument.cxx
+++ b/basctl/source/basicide/scriptdocument.cxx
@@ -1475,6 +1475,7 @@ namespace basctl
case LibraryType::All: aTitle = IDEResId(RID_STR_USERMACROSDIALOGS); break;
default:
break;
+ }
}
break;
case LIBRARY_LOCATION_SHARE:
@@ -1494,7 +1495,6 @@ namespace basctl
break;
default:
break;
- }
}
return aTitle;