summaryrefslogtreecommitdiffstats
path: root/sc/inc/scabstdlg.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-04-15 13:41:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-04-15 13:53:48 +0100
commit46e663c4b7e30316fdbe23a5631ea4842b18ca57 (patch)
tree648d9cad25d05390150d88484f655c8786e06fcc /sc/inc/scabstdlg.hxx
parentfdo#61688 SIGABRT with debug build in VclBuilder::handleChild (diff)
downloadcore-46e663c4b7e30316fdbe23a5631ea4842b18ca57.tar.gz
core-46e663c4b7e30316fdbe23a5631ea4842b18ca57.zip
adapt code to data form .ui conversion
this dialog has some bizarre behaviour which is unchanged with the .ui conversion a) the scrollbar does not scroll the window beside it up and down through the rows (which map to the spreadsheet columns), but instead scrolls through the records (which map to the spreadsheet rows) b) the dialog grows to include a row for each spreadsheet column, i.e. large number of spreadsheet columns -> unusable dialog with too many rows to fit on the screen. what's indicated here is to clip the dialog to some max size and make the scrollbar then scroll through the rows of the widget, and add another scrollbar if necessary to scroll through the records. Change-Id: I9b56992fc57468eb058d2a2914c08074f958a692
Diffstat (limited to 'sc/inc/scabstdlg.hxx')
-rw-r--r--sc/inc/scabstdlg.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/scabstdlg.hxx b/sc/inc/scabstdlg.hxx
index 2e80c1cfc3de..c50e3556c240 100644
--- a/sc/inc/scabstdlg.hxx
+++ b/sc/inc/scabstdlg.hxx
@@ -367,7 +367,8 @@ public:
virtual AbstractScDeleteCellDlg * CreateScDeleteCellDlg(Window* pParent, bool bDisallowCellMove = false) = 0 ; //add for ScDeleteCellDlg
//for dataform
- virtual AbstractScDataFormDlg * CreateScDataFormDlg( Window* pParent, int nId, ScTabViewShell* pTabViewShell ) = 0 ; //add for ScDataFormDlg
+ virtual AbstractScDataFormDlg * CreateScDataFormDlg(Window* pParent,
+ ScTabViewShell* pTabViewShell) = 0;
virtual AbstractScDeleteContentsDlg * CreateScDeleteContentsDlg(Window* pParent, //add for ScDeleteContentsDlg
sal_uInt16 nCheckDefaults = 0) = 0;