summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/cellsh2.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-03-01 00:02:01 -0500
committerKohei Yoshida <kyoshida@novell.com>2011-03-01 00:02:01 -0500
commitf84427bfddd49efee446f73fb1b926d102ce9641 (patch)
tree6c6871ab683a1465190638713dffb9d79a3f4d05 /sc/source/ui/view/cellsh2.cxx
parent716556f19c21090cd7f0ed4c0515df17a3cec241 (diff)
Finally get the refresh to work properly.
Diffstat (limited to 'sc/source/ui/view/cellsh2.cxx')
-rw-r--r--sc/source/ui/view/cellsh2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx
index eb9953259d13..5b72e164d22a 100644
--- a/sc/source/ui/view/cellsh2.cxx
+++ b/sc/source/ui/view/cellsh2.cxx
@@ -809,7 +809,7 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq )
DBG_ASSERT(pDataDlg, "Dialog create fail!");
if ( pDataDlg->Execute() == RET_OK )
{
- ScImportSourceDesc aImpDesc;
+ ScImportSourceDesc aImpDesc(pDoc);
pDataDlg->GetValues( aImpDesc );
pNewDPObject = new ScDPObject( pDoc );
pNewDPObject->SetImportDesc( aImpDesc );