summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabvwshf.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2010-12-13 13:51:18 -0500
committerKohei Yoshida <kyoshida@novell.com>2010-12-13 23:38:19 -0500
commit5fe86425ccc3fcd1bce1076e9f57f70be55f8d92 (patch)
treec382f80701890c1acacb210d4265ec625fe70ab6 /sc/source/ui/view/tabvwshf.cxx
parent8bf8c7eeb683bc3e62a56b367448fdffd4e844d8 (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.cxx3
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 )
{