diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-05-05 15:18:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-05-05 20:15:02 +0200 |
commit | ebcd29ab3b16ab93a523122a672c5f08fcbce4a0 (patch) | |
tree | 61be5bcdb9de6f386d6ca0ada7d30ebabafa36dd /sc/source/ui | |
parent | f572f4f5e8ea3058b85c8aed7ee2647e4362de74 (diff) |
remove unused nSearchFamily and nMask members
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 <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/docshell/docsh6.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/view/formatsh.cxx | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/sc/source/ui/docshell/docsh6.cxx b/sc/source/ui/docshell/docsh6.cxx index b5bc2303d0e9..103d05e954de 100644 --- a/sc/source/ui/docshell/docsh6.cxx +++ b/sc/source/ui/docshell/docsh6.cxx @@ -204,7 +204,6 @@ SfxStyleSheetBasePool* ScDocShell::GetStyleSheetPool() static void lcl_AdjustPool( SfxStyleSheetBasePool* pStylePool ) { - pStylePool->SetSearchMask(SfxStyleFamily::Page); SfxStyleSheetBase *pStyle = pStylePool->First(SfxStyleFamily::Page); while ( pStyle ) { diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx index 3ee7479df5f3..48ee79cafaac 100644 --- a/sc/source/ui/view/formatsh.cxx +++ b/sc/source/ui/view/formatsh.cxx @@ -369,8 +369,6 @@ void ScFormatShell::ExecuteStyle( SfxRequest& rReq ) OUString aStyleName; sal_uInt16 nRetMask = 0xffff; - pStylePool->SetSearchMask( eFamily ); - switch ( nSlotId ) { case SID_STYLE_NEW: |