summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/formatsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/formatsh.cxx')
-rw-r--r--sc/source/ui/view/formatsh.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx
index 056d2ca5d3b5..a0fb39694450 100644
--- a/sc/source/ui/view/formatsh.cxx
+++ b/sc/source/ui/view/formatsh.cxx
@@ -818,7 +818,7 @@ void ScFormatShell::ExecuteStyle( SfxRequest& rReq )
}
boost::scoped_ptr<SvxNumberInfoItem> pNumberInfoItem(
- pTabViewShell->MakeNumberInfoItem(&rDoc, GetViewData()));
+ ScTabViewShell::MakeNumberInfoItem(&rDoc, GetViewData()));
pDocSh->PutItem( *pNumberInfoItem );
nRsc = RID_SCDLG_STYLES_PAR;
@@ -927,7 +927,7 @@ void ScFormatShell::ExecuteStyle( SfxRequest& rReq )
if ( SFX_STYLE_FAMILY_PARA == eFam )
{
- pTabViewShell->UpdateNumberFormatter(
+ ScTabViewShell::UpdateNumberFormatter(
static_cast<const SvxNumberInfoItem&>(
*(pDocSh->GetItem(SID_ATTR_NUMBERFORMAT_INFO)) ));