summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorDaniel Rentz <dr@openoffice.org>2001-05-08 08:18:51 +0000
committerDaniel Rentz <dr@openoffice.org>2001-05-08 08:18:51 +0000
commitc2ac8528941d1619e8a57f98150ca09d4ba2971f (patch)
tree5beacc91ea1b1bc62a33421e6f882c099f54cecc /sc
parent893887ee94a576687b8bff50168fb2e66f6e9426 (diff)
#74359#, #86742# fixes in insert sheet dialog
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/miscdlgs/instbdlg.cxx14
-rw-r--r--sc/source/ui/miscdlgs/instbdlg.src6
2 files changed, 12 insertions, 8 deletions
diff --git a/sc/source/ui/miscdlgs/instbdlg.cxx b/sc/source/ui/miscdlgs/instbdlg.cxx
index d3ee913e0b13..d1f40b88d257 100644
--- a/sc/source/ui/miscdlgs/instbdlg.cxx
+++ b/sc/source/ui/miscdlgs/instbdlg.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: instbdlg.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:45:02 $
+ * last change: $Author: dr $ $Date: 2001-05-08 09:18:51 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -145,6 +145,7 @@ void ScInsertTableDlg::Init_Impl()
USHORT nTabSelCount = rMark.GetSelectCount();
aNfCount.SetText( String::CreateFromInt32(nTableCount) );
+ aNfCount.SetMax( MAXTAB - rDoc.GetTableCount() + 1 );
if(nTableCount==1)
{
@@ -184,15 +185,18 @@ void ScInsertTableDlg::SetNewTable_Impl()
{
if (aBtnNew.IsChecked() )
{
- aEdName .Enable();
- aFtName .Enable();
+ aNfCount .Enable();
aFtCount .Enable();
aLbTables .Disable();
aFtPath .Disable();
aBtnBrowse .Disable();
aBtnLink .Disable();
- if(nTableCount==1) aNfCount.Enable();
+ if(nTableCount==1)
+ {
+ aEdName.Enable();
+ aFtName.Enable();
+ }
}
}
diff --git a/sc/source/ui/miscdlgs/instbdlg.src b/sc/source/ui/miscdlgs/instbdlg.src
index 3ba551e2e57f..fcb0feb2d2af 100644
--- a/sc/source/ui/miscdlgs/instbdlg.src
+++ b/sc/source/ui/miscdlgs/instbdlg.src
@@ -2,9 +2,9 @@
*
* $RCSfile: instbdlg.src,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: kz $ $Date: 2001-05-04 20:24:03 $
+ * last change: $Author: dr $ $Date: 2001-05-08 09:18:34 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -340,7 +340,7 @@ ModalDialog RID_SCDLG_INSERT_TABLE
TabStop = TRUE ;
Spin = TRUE ;
Minimum = 1 ;
- Maximum = 99 ;
+ Maximum = 256 ;
};
FixedText FT_COUNT
{