diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-11 14:37:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-12 13:06:26 +0200 |
commit | d028c1be17c484fef8617490b46c66100b0e25bc (patch) | |
tree | 672ecc470737039f36558166112e3287a08e83bd /basctl | |
parent | 11e381c527ebd440e4d64d19a5bc27bdc9ea70fc (diff) |
loplugin:sequentialassign in accessiblity..canvas
Change-Id: I984717138ac85c1af5fc363fda06f5c2b5497965
Reviewed-on: https://gerrit.libreoffice.org/70641
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/baside3.cxx | 6 | ||||
-rw-r--r-- | basctl/source/basicide/moduldl2.cxx | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/basctl/source/basicide/baside3.cxx b/basctl/source/basicide/baside3.cxx index 4d32da54f77a..c0409fe8b924 100644 --- a/basctl/source/basicide/baside3.cxx +++ b/basctl/source/basicide/baside3.cxx @@ -998,8 +998,7 @@ bool implImportDialog(weld::Window* pWin, const OUString& rCurPath, const Script { const std::shared_ptr<LocalizationMgr>& pCurMgr = pShell->GetCurLocalizationMgr(); - lang::Locale aFirstLocale; - aFirstLocale = aOnlyInImportLanguages[0]; + lang::Locale aFirstLocale = aOnlyInImportLanguages[0]; if( nOnlyInImportLanguageCount > 1 ) { // Check if import default belongs to only import languages and use it then @@ -1244,8 +1243,7 @@ void DialogWindow::InitSettings() { // FIXME RenderContext const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings(); - vcl::Font aFont; - aFont = rStyleSettings.GetFieldFont(); + vcl::Font aFont = rStyleSettings.GetFieldFont(); SetPointFont(*this, aFont); SetTextColor( rStyleSettings.GetFieldTextColor() ); diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx index 9356357aa55f..30d593301b3b 100644 --- a/basctl/source/basicide/moduldl2.cxx +++ b/basctl/source/basicide/moduldl2.cxx @@ -697,8 +697,7 @@ void LibPage::InsertLib() // filter OUString aTitle(IDEResId(RID_STR_BASIC)); - OUString aFilter; - aFilter = "*.sbl;*.xlc;*.xlb" // library files + OUString aFilter = "*.sbl;*.xlc;*.xlb" // library files ";*.sdw;*.sxw;*.odt" // text ";*.vor;*.stw;*.ott" // text template ";*.sgl;*.sxg;*.odm" // master document @@ -1159,8 +1158,7 @@ void LibPage::ExportAsPackage( const OUString& aLibName ) // filter OUString aTitle(IDEResId(RID_STR_PACKAGE_BUNDLE)); - OUString aFilter; - aFilter = "*.oxt" ; // library files + OUString aFilter = "*.oxt" ; // library files xFP->appendFilter( aTitle, aFilter ); // set display directory and filter |