tdf#166932 UpdateStylesList followup
where I forgot to add an else statement. spotted by caolanm Change-Id: Ic228f081b1f07d4d7491c2ee5ecf7f46e64d4865 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186885 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -318,6 +318,7 @@ void StyleItemController::DrawEntry(vcl::RenderContext& rRenderContext,
|
||||
SfxStyleSheetBase* pStyle = nullptr;
|
||||
if (pStyleHint)
|
||||
pStyle = pStyleHint;
|
||||
else
|
||||
{
|
||||
pStyle = pPool->First(m_eStyleFamily);
|
||||
while (pStyle && pStyle->GetName() != m_aStyleName.first
|
||||
|
||||
Reference in New Issue
Block a user