[Libreoffice-commits] .: sc/source
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Thu Jun 7 23:44:21 PDT 2012
sc/source/ui/inc/tabvwsh.hxx | 3 +--
sc/source/ui/view/formatsh.cxx | 2 +-
sc/source/ui/view/tabvwsh5.cxx | 1 -
sc/source/ui/view/tabvwsha.cxx | 2 +-
4 files changed, 3 insertions(+), 5 deletions(-)
New commits:
commit b27475db2e8a72d16fca3c812ba803073bb6ef6c
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Jun 8 08:43:40 2012 +0200
-Werror=unused-parameter
Change-Id: I02d764a6647fa8f0aaeba9088831f3bbe680c8ab
diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx
index 5852065..ecf3ebe 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 98ac665..66266af 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 7acaa96..5f1d645 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 d64de03..4efd093 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 );
More information about the Libreoffice-commits
mailing list