summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svl/source/items/style.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx
index be80f702e06c..9650cead61eb 100644
--- a/svl/source/items/style.cxx
+++ b/svl/source/items/style.cxx
@@ -601,13 +601,11 @@ bool SfxStyleSheetBasePool::SetParent(SfxStyleFamily eFam, const OUString& rStyl
return false;
}
-
void SfxStyleSheetBasePool::SetSearchMask(SfxStyleFamily eFam, SfxStyleSearchBits n)
{
nSearchFamily = eFam; nMask = n;
}
-
std::unique_ptr<SfxStyleSheetIterator> SfxStyleSheetBasePool::CreateIterator
(
SfxStyleFamily eFam,
@@ -805,8 +803,6 @@ void SfxStyleSheetBasePool::ChangeParent(const OUString& rOld,
const OUString& rNew,
bool bVirtual)
{
- const SfxStyleSearchBits nTmpMask = GetSearchMask();
- SetSearchMask(GetSearchFamily());
for( SfxStyleSheetBase* p = First(GetSearchFamily()); p; p = Next() )
{
if( p->GetParent() == rOld )
@@ -817,7 +813,6 @@ void SfxStyleSheetBasePool::ChangeParent(const OUString& rOld,
p->aParent = rNew;
}
}
- SetSearchMask(GetSearchFamily(), nTmpMask);
}
SfxStyleSheet::SfxStyleSheet(const OUString &rName,