summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/mvtabdlg.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-01-03 19:49:41 -0500
committerKohei Yoshida <kyoshida@novell.com>2011-01-03 19:49:41 -0500
commitcf92f247fdf953b41e868ded0dd3f0456b82dfe8 (patch)
tree99ed4f8c3c10a74b5d7701ed98b10c4617a1d797 /sc/source/ui/inc/mvtabdlg.hxx
parent8a3f4fb915e240bc26b0ba6337acc751cee05d8c (diff)
Don't reset the default sheet name when the name has evern been edited.
Diffstat (limited to 'sc/source/ui/inc/mvtabdlg.hxx')
-rw-r--r--sc/source/ui/inc/mvtabdlg.hxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/sc/source/ui/inc/mvtabdlg.hxx b/sc/source/ui/inc/mvtabdlg.hxx
index 152a8bf927a6..e850d9bff41c 100644
--- a/sc/source/ui/inc/mvtabdlg.hxx
+++ b/sc/source/ui/inc/mvtabdlg.hxx
@@ -50,7 +50,7 @@ public:
USHORT GetSelectedDocument () const;
SCTAB GetSelectedTable () const;
- BOOL GetCopyTable () const;
+ bool GetCopyTable () const;
bool GetRenameTable () const;
void GetTabNameString( String& rString ) const;
void SetForceCopyTable ();
@@ -87,8 +87,10 @@ private:
USHORT nDocument;
SCTAB nTable;
- BOOL bCopyTable;
- BOOL bRenameTable;
+ bool bCopyTable:1;
+ bool bRenameTable:1;
+ bool mbEverEdited:1;
+
//--------------------------------------
void Init ();
void InitBtnRename ();