diff options
author | oger000 <lodev@ogersoft.at> | 2013-07-21 18:52:52 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-07-24 15:35:37 +0000 |
commit | c2a28a731f7068baf66f3ba9e4139e573d23d707 (patch) | |
tree | a127aa2b09942d4e1b4a6f353a3f2ff96e6a3427 /sc/source/ui/attrdlg/scdlgfact.cxx | |
parent | 045a7c675d04c258fdf97c6178ca9ad106d47deb (diff) |
convert move table dialog to .ui format
Help needed:
I did not find a way to get the height of the warning area
included in the automatic calculated dialog height. So it
stays behind the action buttons if an error occurs.
(I am new to glade)
Code adaption should be complete - build and move-sheet-test ok.
helpcontent2 is done and I will try to upload.
Change-Id: Id987ac799b17787c35302890a95af2bd99456589
Reviewed-on: https://gerrit.libreoffice.org/5006
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/attrdlg/scdlgfact.cxx')
-rw-r--r-- | sc/source/ui/attrdlg/scdlgfact.cxx | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/sc/source/ui/attrdlg/scdlgfact.cxx b/sc/source/ui/attrdlg/scdlgfact.cxx index bc6db222cb01..fe7dd501113b 100644 --- a/sc/source/ui/attrdlg/scdlgfact.cxx +++ b/sc/source/ui/attrdlg/scdlgfact.cxx @@ -958,23 +958,11 @@ AbstractScMetricInputDlg * ScAbstractDialogFactory_Impl::CreateScMetricInputDlg -AbstractScMoveTableDlg * ScAbstractDialogFactory_Impl::CreateScMoveTableDlg( Window* pParent, - const String& rDefault, - int nId ) +AbstractScMoveTableDlg * ScAbstractDialogFactory_Impl::CreateScMoveTableDlg(Window* pParent, + const String& rDefault) { - ScMoveTableDlg * pDlg=NULL; - switch ( nId ) - { - case RID_SCDLG_MOVETAB : - pDlg = new ScMoveTableDlg( pParent, rDefault ); - break; - default: - break; - } - - if ( pDlg ) - return new AbstractScMoveTableDlg_Impl( pDlg ); - return 0; + ScMoveTableDlg * pDlg = new ScMoveTableDlg( pParent, rDefault ); + return new AbstractScMoveTableDlg_Impl( pDlg ); } AbstractScNameCreateDlg * ScAbstractDialogFactory_Impl::CreateScNameCreateDlg(Window * pParent, sal_uInt16 nFlags) |