diff options
author | Armin Le Grand <alg@apache.org> | 2013-04-09 16:06:32 +0000 |
---|---|---|
committer | Armin Le Grand <alg@apache.org> | 2013-04-09 16:06:32 +0000 |
commit | bcfee75544246db6788715d98efd6d33c12f933d (patch) | |
tree | 5bb306bedaba5c035722599d6c19945ece6ab0b0 /sc/source/ui/drawfunc/drtxtob2.cxx | |
parent | c73f0e910fcf3a940c24a639dba9b4ced2057399 (diff) |
i121538 Removed old Fontwork dialogs preset box and all dependencies
Notes
merged as: 573322e26b0244b27f70cfbc8989b3040a34f3d6
Diffstat (limited to 'sc/source/ui/drawfunc/drtxtob2.cxx')
-rw-r--r-- | sc/source/ui/drawfunc/drtxtob2.cxx | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/sc/source/ui/drawfunc/drtxtob2.cxx b/sc/source/ui/drawfunc/drtxtob2.cxx index 228de0c81c57..0700b4b54dd6 100644 --- a/sc/source/ui/drawfunc/drtxtob2.cxx +++ b/sc/source/ui/drawfunc/drtxtob2.cxx @@ -205,25 +205,7 @@ void ScDrawTextObjectBar::ExecFormText(SfxRequest& rReq) if ( pDrView->IsTextEdit() ) pDrView->ScEndTextEdit(); - if ( SFX_ITEM_SET == - rSet.GetItemState(XATTR_FORMTXTSTDFORM, sal_True, &pItem) - && XFTFORM_NONE != - ((const XFormTextStdFormItem*) pItem)->GetValue() ) - { - - sal_uInt16 nId = SvxFontWorkChildWindow::GetChildWindowId(); - SfxViewFrame* pViewFrm = pViewData->GetViewShell()->GetViewFrame(); - SvxFontWorkDialog* pDlg = (SvxFontWorkDialog*) - (pViewFrm-> - GetChildWindow(nId)->GetWindow()); - - pDlg->CreateStdFormObj(*pDrView, *pDrView->GetSdrPageView(), - rSet, *rMarkList.GetMark(0)->GetMarkedSdrObj(), - ((const XFormTextStdFormItem*) pItem)-> - GetValue()); - } - else - pDrView->SetAttributes(rSet); + pDrView->SetAttributes(rSet); } } @@ -259,7 +241,6 @@ void ScDrawTextObjectBar::GetFormTextState(SfxItemSet& rSet) rSet.DisableItem(XATTR_FORMTXTDISTANCE); rSet.DisableItem(XATTR_FORMTXTSTART); rSet.DisableItem(XATTR_FORMTXTMIRROR); - rSet.DisableItem(XATTR_FORMTXTSTDFORM); rSet.DisableItem(XATTR_FORMTXTHIDEFORM); rSet.DisableItem(XATTR_FORMTXTOUTLINE); rSet.DisableItem(XATTR_FORMTXTSHADOW); |