diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-11-21 11:19:38 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-11-23 06:25:33 +0100 |
commit | b1097c47695210f8824dcc4fc456b95897fc3972 (patch) | |
tree | 8128cb9ecd4a41136107623c6ab0e4f6ee3790f5 /sc/source/ui/view/tabvwshc.cxx | |
parent | 106f128f359deb1c9553c105eff4bf829fdd9736 (diff) |
ManageNames: add undo to Define Names dialog
Diffstat (limited to 'sc/source/ui/view/tabvwshc.cxx')
-rw-r--r-- | sc/source/ui/view/tabvwshc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/tabvwshc.cxx b/sc/source/ui/view/tabvwshc.cxx index 2dca9766a0ee..5f648fb2cc26 100644 --- a/sc/source/ui/view/tabvwshc.cxx +++ b/sc/source/ui/view/tabvwshc.cxx @@ -122,7 +122,7 @@ SfxModelessDialog* ScTabViewShell::CreateRefDialog( std::cout << "tabvwsh" << std::endl; std::map<rtl::OUString, ScRangeName*> aRangeMap; pDoc->GetRangeNameMap(aRangeMap); - pResult = new ScNameDefDlg( pB, pCW, pParent, GetViewData()->GetDocument(), aRangeMap, + pResult = new ScNameDefDlg( pB, pCW, pParent, GetViewData()->GetDocShell(), aRangeMap, ScAddress( GetViewData()->GetCurX(), GetViewData()->GetCurY(), GetViewData()->GetTabNo() ), true ); |