diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-10-25 16:35:48 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-10-26 12:02:40 +0100 |
commit | c14b9d036ac8549feb588764b3596c0eb42cf97c (patch) | |
tree | 695b0e480549c55df4da70720b3669825b8b8228 /sfx2/source/appl | |
parent | 88ec5de1c950d5b9c32fb98054557436d2aa426d (diff) |
assemble SfxStyleFamilies from more generic resource components
Change-Id: I25aa0d8bca1f16f5fc27d3b299709479a1635ea3
Diffstat (limited to 'sfx2/source/appl')
-rw-r--r-- | sfx2/source/appl/module.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sfx2/source/appl/module.cxx b/sfx2/source/appl/module.cxx index 0b64e6f3158e..72d447b6ec26 100644 --- a/sfx2/source/appl/module.cxx +++ b/sfx2/source/appl/module.cxx @@ -292,18 +292,4 @@ FieldUnit SfxModule::GetFieldUnit() const return eUnit; } -SfxStyleFamilies* SfxModule::CreateStyleFamilies() -{ - SfxStyleFamilies *pStyleFamilies = nullptr; - ResMgr* pMgr = GetResMgr(); - if (pMgr) - { - ResId aFamId(DLG_STYLE_DESIGNER, *pMgr); - aFamId.SetRT(RSC_SFX_STYLE_FAMILIES); - if (pMgr->IsAvailable(aFamId)) - pStyleFamilies = new SfxStyleFamilies(aFamId); - } - return pStyleFamilies; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |