diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-01-06 21:42:16 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-01-06 21:44:41 +0900 |
commit | 2a0e3c1026579b02d650b602b1c0f737f6133d01 (patch) | |
tree | 9ceb38ff3e16aae2dca77c380fa7138870ec9be0 /sw/source/ui/app | |
parent | 989863d849b1e703e78afc413088c3ae51093139 (diff) |
bSetReturn was always true
Change-Id: I94cea45c0e9d2890160a97d1ef198ae3f4f140d4
Diffstat (limited to 'sw/source/ui/app')
-rw-r--r-- | sw/source/ui/app/docst.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sw/source/ui/app/docst.cxx b/sw/source/ui/app/docst.cxx index ad8c702a94cd..1ef1d8576e50 100644 --- a/sw/source/ui/app/docst.cxx +++ b/sw/source/ui/app/docst.cxx @@ -263,7 +263,6 @@ void SwDocShell::ExecStyleSheet( SfxRequest& rReq ) const SfxItemSet* pArgs = rReq.GetArgs(); const SfxPoolItem* pItem; SwWrtShell* pActShell = 0; - sal_Bool bSetReturn = sal_True; switch (nSlot) { case SID_STYLE_NEW: @@ -487,13 +486,10 @@ void SwDocShell::ExecStyleSheet( SfxRequest& rReq ) } } - if(bSetReturn) - { if(rReq.IsAPI()) // Basic only gets TRUE or FALSE rReq.SetReturnValue(SfxUInt16Item(nSlot, nRet !=0)); else rReq.SetReturnValue(SfxUInt16Item(nSlot, nRet)); - } } |