diff options
-rw-r--r-- | sc/source/ui/inc/tabvwsh.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/view/formatsh.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/tabvwsh5.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/view/tabvwsha.cxx | 2 |
4 files changed, 3 insertions, 5 deletions
diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx index 585206544afd..ecf3ebe7cb68 100644 --- a/sc/source/ui/inc/tabvwsh.hxx +++ b/sc/source/ui/inc/tabvwsh.hxx @@ -403,8 +403,7 @@ public: ScViewData* pViewData, SvxNumberInfoItem** ppItem ); - void UpdateNumberFormatter ( ScDocument* pDoc, - const SvxNumberInfoItem& rInfoItem ); + void UpdateNumberFormatter ( const SvxNumberInfoItem& rInfoItem ); void ExecuteCellFormatDlg ( SfxRequest& rReq, sal_uInt16 nTabPage = 0xffff ); diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx index 98ac6655ded8..66266af8fb87 100644 --- a/sc/source/ui/view/formatsh.cxx +++ b/sc/source/ui/view/formatsh.cxx @@ -853,7 +853,7 @@ void ScFormatShell::ExecuteStyle( SfxRequest& rReq ) if ( SFX_STYLE_FAMILY_PARA == eFam ) { - pTabViewShell->UpdateNumberFormatter( pDoc, + pTabViewShell->UpdateNumberFormatter( (const SvxNumberInfoItem&) *(pDocSh->GetItem(SID_ATTR_NUMBERFORMAT_INFO)) ); diff --git a/sc/source/ui/view/tabvwsh5.cxx b/sc/source/ui/view/tabvwsh5.cxx index 7acaa96e9207..5f1d645abc7d 100644 --- a/sc/source/ui/view/tabvwsh5.cxx +++ b/sc/source/ui/view/tabvwsh5.cxx @@ -413,7 +413,6 @@ void ScTabViewShell::MakeNumberInfoItem( ScDocument* pDoc, //------------------------------------------------------------------ void ScTabViewShell::UpdateNumberFormatter( - ScDocument* pDoc, const SvxNumberInfoItem& rInfoItem ) { const sal_uInt32 nDelCount = rInfoItem.GetDelCount(); diff --git a/sc/source/ui/view/tabvwsha.cxx b/sc/source/ui/view/tabvwsha.cxx index d64de030cef3..4efd093aa4bf 100644 --- a/sc/source/ui/view/tabvwsha.cxx +++ b/sc/source/ui/view/tabvwsha.cxx @@ -527,7 +527,7 @@ void ScTabViewShell::ExecuteCellFormatDlg( SfxRequest& rReq, sal_uInt16 nTabPage if(pOutSet->GetItemState(SID_ATTR_NUMBERFORMAT_INFO,sal_True,&pItem)==SFX_ITEM_SET) { - UpdateNumberFormatter( pDoc,(const SvxNumberInfoItem&)*pItem); + UpdateNumberFormatter((const SvxNumberInfoItem&)*pItem); } ApplyAttributes( pOutSet, pOldSet ); |