summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat@free.fr>2011-10-17 12:08:37 +0200
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2011-10-17 12:44:07 +0200
commit6a15a2898b7f822ddfba23553dd127e25af15fff (patch)
treef508248524b74e62de196015f1643f11563f35e7
parent74b648ed610aaa14d02dbaa8dfd59f6c5becde63 (diff)
Styles cleanup: forgot to remove some bits
-rw-r--r--cui/source/options/treeopt.cxx7
-rw-r--r--sw/source/ui/app/appopt.cxx18
2 files changed, 1 insertions, 24 deletions
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index 57b8976c3f62..89855ac28fa4 100644
--- a/cui/source/options/treeopt.cxx
+++ b/cui/source/options/treeopt.cxx
@@ -415,9 +415,6 @@ static OptionsMapping_Impl const OptionsMap_Impl[] =
{ "Writer", "View", RID_SW_TP_CONTENT_OPT },
{ "Writer", "FormattingAids", RID_SW_TP_OPTSHDWCRSR },
{ "Writer", "Grid", RID_SVXPAGE_GRID },
- { "Writer", "BasicFontsWestern", RID_SW_TP_STD_FONT },
- { "Writer", "BasicFontsAsian", RID_SW_TP_STD_FONT_CJK },
- { "Writer", "BasicFontsCTL", RID_SW_TP_STD_FONT_CTL },
{ "Writer", "Print", RID_SW_TP_OPTPRINT_PAGE },
{ "Writer", "Table", RID_SW_TP_OPTTABLE_PAGE },
{ "Writer", "Changes", RID_SW_TP_REDLINE_OPT },
@@ -1933,9 +1930,7 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame )
nPageId = (sal_uInt16)rTextArray.GetValue(i);
if ( lcl_isOptionHidden( nPageId, aOptionsDlgOpt ) )
continue;
- if ( ( RID_SW_TP_STD_FONT_CJK != nPageId || aLanguageOptions.IsCJKFontEnabled() ) &&
- ( RID_SW_TP_STD_FONT_CTL != nPageId || aLanguageOptions.IsCTLFontEnabled() ) &&
- ( RID_SW_TP_MAILCONFIG != nPageId || MailMergeCfg_Impl().IsEmailSupported() ) )
+ if ( RID_SW_TP_MAILCONFIG != nPageId || MailMergeCfg_Impl().IsEmailSupported() )
AddTabPage( nPageId, rTextArray.GetString(i), nGroup );
}
#ifdef DBG_UTIL
diff --git a/sw/source/ui/app/appopt.cxx b/sw/source/ui/app/appopt.cxx
index 689e8759498e..9f1b7224551e 100644
--- a/sw/source/ui/app/appopt.cxx
+++ b/sw/source/ui/app/appopt.cxx
@@ -465,24 +465,6 @@ SfxTabPage* SwModule::CreateTabPage( sal_uInt16 nId, Window* pParent, const SfxI
pRet = SvxGridTabPage::Create(pParent, rSet);
break;
- case RID_SW_TP_STD_FONT:
- case RID_SW_TP_STD_FONT_CJK:
- case RID_SW_TP_STD_FONT_CTL:
- {
- SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
- if ( pFact )
- {
- ::CreateTabPage fnCreatePage = pFact->GetTabPageCreatorFunc( nId );
- if ( fnCreatePage )
- pRet = (*fnCreatePage)( pParent, rSet );
- }
- if(RID_SW_TP_STD_FONT != nId)
- {
- aSet.Put (SfxUInt16Item(SID_FONTMODE_TYPE, RID_SW_TP_STD_FONT_CJK == nId ? FONT_GROUP_CJK : FONT_GROUP_CTL));
- pRet->PageCreated(aSet);
- }
- }
- break;
case RID_SW_TP_HTML_OPTPRINT_PAGE:
case RID_SW_TP_OPTPRINT_PAGE:
{