diff options
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/scriptdocument.cxx | 2 | ||||
-rw-r--r-- | basctl/source/dlged/managelang.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/basctl/source/basicide/scriptdocument.cxx b/basctl/source/basicide/scriptdocument.cxx index 16e73e6da2f0..2cf0a44dcaf5 100644 --- a/basctl/source/basicide/scriptdocument.cxx +++ b/basctl/source/basicide/scriptdocument.cxx @@ -1087,7 +1087,7 @@ namespace basctl for (auto const& doc : aDocuments) { - const ScriptDocument aCheck = ScriptDocument( doc.xModel ); + const ScriptDocument aCheck( doc.xModel ); if ( _rUrlOrCaption == aCheck.getTitle() || _rUrlOrCaption == aCheck.m_pImpl->getURL() ) diff --git a/basctl/source/dlged/managelang.cxx b/basctl/source/dlged/managelang.cxx index d23563714196..2c10c81c0eab 100644 --- a/basctl/source/dlged/managelang.cxx +++ b/basctl/source/dlged/managelang.cxx @@ -302,7 +302,7 @@ Sequence< Locale > SetDefaultLanguageDialog::GetLocales() const bool bNotLocalized = !m_xLocalizationMgr->isLibraryLocalized(); if (bNotLocalized) { - LanguageType eType = LanguageType(m_xLanguageLB->get_selected_id().toUInt32()); + LanguageType eType(m_xLanguageLB->get_selected_id().toUInt32()); Sequence<Locale> aLocaleSeq(1); aLocaleSeq[0] = LanguageTag(eType).getLocale(); return aLocaleSeq; @@ -313,7 +313,7 @@ Sequence< Locale > SetDefaultLanguageDialog::GetLocales() const { if (m_xCheckLangLB->get_toggle(i, 0) == TRISTATE_TRUE) { - LanguageType eType = LanguageType(m_xCheckLangLB->get_id(i).toUInt32()); + LanguageType eType(m_xCheckLangLB->get_id(i).toUInt32()); aLocaleSeq.push_back(LanguageTag::convertToLocale(eType)); } } |