From ebcd29ab3b16ab93a523122a672c5f08fcbce4a0 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 5 May 2020 15:18:40 +0100 Subject: remove unused nSearchFamily and nMask members MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit and so SetSearchMask which doesn't have any effect anymore Change-Id: I0b7f402ce0317971d5196fc448fe2945a6a292f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93393 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- sfx2/source/styles/StyleManager.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'sfx2/source/styles') diff --git a/sfx2/source/styles/StyleManager.cxx b/sfx2/source/styles/StyleManager.cxx index 83fc314d8407..95bdeac80122 100644 --- a/sfx2/source/styles/StyleManager.cxx +++ b/sfx2/source/styles/StyleManager.cxx @@ -18,8 +18,6 @@ SfxStyleSheetBase* StyleManager::Search(const OUString& rStyleName, SfxStyleFami if (!pPool) return nullptr; - pPool->SetSearchMask(eFamily); - SfxStyleSheetBase* pStyle = pPool->First(eFamily); while (pStyle) { -- cgit