summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabvwsh5.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/tabvwsh5.cxx')
-rw-r--r--sc/source/ui/view/tabvwsh5.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabvwsh5.cxx b/sc/source/ui/view/tabvwsh5.cxx
index e8a4c857ecc7..948cfd5d5328 100644
--- a/sc/source/ui/view/tabvwsh5.cxx
+++ b/sc/source/ui/view/tabvwsh5.cxx
@@ -310,7 +310,7 @@ void ScTabViewShell::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
SfxViewShell::Notify( rBC, rHint );
}
-std::unique_ptr<SvxNumberInfoItem> ScTabViewShell::MakeNumberInfoItem( ScDocument& rDoc, const ScViewData* pViewData )
+std::unique_ptr<SvxNumberInfoItem> ScTabViewShell::MakeNumberInfoItem( ScDocument& rDoc, const ScViewData& rViewData )
{
// construct NumberInfo item
@@ -319,7 +319,7 @@ std::unique_ptr<SvxNumberInfoItem> ScTabViewShell::MakeNumberInfoItem( ScDocumen
double nCellValue = 0;
OUString aCellString;
- ScRefCellValue aCell(rDoc, pViewData->GetCurPos());
+ ScRefCellValue aCell(rDoc, rViewData.GetCurPos());
switch (aCell.meType)
{