diff options
Diffstat (limited to 'sc/source/ui/dbgui/dbnamdlg.cxx')
-rw-r--r-- | sc/source/ui/dbgui/dbnamdlg.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/source/ui/dbgui/dbnamdlg.cxx b/sc/source/ui/dbgui/dbnamdlg.cxx index 69447adc6033..c675abac4763 100644 --- a/sc/source/ui/dbgui/dbnamdlg.cxx +++ b/sc/source/ui/dbgui/dbnamdlg.cxx @@ -26,6 +26,7 @@ #include "globstr.hrc" #include "rangenam.hxx" // IsNameValid #include "globalnames.hxx" +#include "dbformattingdlg.hxx" #include "dbnamdlg.hxx" @@ -119,7 +120,7 @@ ScDbNameDlg::ScDbNameDlg(SfxBindings* pB, SfxChildWindow* pCW, Window* pParent, : ScAnyRefDlg(pB, pCW, pParent, "DefineDatabaseRangeDialog", "modules/scalc/ui/definedatabaserangedialog.ui") - , pViewData(ptrViewData) + , pViewData( ptrViewData ) , pDoc(ptrViewData->GetDocument()) , bRefInputMode(false) , aAddrDetails(pDoc->GetAddressConvention(), 0, 0) @@ -501,6 +502,8 @@ IMPL_LINK_NOARG(ScDbNameDlg, AddBtnHdl) IMPL_LINK_NOARG(ScDbNameDlg, FormattingBtnHdl) { //Invoke the db formatting dialog here + //ScDbFormattingDlg* pDbDataFormattingDlg = new ScDbFormattingDlg( mpB, mpCW, GetParent(), pViewData ); + return 0; } namespace { |