summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2019-11-23 20:25:07 +0100
committerJulien Nabet <serval2412@yahoo.fr>2019-11-23 23:51:35 +0100
commit4e1ae2a9a0d2d9185b49677fa4ea2a2b1fe8bab2 (patch)
tree0337a97264ee26ac753ebf66b15f45555e2e0e0d /cui
parente6ab01ce532d1db01579b70bd476b2f643522bf9 (diff)
cppcheck: performing init in init list (comphelper/connectivity/cppu/cui)
Change-Id: I786c2c10e8b37b48adf6d619c0fa6a905de1bf7f Reviewed-on: https://gerrit.libreoffice.org/83584 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/certpath.cxx4
-rw-r--r--cui/source/options/optjsearch.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/options/certpath.cxx b/cui/source/options/certpath.cxx
index c5b496c08440..5416a5488eee 100644
--- a/cui/source/options/certpath.cxx
+++ b/cui/source/options/certpath.cxx
@@ -26,10 +26,10 @@ CertPathDialog::CertPathDialog(weld::Window* pParent)
, m_xManualButton(m_xBuilder->weld_button("add"))
, m_xOKButton(m_xBuilder->weld_button("ok"))
, m_xCertPathList(m_xBuilder->weld_tree_view("paths"))
+ , m_sAddDialogText(m_xBuilder->weld_label("certdir")->get_label())
+ , m_sManualLabel(m_xBuilder->weld_label("manual")->get_label())
{
// these are just used to get translated strings
- m_sAddDialogText = m_xBuilder->weld_label("certdir")->get_label();
- m_sManualLabel = m_xBuilder->weld_label("manual")->get_label();
m_xCertPathList->set_size_request(m_xCertPathList->get_approximate_digit_width() * 70,
m_xCertPathList->get_height_rows(6));
diff --git a/cui/source/options/optjsearch.cxx b/cui/source/options/optjsearch.cxx
index 46a97e0848b2..4a2c31c49f76 100644
--- a/cui/source/options/optjsearch.cxx
+++ b/cui/source/options/optjsearch.cxx
@@ -46,9 +46,9 @@ SvxJSearchOptionsPage::SvxJSearchOptionsPage(weld::Container* pPage, weld::Dialo
, m_xIgnorePunctuation(m_xBuilder->weld_check_button("ignorepunctuation"))
, m_xIgnoreWhitespace(m_xBuilder->weld_check_button("ignorewhitespace"))
, m_xIgnoreMiddleDot(m_xBuilder->weld_check_button("ignoremiddledot"))
+ , nTransliterationFlags(TransliterationFlags::NONE)
+ , bSaveOptions(true)
{
- bSaveOptions = true;
- nTransliterationFlags = TransliterationFlags::NONE;
}
SvxJSearchOptionsPage::~SvxJSearchOptionsPage()