diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-13 21:26:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-16 12:19:49 +0200 |
commit | f03310eac0162c8b582a0f5f6cb0489d29aaa488 (patch) | |
tree | 146f5e5d56ac7ec3a5e98d64704e999a27ea7539 /sfx2/source/styles | |
parent | f0d07c5b84300e508d49dfceb968cb6a0dae436c (diff) |
loplugin:sequentialassign in sfx2..solenv
Change-Id: I57e11d45aad48713b7c6802e2b6976fd916fc6ba
Reviewed-on: https://gerrit.libreoffice.org/70717
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/styles')
-rw-r--r-- | sfx2/source/styles/StyleManager.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/styles/StyleManager.cxx b/sfx2/source/styles/StyleManager.cxx index 6a78c09af54c..75ec9d9467a2 100644 --- a/sfx2/source/styles/StyleManager.cxx +++ b/sfx2/source/styles/StyleManager.cxx @@ -20,9 +20,8 @@ SfxStyleSheetBase* StyleManager::Search(const OUString& rStyleName, SfxStyleFami return nullptr; pPool->SetSearchMask(eFamily); - SfxStyleSheetBase* pStyle = nullptr; - pStyle = pPool->First(); + SfxStyleSheetBase* pStyle = pPool->First(); while (pStyle) { if (rStyleName == pStyle->GetName()) |