summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-02-14 22:46:55 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-02-15 10:53:37 +0900
commit4d7cb46fa2f9552aa479483bde2fcf9c31e2ee13 (patch)
tree92874e27bb0a147e38f8a0d4875f7ca56408a1cb /sw
parent1eb375177a7f0356e571a0d9c34cb64c649f2f45 (diff)
bUseDialog was always true
Change-Id: If7ed109ea1e5582356ab882989dfba22a346e3dd
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/shells/tabsh.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sw/source/ui/shells/tabsh.cxx b/sw/source/ui/shells/tabsh.cxx
index cdd223e1bce6..443b96a2b76f 100644
--- a/sw/source/ui/shells/tabsh.cxx
+++ b/sw/source/ui/shells/tabsh.cxx
@@ -447,7 +447,6 @@ static void lcl_TabGetMaxLineWidth(const SvxBorderLine* pBorderLine, SvxBorderLi
void SwTableShell::Execute(SfxRequest &rReq)
{
- sal_Bool bUseDialog = sal_True;
const SfxItemSet* pArgs = rReq.GetArgs();
SwWrtShell &rSh = GetShell();
@@ -564,7 +563,6 @@ void SwTableShell::Execute(SfxRequest &rReq)
SW_MOD()->PutItem(SfxUInt16Item(SID_ATTR_METRIC, static_cast< sal_uInt16 >(eMetric)));
SwTableRep* pTblRep = ::lcl_TableParamToItemSet( aCoreSet, rSh );
SfxAbstractTabDialog * pDlg = NULL;
- if ( bUseDialog )
{
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
OSL_ENSURE(pFact, "SwAbstractDialogFactory fail!");