diff options
author | Armin Le Grand <alg@apache.org> | 2013-04-09 16:06:32 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-06-17 11:02:00 +0100 |
commit | 573322e26b0244b27f70cfbc8989b3040a34f3d6 (patch) | |
tree | 1812788fd614d7c55b127ef360cab08b334b8244 /sc/source/ui/drawfunc/drtxtob2.cxx | |
parent | b93107f3d510f19faa2e62dc965aea9f1b46898d (diff) |
Resolves: #i121538# Removed old Fontwork dialogs preset box...
and all dependencies
(cherry picked from commit bcfee75544246db6788715d98efd6d33c12f933d)
Conflicts:
sd/inc/pch/precompiled_sd.hxx
sd/source/core/typemap.cxx
sd/source/ui/view/drviews6.cxx
svx/Package_inc.mk
svx/inc/svx/dialogs.hrc
svx/inc/svx/fontwork.hxx
svx/inc/svx/svdstr.hrc
svx/inc/svx/svxcommands.h
svx/inc/svx/svxids.hrc
svx/inc/svx/unoshprp.hxx
svx/inc/svx/xdef.hxx
svx/inc/svx/xenum.hxx
svx/inc/svx/xtextit.hxx
svx/source/dialog/fontwork.cxx
svx/source/dialog/fontwork.hrc
svx/source/dialog/fontwork.src
svx/source/xoutdev/xattr.cxx
sw/inc/pch/precompiled_sw.hxx
Change-Id: I3718285d38444d3862ca382fe020a4e0a083a677
Diffstat (limited to 'sc/source/ui/drawfunc/drtxtob2.cxx')
-rw-r--r-- | sc/source/ui/drawfunc/drtxtob2.cxx | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/sc/source/ui/drawfunc/drtxtob2.cxx b/sc/source/ui/drawfunc/drtxtob2.cxx index cb09ff115830..460df2287637 100644 --- a/sc/source/ui/drawfunc/drtxtob2.cxx +++ b/sc/source/ui/drawfunc/drtxtob2.cxx @@ -194,30 +194,11 @@ void ScDrawTextObjectBar::ExecFormText(SfxRequest& rReq) if ( rMarkList.GetMarkCount() == 1 && rReq.GetArgs() ) { const SfxItemSet& rSet = *rReq.GetArgs(); - const SfxPoolItem* pItem; 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); } } @@ -253,7 +234,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); |