summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabvwshc.cxx
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2025-04-25 15:44:34 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2025-04-25 17:07:05 +0200
commit998ab8266aaa57079add1cdd9467cc52655795b0 (patch)
tree01d449ade581312092465a263b81c3bd24f83905 /sc/source/ui/view/tabvwshc.cxx
parent21b025b0cb8614a86a3d3a7fd3ffdfff4e1fa0eb (diff)
ScPrintAreasDlg: pass ScViewData from the caller
like the other dialogs do Change-Id: I584a2dc7e347a31c4b627d97277b9ab0207b7ee8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184627 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc/source/ui/view/tabvwshc.cxx')
-rw-r--r--sc/source/ui/view/tabvwshc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/tabvwshc.cxx b/sc/source/ui/view/tabvwshc.cxx
index 5a2153e6043b..c15ab6c4a2c0 100644
--- a/sc/source/ui/view/tabvwshc.cxx
+++ b/sc/source/ui/view/tabvwshc.cxx
@@ -265,7 +265,7 @@ std::shared_ptr<SfxModelessDialogController> ScTabViewShell::CreateRefDialogCont
break;
}
case SID_OPENDLG_EDIT_PRINTAREA:
- xResult = std::make_shared<ScPrintAreasDlg>(pB, pCW, pParent);
+ xResult = std::make_shared<ScPrintAreasDlg>(pB, pCW, pParent, GetViewData());
break;
case SID_DEFINE_COLROWNAMERANGES:
xResult = std::make_shared<ScColRowNameRangesDlg>(pB, pCW, pParent, GetViewData());