diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/scabstdlg.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/attrdlg/scdlgfact.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/attrdlg/scdlgfact.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/mvtabdlg.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/mvtabdlg.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/tabvwshf.cxx | 3 |
6 files changed, 6 insertions, 7 deletions
diff --git a/sc/inc/scabstdlg.hxx b/sc/inc/scabstdlg.hxx index f19cc30d984b..b0abb16ff654 100644 --- a/sc/inc/scabstdlg.hxx +++ b/sc/inc/scabstdlg.hxx @@ -213,7 +213,7 @@ public: virtual USHORT GetSelectedDocument () const = 0; virtual USHORT GetSelectedTable () const = 0; virtual BOOL GetCopyTable () const = 0; - virtual BOOL GetRenameTable () const = 0; + virtual bool GetRenameTable () const = 0; virtual void GetTabNameString( String& rString ) const = 0; virtual void SetCopyTable (BOOL bFlag=TRUE) = 0; virtual void EnableCopyTable (BOOL bFlag=TRUE) = 0; diff --git a/sc/source/ui/attrdlg/scdlgfact.cxx b/sc/source/ui/attrdlg/scdlgfact.cxx index b55aa44f51bd..34356a1c7aaa 100644 --- a/sc/source/ui/attrdlg/scdlgfact.cxx +++ b/sc/source/ui/attrdlg/scdlgfact.cxx @@ -502,7 +502,7 @@ BOOL AbstractScMoveTableDlg_Impl::GetCopyTable() const { return pDlg->GetCopyTable(); } -BOOL AbstractScMoveTableDlg_Impl::GetRenameTable() const +bool AbstractScMoveTableDlg_Impl::GetRenameTable() const { return pDlg->GetRenameTable(); } diff --git a/sc/source/ui/attrdlg/scdlgfact.hxx b/sc/source/ui/attrdlg/scdlgfact.hxx index 58ad69cbb05f..ffe101a02af5 100644 --- a/sc/source/ui/attrdlg/scdlgfact.hxx +++ b/sc/source/ui/attrdlg/scdlgfact.hxx @@ -263,7 +263,7 @@ class AbstractScMoveTableDlg_Impl : public AbstractScMoveTableDlg //add for ScM virtual USHORT GetSelectedDocument () const; virtual USHORT GetSelectedTable () const; virtual BOOL GetCopyTable () const; - virtual BOOL GetRenameTable () const; + virtual bool GetRenameTable () const; virtual void GetTabNameString( String& rString ) const; virtual void SetCopyTable (BOOL bFlag=TRUE); virtual void EnableCopyTable (BOOL bFlag=TRUE); diff --git a/sc/source/ui/inc/mvtabdlg.hxx b/sc/source/ui/inc/mvtabdlg.hxx index 81da77b8ff85..34ae9ff55401 100644 --- a/sc/source/ui/inc/mvtabdlg.hxx +++ b/sc/source/ui/inc/mvtabdlg.hxx @@ -51,7 +51,7 @@ public: USHORT GetSelectedDocument () const; SCTAB GetSelectedTable () const; BOOL GetCopyTable () const; - BOOL GetRenameTable () const; + bool GetRenameTable () const; void GetTabNameString( String& rString ) const; void SetCopyTable (BOOL bFlag=TRUE); void EnableCopyTable (BOOL bFlag=TRUE); diff --git a/sc/source/ui/miscdlgs/mvtabdlg.cxx b/sc/source/ui/miscdlgs/mvtabdlg.cxx index e10e4ba1e1d9..4568742b7980 100644 --- a/sc/source/ui/miscdlgs/mvtabdlg.cxx +++ b/sc/source/ui/miscdlgs/mvtabdlg.cxx @@ -100,7 +100,7 @@ SCTAB ScMoveTableDlg::GetSelectedTable () const { return nTable; } BOOL ScMoveTableDlg::GetCopyTable () const { return bCopyTable; } -BOOL ScMoveTableDlg::GetRenameTable () const { return bRenameTable; } +bool ScMoveTableDlg::GetRenameTable () const { return bRenameTable; } void ScMoveTableDlg::GetTabNameString( String& rString ) const { 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 ) { |