diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-25 21:08:11 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-26 12:28:08 +0100 |
commit | 31d649000a87edbec3eee2d5d1e176aa5cc8473a (patch) | |
tree | 3faa50b16f5072b94aa0a29d8892a4d59a4886c7 /sw/source/ui | |
parent | ad5dcd60a9f9fef63d74259b11faabb285abc761 (diff) |
bool improvements
Change-Id: Iaa2986e9ab3e12350d2121f2ad3d3ea23e9a3b50
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/dialog/macassgn.cxx | 6 | ||||
-rw-r--r-- | sw/source/ui/inc/macassgn.hxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/dialog/macassgn.cxx b/sw/source/ui/dialog/macassgn.cxx index 8b21ede7d57d..af55cd6ee200 100644 --- a/sw/source/ui/dialog/macassgn.cxx +++ b/sw/source/ui/dialog/macassgn.cxx @@ -107,10 +107,10 @@ SfxEventNamesItem SwMacroAssignDlg::AddEvents( DlgEventType eType ) } -sal_Bool SwMacroAssignDlg::INetFmtDlg( Window* pParent, SwWrtShell& rSh, +bool SwMacroAssignDlg::INetFmtDlg( Window* pParent, SwWrtShell& rSh, SvxMacroItem*& rpINetItem ) { - sal_Bool bRet = sal_False; + bool bRet = false; SfxItemSet aSet( rSh.GetAttrPool(), RES_FRMMACRO, RES_FRMMACRO, SID_EVENTCONFIG, SID_EVENTCONFIG, 0 ); SvxMacroItem aItem( RES_FRMMACRO ); if( !rpINetItem ) @@ -132,7 +132,7 @@ sal_Bool SwMacroAssignDlg::INetFmtDlg( Window* pParent, SwWrtShell& rSh, if( SFX_ITEM_SET == pOutSet->GetItemState( RES_FRMMACRO, sal_False, &pItem )) { rpINetItem->SetMacroTable( ((SvxMacroItem*)pItem)->GetMacroTable() ); - bRet = sal_True; + bRet = true; } } return bRet; diff --git a/sw/source/ui/inc/macassgn.hxx b/sw/source/ui/inc/macassgn.hxx index 13e71a3ae9d4..cb4cda8e0391 100644 --- a/sw/source/ui/inc/macassgn.hxx +++ b/sw/source/ui/inc/macassgn.hxx @@ -38,7 +38,7 @@ class SwMacroAssignDlg { public: static SfxEventNamesItem AddEvents( DlgEventType eType ); - static sal_Bool INetFmtDlg( Window* pParent, SwWrtShell& rSh, + static bool INetFmtDlg( Window* pParent, SwWrtShell& rSh, SvxMacroItem*& rpINetItem ); }; |