diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-12-13 13:51:18 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-12-13 23:38:19 -0500 |
commit | 5fe86425ccc3fcd1bce1076e9f57f70be55f8d92 (patch) | |
tree | c382f80701890c1acacb210d4265ec625fe70ab6 /sc/source/ui/view/tabvwshf.cxx | |
parent | 8bf8c7eeb683bc3e62a56b367448fdffd4e844d8 (diff) |
BOOL -> bool, and tabs to whitespace in new code.
Also, putting a bool declaration in the right context.
Diffstat (limited to 'sc/source/ui/view/tabvwshf.cxx')
-rw-r--r-- | sc/source/ui/view/tabvwshf.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabvwshf.cxx b/sc/source/ui/view/tabvwshf.cxx index e569baf10987..0c3ad6704df7 100644 --- a/sc/source/ui/view/tabvwshf.cxx +++ b/sc/source/ui/view/tabvwshf.cxx @@ -478,7 +478,6 @@ void ScTabViewShell::ExecuteTable( SfxRequest& rReq ) USHORT nDoc = 0; SCTAB nTab = pViewData->GetTabNo(); BOOL bCpy = FALSE; - BOOL bRna = FALSE; String aDocName; String aTabName; @@ -574,7 +573,7 @@ void ScTabViewShell::ExecuteTable( SfxRequest& rReq ) nDoc = pDlg->GetSelectedDocument(); nTab = pDlg->GetSelectedTable(); bCpy = pDlg->GetCopyTable(); - bRna = pDlg->GetRenameTable(); + bool bRna = pDlg->GetRenameTable(); // Leave aTabName string empty, when Rename is FALSE. if( bRna ) { |