regards
>From 09642903881c193ff01f2801461dcddeae0931ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Andr=C3=A9=20Jacquod?= <pjacq...@alumni.ethz.ch> Date: Mon, 29 Nov 2010 22:13:22 +0100 Subject: [PATCH 5/5] trivial warning cleaning in binfilter - unocore (2)
--- binfilter/bf_sw/source/core/unocore/sw_unodraw.cxx | 12 ++- binfilter/bf_sw/source/core/unocore/sw_unomap.cxx | 11 +-- binfilter/bf_sw/source/core/unocore/sw_unoobj2.cxx | 8 +- .../bf_sw/source/core/unocore/sw_unoparagraph.cxx | 27 ++++--- binfilter/bf_sw/source/core/unocore/sw_unoport.cxx | 32 ++++--- .../bf_sw/source/core/unocore/sw_unoredline.cxx | 12 ++-- .../bf_sw/source/core/unocore/sw_unoredlines.cxx | 4 +- binfilter/bf_sw/source/core/unocore/sw_unosrch.cxx | 16 +++- .../bf_sw/source/core/unocore/sw_unostyle.cxx | 26 +++--- binfilter/bf_sw/source/core/unocore/sw_unotbl.cxx | 90 ++++++++++++++------ binfilter/bf_sw/source/core/unocore/sw_unotext.cxx | 18 ++-- 11 files changed, 155 insertions(+), 101 deletions(-) diff --git a/binfilter/bf_sw/source/core/unocore/sw_unodraw.cxx b/binfilter/bf_sw/source/core/unocore/sw_unodraw.cxx index 5533ee5..37cb25e 100644 --- a/binfilter/bf_sw/source/core/unocore/sw_unodraw.cxx +++ b/binfilter/bf_sw/source/core/unocore/sw_unodraw.cxx @@ -1285,27 +1285,29 @@ Any SwXShape::getPropertyDefault( const OUString& rPropertyName ) return aRet; } -void SwXShape::addPropertyChangeListener(const OUString& /*PropertyName*/, const Reference< XPropertyChangeListener > & /*aListener*/) +void SwXShape::addPropertyChangeListener(const OUString& /*PropertyName*/, + const Reference< XPropertyChangeListener > & /*aListener*/) throw( UnknownPropertyException, WrappedTargetException, RuntimeException ) { DBG_WARNING("not implemented"); } void SwXShape::removePropertyChangeListener( - const OUString& PropertyName, - const Reference< XPropertyChangeListener > & aListener) + const OUString& /*PropertyName*/,const Reference< XPropertyChangeListener > & /*aListener*/) throw( UnknownPropertyException, WrappedTargetException, RuntimeException ) { DBG_WARNING("not implemented"); } -void SwXShape::addVetoableChangeListener(const OUString& /*PropertyName*/, const Reference< XVetoableChangeListener > & /*aListener*/) +void SwXShape::addVetoableChangeListener( + const OUString& /*PropertyName*/, const Reference< XVetoableChangeListener > & /*aListener*/) throw( UnknownPropertyException, WrappedTargetException, RuntimeException ) { DBG_WARNING("not implemented"); } -void SwXShape::removeVetoableChangeListener(const OUString& /*PropertyName*/, const Reference< XVetoableChangeListener > & /*aListener*/) +void SwXShape::removeVetoableChangeListener(const OUString& /*PropertyName*/, + const Reference< XVetoableChangeListener > & /*aListener*/) throw( UnknownPropertyException, WrappedTargetException, RuntimeException ) { DBG_WARNING("not implemented"); diff --git a/binfilter/bf_sw/source/core/unocore/sw_unomap.cxx b/binfilter/bf_sw/source/core/unocore/sw_unomap.cxx index 0d0fd71..1a46a94 100644 --- a/binfilter/bf_sw/source/core/unocore/sw_unomap.cxx +++ b/binfilter/bf_sw/source/core/unocore/sw_unomap.cxx @@ -2321,17 +2321,10 @@ const SfxItemPropertyMap* SwUnoPropertyMapProvider::GetPropertyMap(sal_uInt16 nP } return aMapArr[nPropertyId]; } -/* -----------------04.07.98 11:42------------------- - * - * --------------------------------------------------*/ -sal_Bool SwItemPropertySet::FillItem(SfxItemSet& rSet, sal_uInt16 nWhich, sal_Bool bGetProperty) const + +sal_Bool SwItemPropertySet::FillItem(SfxItemSet& /*rSet*/, sal_uInt16 /*nWhich*/, sal_Bool /*bGetProperty*/) const { sal_Bool bRet = sal_False; -/* if(nWhich == SID_ATTR_PAGE_PAPERBIN) - { - rSet.Put(SvxPaperBinItem(SID_ATTR_PAGE_PAPERBIN, 0)); - bRet = sal_True; - }*/ return bRet; } } diff --git a/binfilter/bf_sw/source/core/unocore/sw_unoobj2.cxx b/binfilter/bf_sw/source/core/unocore/sw_unoobj2.cxx index 81ba642..4a88ebc 100644 --- a/binfilter/bf_sw/source/core/unocore/sw_unoobj2.cxx +++ b/binfilter/bf_sw/source/core/unocore/sw_unoobj2.cxx @@ -1934,7 +1934,7 @@ Any SAL_CALL SwXTextRange::getPropertyValue( const OUString& rPropertyName ) -----------------------------------------------------------------------*/ void SAL_CALL SwXTextRange::addPropertyChangeListener( - const OUString& aPropertyName, const Reference< XPropertyChangeListener >& xListener ) + const OUString& /*aPropertyName*/, const Reference< XPropertyChangeListener >& /*xListener*/ ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException) { DBG_WARNING("not implemented"); @@ -1943,7 +1943,7 @@ void SAL_CALL SwXTextRange::addPropertyChangeListener( -----------------------------------------------------------------------*/ void SAL_CALL SwXTextRange::removePropertyChangeListener( - const OUString& aPropertyName, const Reference< XPropertyChangeListener >& aListener ) + const OUString& /*aPropertyName*/, const Reference< XPropertyChangeListener >& /*aListener*/ ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException) { DBG_WARNING("not implemented"); @@ -1952,7 +1952,7 @@ void SAL_CALL SwXTextRange::removePropertyChangeListener( -----------------------------------------------------------------------*/ void SAL_CALL SwXTextRange::addVetoableChangeListener( - const OUString& PropertyName, const Reference< XVetoableChangeListener >& aListener ) + const OUString& /*PropertyName*/, const Reference< XVetoableChangeListener >& /*aListener*/ ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException) { DBG_WARNING("not implemented"); @@ -1961,7 +1961,7 @@ void SAL_CALL SwXTextRange::addVetoableChangeListener( -----------------------------------------------------------------------*/ void SAL_CALL SwXTextRange::removeVetoableChangeListener( - const OUString& PropertyName, const Reference< XVetoableChangeListener >& aListener ) + const OUString& /*PropertyName*/, const Reference< XVetoableChangeListener >& /*aListener*/ ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException) { DBG_WARNING("not implemented"); diff --git a/binfilter/bf_sw/source/core/unocore/sw_unoparagraph.cxx b/binfilter/bf_sw/source/core/unocore/sw_unoparagraph.cxx index 945d0fb..1bd8d00 100644 --- a/binfilter/bf_sw/source/core/unocore/sw_unoparagraph.cxx +++ b/binfilter/bf_sw/source/core/unocore/sw_unoparagraph.cxx @@ -315,23 +315,23 @@ Sequence< Any > SwXParagraph::getPropertyValues( ---------------------------------------------------------------------------*/ void SwXParagraph::addPropertiesChangeListener( - const Sequence< OUString >& aPropertyNames, - const Reference< XPropertiesChangeListener >& xListener ) + const Sequence< OUString >& /*aPropertyNames*/, + const Reference< XPropertiesChangeListener >& /*xListener*/ ) throw(RuntimeException) {} /* -----------------------------02.04.01 11:43-------------------------------- ---------------------------------------------------------------------------*/ void SwXParagraph::removePropertiesChangeListener( - const Reference< XPropertiesChangeListener >& xListener ) + const Reference< XPropertiesChangeListener >& /*xListener*/ ) throw(RuntimeException) {} /* -----------------------------02.04.01 11:43-------------------------------- ---------------------------------------------------------------------------*/ void SwXParagraph::firePropertiesChangeEvent( - const Sequence< OUString >& aPropertyNames, - const Reference< XPropertiesChangeListener >& xListener ) + const Sequence< OUString >& /*aPropertyNames*/, + const Reference< XPropertiesChangeListener >& /*xListener*/ ) throw(RuntimeException) {} /* -----------------------------12.09.00 11:09-------------------------------- @@ -371,8 +371,8 @@ BOOL SwXParagraph::getDefaultTextContentValue(Any& rAny, const OUString& rProper -----------------------------------------------------------------------*/ void SwXParagraph::addPropertyChangeListener( - const OUString& PropertyName, - const uno::Reference< beans::XPropertyChangeListener > & aListener) + const OUString& /*PropertyName*/, + const uno::Reference< beans::XPropertyChangeListener > & /*aListener*/) throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); @@ -380,21 +380,26 @@ void SwXParagraph::addPropertyChangeListener( /*-- 11.12.98 08:12:50--------------------------------------------------- -----------------------------------------------------------------------*/ -void SwXParagraph::removePropertyChangeListener(const OUString& PropertyName, const uno::Reference< beans::XPropertyChangeListener > & aListener) throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException ) +void SwXParagraph::removePropertyChangeListener( + const OUString& /*PropertyName*/, const uno::Reference< beans::XPropertyChangeListener > & /*aListener*/) + throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); } /*-- 11.12.98 08:12:50--------------------------------------------------- -----------------------------------------------------------------------*/ -void SwXParagraph::addVetoableChangeListener(const OUString& PropertyName, const uno::Reference< beans::XVetoableChangeListener > & aListener) throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException ) +void SwXParagraph::addVetoableChangeListener(const OUString& /*PropertyName*/, + const uno::Reference< beans::XVetoableChangeListener > & /*aListener*/) + throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); } /*-- 11.12.98 08:12:51--------------------------------------------------- -----------------------------------------------------------------------*/ -void SwXParagraph::removeVetoableChangeListener(const OUString& PropertyName, const uno::Reference< beans::XVetoableChangeListener > & aListener) +void SwXParagraph::removeVetoableChangeListener( + const OUString& /*PropertyName*/, const uno::Reference< beans::XVetoableChangeListener > & /*aListener*/) throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); @@ -617,7 +622,7 @@ uno::Any SwXParagraph::getPropertyDefault(const OUString& rPropertyName) /*-- 11.12.98 08:12:51--------------------------------------------------- -----------------------------------------------------------------------*/ -void SwXParagraph::attach(const uno::Reference< XTextRange > & xTextRange) +void SwXParagraph::attach(const uno::Reference< XTextRange > & /*xTextRange*/) throw( lang::IllegalArgumentException, uno::RuntimeException ) { SolarMutexGuard aGuard; diff --git a/binfilter/bf_sw/source/core/unocore/sw_unoport.cxx b/binfilter/bf_sw/source/core/unocore/sw_unoport.cxx index 99e3436..80920be 100644 --- a/binfilter/bf_sw/source/core/unocore/sw_unoport.cxx +++ b/binfilter/bf_sw/source/core/unocore/sw_unoport.cxx @@ -497,31 +497,31 @@ Sequence< Any > SwXTextPortion::getPropertyValues( ---------------------------------------------------------------------------*/ void SwXTextPortion::addPropertiesChangeListener( - const Sequence< OUString >& aPropertyNames, - const Reference< XPropertiesChangeListener >& xListener ) + const Sequence< OUString >& /*aPropertyNames*/, + const Reference< XPropertiesChangeListener >& /*xListener*/ ) throw(RuntimeException) {} /* -----------------------------02.04.01 11:44-------------------------------- ---------------------------------------------------------------------------*/ void SwXTextPortion::removePropertiesChangeListener( - const Reference< XPropertiesChangeListener >& xListener ) + const Reference< XPropertiesChangeListener >& /*xListener*/ ) throw(RuntimeException) {} /* -----------------------------02.04.01 11:44-------------------------------- ---------------------------------------------------------------------------*/ void SwXTextPortion::firePropertiesChangeEvent( - const Sequence< OUString >& aPropertyNames, - const Reference< XPropertiesChangeListener >& xListener ) + const Sequence< OUString >& /*aPropertyNames*/, + const Reference< XPropertiesChangeListener >& /*xListener*/ ) throw(RuntimeException) {} /*-- 11.12.98 09:56:58--------------------------------------------------- -----------------------------------------------------------------------*/ void SwXTextPortion::addPropertyChangeListener( - const OUString& PropertyName, - const Reference< XPropertyChangeListener > & aListener) + const OUString& /*PropertyName*/, + const Reference< XPropertyChangeListener > & /*aListener*/) throw( UnknownPropertyException, WrappedTargetException, RuntimeException ) { DBG_WARNING("not implemented"); @@ -529,21 +529,27 @@ void SwXTextPortion::addPropertyChangeListener( /*-- 11.12.98 09:56:58--------------------------------------------------- -----------------------------------------------------------------------*/ -void SwXTextPortion::removePropertyChangeListener(const OUString& PropertyName, const uno::Reference< beans::XPropertyChangeListener > & aListener) throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException ) +void SwXTextPortion::removePropertyChangeListener( + const OUString& /*PropertyName*/, const uno::Reference< beans::XPropertyChangeListener > & /*aListener*/) + throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); } /*-- 11.12.98 09:56:58--------------------------------------------------- -----------------------------------------------------------------------*/ -void SwXTextPortion::addVetoableChangeListener(const OUString& PropertyName, const uno::Reference< beans::XVetoableChangeListener > & aListener) throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException ) +void SwXTextPortion::addVetoableChangeListener( + const OUString& /*PropertyName*/, const uno::Reference< beans::XVetoableChangeListener > & /*aListener*/) + throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); } /*-- 11.12.98 09:56:59--------------------------------------------------- -----------------------------------------------------------------------*/ -void SwXTextPortion::removeVetoableChangeListener(const OUString& PropertyName, const uno::Reference< beans::XVetoableChangeListener > & aListener) throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException ) +void SwXTextPortion::removeVetoableChangeListener( + const OUString& /*PropertyName*/, const uno::Reference< beans::XVetoableChangeListener > & /*aListener*/) + throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); } @@ -627,7 +633,7 @@ uno::Any SwXTextPortion::getPropertyDefault(const OUString& rPropertyName) /*-- 11.12.98 09:56:59--------------------------------------------------- -----------------------------------------------------------------------*/ -OUString SwXTextPortion::getPresentation(sal_Bool bShowCommand) throw( uno::RuntimeException ) +OUString SwXTextPortion::getPresentation(sal_Bool /*bShowCommand*/) throw( uno::RuntimeException ) { SolarMutexGuard aGuard; SwUnoCrsr* pUnoCrsr = ((SwXTextPortion*)this)->GetCrsr(); @@ -644,7 +650,7 @@ OUString SwXTextPortion::getPresentation(sal_Bool bShowCommand) throw( uno::Runt /*-- 11.12.98 09:56:59--------------------------------------------------- -----------------------------------------------------------------------*/ -void SwXTextPortion::attach(const uno::Reference< XTextRange > & xTextRange) +void SwXTextPortion::attach(const uno::Reference< XTextRange > & /*xTextRange*/) throw( lang::IllegalArgumentException, uno::RuntimeException ) { SolarMutexGuard aGuard; @@ -703,7 +709,7 @@ void SwXTextPortion::removeEventListener(const uno::Reference< lang::XEventListe /* -----------------24.03.99 13:30------------------- * * --------------------------------------------------*/ -uno::Reference< container::XEnumeration > SwXTextPortion::createContentEnumeration(const OUString& aServiceName) +uno::Reference< container::XEnumeration > SwXTextPortion::createContentEnumeration(const OUString& /*aServiceName*/) throw( uno::RuntimeException ) { SolarMutexGuard aGuard; diff --git a/binfilter/bf_sw/source/core/unocore/sw_unoredline.cxx b/binfilter/bf_sw/source/core/unocore/sw_unoredline.cxx index 61c6d47..e5c7730 100644 --- a/binfilter/bf_sw/source/core/unocore/sw_unoredline.cxx +++ b/binfilter/bf_sw/source/core/unocore/sw_unoredline.cxx @@ -544,26 +544,26 @@ Any SwXRedline::getPropertyValue( const OUString& rPropertyName ) } void SwXRedline::addPropertyChangeListener( - const OUString& aPropertyName, - const Reference< XPropertyChangeListener >& xListener ) + const OUString& /*aPropertyName*/, + const Reference< XPropertyChangeListener >& /*xListener*/ ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException) { } void SwXRedline::removePropertyChangeListener( - const OUString& aPropertyName, const Reference< XPropertyChangeListener >& aListener ) + const OUString& /*aPropertyName*/, const Reference< XPropertyChangeListener >& /*aListener*/ ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException) { } void SwXRedline::addVetoableChangeListener( - const OUString& PropertyName, const Reference< XVetoableChangeListener >& aListener ) + const OUString& /*PropertyName*/, const Reference< XVetoableChangeListener >& /*aListener*/ ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException) { } void SwXRedline::removeVetoableChangeListener( - const OUString& PropertyName, const Reference< XVetoableChangeListener >& aListener ) + const OUString& /*PropertyName*/, const Reference< XVetoableChangeListener >& /*aListener*/ ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException) { } @@ -643,7 +643,7 @@ Reference< XTextCursor > SwXRedline::createTextCursor(void) throw( RuntimeExcep } Reference< XTextCursor > SwXRedline::createTextCursorByRange( - const Reference< XTextRange > & aTextPosition) + const Reference< XTextRange > & /*aTextPosition*/) throw( RuntimeException ) { throw RuntimeException(); diff --git a/binfilter/bf_sw/source/core/unocore/sw_unoredlines.cxx b/binfilter/bf_sw/source/core/unocore/sw_unoredlines.cxx index 5c7ed02..6be93fa 100644 --- a/binfilter/bf_sw/source/core/unocore/sw_unoredlines.cxx +++ b/binfilter/bf_sw/source/core/unocore/sw_unoredlines.cxx @@ -146,7 +146,7 @@ OUString SwXRedlines::getImplementationName(void) throw( RuntimeException ) /*-- 11.01.01 15:28:56--------------------------------------------------- -----------------------------------------------------------------------*/ -BOOL SwXRedlines::supportsService(const ::rtl::OUString& ServiceName) +BOOL SwXRedlines::supportsService(const ::rtl::OUString& /*ServiceName*/) throw( RuntimeException ) { DBG_ERROR("not implemented"); @@ -229,7 +229,7 @@ rtl::OUString SwXRedlineEnumeration::getImplementationName(void) throw( RuntimeE /*-- 12.01.01 15:06:10--------------------------------------------------- -----------------------------------------------------------------------*/ -BOOL SwXRedlineEnumeration::supportsService(const ::rtl::OUString& ServiceName) throw( RuntimeException ) +BOOL SwXRedlineEnumeration::supportsService(const ::rtl::OUString& /*ServiceName*/) throw( RuntimeException ) { return FALSE; } diff --git a/binfilter/bf_sw/source/core/unocore/sw_unosrch.cxx b/binfilter/bf_sw/source/core/unocore/sw_unosrch.cxx index b7617c2..ab21647 100644 --- a/binfilter/bf_sw/source/core/unocore/sw_unosrch.cxx +++ b/binfilter/bf_sw/source/core/unocore/sw_unosrch.cxx @@ -613,28 +613,36 @@ SET_UINT16: /*-- 14.12.98 13:07:13--------------------------------------------------- -----------------------------------------------------------------------*/ -void SwXTextSearch::addPropertyChangeListener(const OUString& PropertyName, const Reference< XPropertyChangeListener > & aListener) throw( UnknownPropertyException, lang::WrappedTargetException, RuntimeException ) +void SwXTextSearch::addPropertyChangeListener( + const OUString& /*PropertyName*/, const Reference< XPropertyChangeListener > & /*aListener*/) + throw( UnknownPropertyException, lang::WrappedTargetException, RuntimeException ) { DBG_WARNING("not implemented"); } /*-- 14.12.98 13:07:13--------------------------------------------------- -----------------------------------------------------------------------*/ -void SwXTextSearch::removePropertyChangeListener(const OUString& PropertyName, const Reference< XPropertyChangeListener > & aListener) throw( UnknownPropertyException, lang::WrappedTargetException, RuntimeException ) +void SwXTextSearch::removePropertyChangeListener( + const OUString& /*PropertyName*/, const Reference< XPropertyChangeListener > & /*aListener*/) + throw( UnknownPropertyException, lang::WrappedTargetException, RuntimeException ) { DBG_WARNING("not implemented"); } /*-- 14.12.98 13:07:14--------------------------------------------------- -----------------------------------------------------------------------*/ -void SwXTextSearch::addVetoableChangeListener(const OUString& PropertyName, const Reference< XVetoableChangeListener > & aListener) throw( UnknownPropertyException, lang::WrappedTargetException, RuntimeException ) +void SwXTextSearch::addVetoableChangeListener( + const OUString& /*PropertyName*/, const Reference< XVetoableChangeListener > & /*aListener*/) + throw( UnknownPropertyException, lang::WrappedTargetException, RuntimeException ) { DBG_WARNING("not implemented"); } /*-- 14.12.98 13:07:14--------------------------------------------------- -----------------------------------------------------------------------*/ -void SwXTextSearch::removeVetoableChangeListener(const OUString& PropertyName, const Reference< XVetoableChangeListener > & aListener) throw( UnknownPropertyException, lang::WrappedTargetException, RuntimeException ) +void SwXTextSearch::removeVetoableChangeListener( + const OUString& /*PropertyName*/, const Reference< XVetoableChangeListener > & /*aListener*/) + throw( UnknownPropertyException, lang::WrappedTargetException, RuntimeException ) { DBG_WARNING("not implemented"); } diff --git a/binfilter/bf_sw/source/core/unocore/sw_unostyle.cxx b/binfilter/bf_sw/source/core/unocore/sw_unostyle.cxx index f2dcbc5..3511d94 100644 --- a/binfilter/bf_sw/source/core/unocore/sw_unostyle.cxx +++ b/binfilter/bf_sw/source/core/unocore/sw_unostyle.cxx @@ -2333,8 +2333,8 @@ Sequence< Any > SwXStyle::getPropertyValues( /*-- 18.04.01 13:07:29--------------------------------------------------- -----------------------------------------------------------------------*/ void SwXStyle::addPropertiesChangeListener( - const Sequence< OUString >& aPropertyNames, - const Reference< XPropertiesChangeListener >& xListener ) + const Sequence< OUString >& /*aPropertyNames*/, + const Reference< XPropertiesChangeListener >& /*xListener*/ ) throw(RuntimeException) { } @@ -2342,7 +2342,7 @@ void SwXStyle::addPropertiesChangeListener( -----------------------------------------------------------------------*/ void SwXStyle::removePropertiesChangeListener( - const Reference< XPropertiesChangeListener >& xListener ) + const Reference< XPropertiesChangeListener >& /*xListener*/ ) throw(RuntimeException) { } @@ -2350,8 +2350,8 @@ void SwXStyle::removePropertiesChangeListener( -----------------------------------------------------------------------*/ void SwXStyle::firePropertiesChangeEvent( - const Sequence< OUString >& aPropertyNames, - const Reference< XPropertiesChangeListener >& xListener ) + const Sequence< OUString >& /*aPropertyNames*/, + const Reference< XPropertiesChangeListener >& /*xListener*/ ) throw(RuntimeException) { } @@ -2382,8 +2382,8 @@ Any SwXStyle::getPropertyValue(const OUString& rPropertyName) /*-- 17.12.98 08:26:53--------------------------------------------------- -----------------------------------------------------------------------*/ -void SwXStyle::addPropertyChangeListener(const OUString& PropertyName, - const Reference< XPropertyChangeListener > & aListener) +void SwXStyle::addPropertyChangeListener(const OUString& /*PropertyName*/, + const Reference< XPropertyChangeListener > & /*aListener*/) throw( UnknownPropertyException, lang::WrappedTargetException, RuntimeException ) { DBG_WARNING("not implemented"); @@ -2391,8 +2391,8 @@ void SwXStyle::addPropertyChangeListener(const OUString& PropertyName, /*-- 17.12.98 08:26:54--------------------------------------------------- -----------------------------------------------------------------------*/ -void SwXStyle::removePropertyChangeListener(const OUString& PropertyName, - const Reference< XPropertyChangeListener > & aListener) +void SwXStyle::removePropertyChangeListener(const OUString& /*PropertyName*/, + const Reference< XPropertyChangeListener > & /*aListener*/) throw( UnknownPropertyException, lang::WrappedTargetException, RuntimeException ) { DBG_WARNING("not implemented"); @@ -2400,8 +2400,8 @@ void SwXStyle::removePropertyChangeListener(const OUString& PropertyName, /*-- 17.12.98 08:26:54--------------------------------------------------- -----------------------------------------------------------------------*/ -void SwXStyle::addVetoableChangeListener(const OUString& PropertyName, - const Reference< XVetoableChangeListener > & aListener) +void SwXStyle::addVetoableChangeListener(const OUString& /*PropertyName*/, + const Reference< XVetoableChangeListener > & /*aListener*/) throw( UnknownPropertyException, lang::WrappedTargetException, RuntimeException ) { DBG_WARNING("not implemented"); @@ -2409,8 +2409,8 @@ void SwXStyle::addVetoableChangeListener(const OUString& PropertyName, /*-- 17.12.98 08:26:54--------------------------------------------------- -----------------------------------------------------------------------*/ -void SwXStyle::removeVetoableChangeListener(const OUString& PropertyName, - const Reference< XVetoableChangeListener > & aListener) +void SwXStyle::removeVetoableChangeListener(const OUString& /*PropertyName*/, + const Reference< XVetoableChangeListener > & /*aListener*/) throw( UnknownPropertyException, lang::WrappedTargetException, RuntimeException ) { DBG_WARNING("not implemented"); diff --git a/binfilter/bf_sw/source/core/unocore/sw_unotbl.cxx b/binfilter/bf_sw/source/core/unocore/sw_unotbl.cxx index 6b4bf6b..9aabf78 100644 --- a/binfilter/bf_sw/source/core/unocore/sw_unotbl.cxx +++ b/binfilter/bf_sw/source/core/unocore/sw_unotbl.cxx @@ -551,7 +551,7 @@ void lcl_setValue( SwXCell &rCell, double nVal ) { if(rCell.IsValid()) { - // Der Text mu� zunaechst (vielleicht) geloescht werden + // Der Text mu? zunaechst (vielleicht) geloescht werden sal_uInt32 nNdPos = rCell.pBox->IsValidNumTxtNd( sal_True ); if(USHRT_MAX == nNdPos) lcl_setString( rCell, OUString() ); @@ -762,7 +762,7 @@ void SwXCell::setFormula(const OUString& rFormula) throw( uno::RuntimeException SolarMutexGuard aGuard; if(IsValid()) { - // Der Text mu� zunaechst (vielleicht) geloescht werden + // Der Text mu? zunaechst (vielleicht) geloescht werden sal_uInt32 nNdPos = pBox->IsValidNumTxtNd( sal_True ); if(USHRT_MAX == nNdPos) setString(OUString()); @@ -919,22 +919,30 @@ uno::Any SwXCell::getPropertyValue(const OUString& rPropertyName) return aRet; } -void SwXCell::addPropertyChangeListener(const OUString& PropertyName, const uno::Reference< beans::XPropertyChangeListener > & aListener) throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) +void SwXCell::addPropertyChangeListener( + const OUString& /*PropertyName*/, const uno::Reference< beans::XPropertyChangeListener > & /*aListener*/) + throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); } -void SwXCell::removePropertyChangeListener(const OUString& PropertyName, const uno::Reference< beans::XPropertyChangeListener > & aListener) throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) +void SwXCell::removePropertyChangeListener( + const OUString& /*PropertyName*/, const uno::Reference< beans::XPropertyChangeListener > & /*aListener*/) + throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); } -void SwXCell::addVetoableChangeListener(const OUString& PropertyName, const uno::Reference< beans::XVetoableChangeListener > & aListener) throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) +void SwXCell::addVetoableChangeListener( + const OUString& /*PropertyName*/, const uno::Reference< beans::XVetoableChangeListener > & /*aListener*/) + throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); } -void SwXCell::removeVetoableChangeListener(const OUString& PropertyName, const uno::Reference< beans::XVetoableChangeListener > & aListener) throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) +void SwXCell::removeVetoableChangeListener( + const OUString& /*PropertyName*/, const uno::Reference< beans::XVetoableChangeListener > & /*aListener*/) + throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); } @@ -970,7 +978,7 @@ void SwXCell::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew) ClientModify(this, pOld, pNew); } -SwXCell* SwXCell::CreateXCell(SwFrmFmt* pTblFmt, SwTableBox* pBox, const String* pCellName, SwTable *pTable ) +SwXCell* SwXCell::CreateXCell(SwFrmFmt* pTblFmt, SwTableBox* pBox, const String* /*pCellName*/, SwTable *pTable ) { SwXCell* pRet = 0; if(pTblFmt && pBox) @@ -1188,22 +1196,30 @@ uno::Any SwXTextTableRow::getPropertyValue(const OUString& rPropertyName) throw( return aRet; } -void SwXTextTableRow::addPropertyChangeListener(const OUString& PropertyName, const uno::Reference< beans::XPropertyChangeListener > & aListener) throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) +void SwXTextTableRow::addPropertyChangeListener( + const OUString& /*PropertyName*/, const uno::Reference< beans::XPropertyChangeListener > & /*aListener*/) + throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); } -void SwXTextTableRow::removePropertyChangeListener(const OUString& PropertyName, const uno::Reference< beans::XPropertyChangeListener > & aListener) throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) +void SwXTextTableRow::removePropertyChangeListener( + const OUString& /*PropertyName*/, const uno::Reference< beans::XPropertyChangeListener > & /*aListener*/) + throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); } -void SwXTextTableRow::addVetoableChangeListener(const OUString& PropertyName, const uno::Reference< beans::XVetoableChangeListener > & aListener) throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) +void SwXTextTableRow::addVetoableChangeListener( + const OUString& /*PropertyName*/, const uno::Reference< beans::XVetoableChangeListener > & /*aListener*/) + throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); } -void SwXTextTableRow::removeVetoableChangeListener(const OUString& PropertyName, const uno::Reference< beans::XVetoableChangeListener > & aListener) throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) +void SwXTextTableRow::removeVetoableChangeListener( + const OUString& /*PropertyName*/, const uno::Reference< beans::XVetoableChangeListener > & /*aListener*/) + throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); } @@ -1581,22 +1597,30 @@ uno::Any SwXTextTableCursor::getPropertyValue(const OUString& rPropertyName) return aRet; } -void SwXTextTableCursor::addPropertyChangeListener(const OUString& PropertyName, const uno::Reference< beans::XPropertyChangeListener > & aListener) throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) +void SwXTextTableCursor::addPropertyChangeListener( + const OUString& /*PropertyName*/, const uno::Reference< beans::XPropertyChangeListener > & /*aListener*/) + throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); } -void SwXTextTableCursor::removePropertyChangeListener(const OUString& PropertyName, const uno::Reference< beans::XPropertyChangeListener > & aListener) throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) +void SwXTextTableCursor::removePropertyChangeListener( + const OUString& /*PropertyName*/, const uno::Reference< beans::XPropertyChangeListener > & /*aListener*/) + throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); } -void SwXTextTableCursor::addVetoableChangeListener(const OUString& PropertyName, const uno::Reference< beans::XVetoableChangeListener > & aListener) throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) +void SwXTextTableCursor::addVetoableChangeListener( + const OUString& /*PropertyName*/, const uno::Reference< beans::XVetoableChangeListener > & /*aListener*/) + throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); } -void SwXTextTableCursor::removeVetoableChangeListener(const OUString& PropertyName, const uno::Reference< beans::XVetoableChangeListener > & aListener) throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) +void SwXTextTableCursor::removeVetoableChangeListener( + const OUString& /*PropertyName*/, const uno::Reference< beans::XVetoableChangeListener > & /*aListener*/) + throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); } @@ -2722,7 +2746,7 @@ void SwXTextTable::sort(const uno::Sequence< beans::PropertyValue >& rDescriptor } } -void SwXTextTable::autoFormat(const OUString& aName) throw( IllegalArgumentException, uno::RuntimeException ) +void SwXTextTable::autoFormat(const OUString& /*aName*/) throw( IllegalArgumentException, uno::RuntimeException ) { SolarMutexGuard aGuard; SwFrmFmt* pFmt = GetFrmFmt(); @@ -3046,22 +3070,30 @@ uno::Any SwXTextTable::getPropertyValue(const OUString& rPropertyName) throw( be return aRet; } -void SwXTextTable::addPropertyChangeListener(const OUString& PropertyName, const uno::Reference< beans::XPropertyChangeListener > & aListener) throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) +void SwXTextTable::addPropertyChangeListener( + const OUString& /*PropertyName*/, const uno::Reference< beans::XPropertyChangeListener > & /*aListener*/) + throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); } -void SwXTextTable::removePropertyChangeListener(const OUString& PropertyName, const uno::Reference< beans::XPropertyChangeListener > & aListener) throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) +void SwXTextTable::removePropertyChangeListener( + const OUString& /*PropertyName*/, const uno::Reference< beans::XPropertyChangeListener > & /*aListener*/) + throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); } -void SwXTextTable::addVetoableChangeListener(const OUString& PropertyName, const uno::Reference< beans::XVetoableChangeListener > & aListener) throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) +void SwXTextTable::addVetoableChangeListener( + const OUString& /*PropertyName*/, const uno::Reference< beans::XVetoableChangeListener > & /*aListener*/) + throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); } -void SwXTextTable::removeVetoableChangeListener(const OUString& PropertyName, const uno::Reference< beans::XVetoableChangeListener > & aListener) throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) +void SwXTextTable::removeVetoableChangeListener( + const OUString& /*PropertyName*/, const uno::Reference< beans::XVetoableChangeListener > & /*aListener*/) + throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); } @@ -3593,22 +3625,30 @@ uno::Any SwXCellRange::getPropertyValue(const OUString& rPropertyName) throw( be return aRet; } -void SwXCellRange::addPropertyChangeListener(const OUString& PropertyName, const uno::Reference< beans::XPropertyChangeListener > & aListener) throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) +void SwXCellRange::addPropertyChangeListener( + const OUString& /*PropertyName*/, const uno::Reference< beans::XPropertyChangeListener > & /*aListener*/) + throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); } -void SwXCellRange::removePropertyChangeListener(const OUString& PropertyName, const uno::Reference< beans::XPropertyChangeListener > & aListener) throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) +void SwXCellRange::removePropertyChangeListener( + const OUString& /*PropertyName*/, const uno::Reference< beans::XPropertyChangeListener > & /*aListener*/) + throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); } -void SwXCellRange::addVetoableChangeListener(const OUString& PropertyName, const uno::Reference< beans::XVetoableChangeListener > & aListener) throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) +void SwXCellRange::addVetoableChangeListener( + const OUString& /*PropertyName*/, const uno::Reference< beans::XVetoableChangeListener > & /*aListener*/) + throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); } -void SwXCellRange::removeVetoableChangeListener(const OUString& PropertyName, const uno::Reference< beans::XVetoableChangeListener > & aListener) throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) +void SwXCellRange::removeVetoableChangeListener( + const OUString& /*PropertyName*/, const uno::Reference< beans::XVetoableChangeListener > & /*aListener*/) + throw( beans::UnknownPropertyException, WrappedTargetException, uno::RuntimeException ) { DBG_WARNING("not implemented"); } @@ -3972,7 +4012,7 @@ void SwXCellRange::removeChartDataChangeEventListener(const uno::Reference< char throw uno::RuntimeException(); } -sal_Bool SwXCellRange::isNotANumber(double nNumber) throw( uno::RuntimeException ) +sal_Bool SwXCellRange::isNotANumber(double /*nNumber*/) throw( uno::RuntimeException ) { DBG_WARNING("not implemented"); return sal_False; diff --git a/binfilter/bf_sw/source/core/unocore/sw_unotext.cxx b/binfilter/bf_sw/source/core/unocore/sw_unotext.cxx index 84640a2..ba07099 100644 --- a/binfilter/bf_sw/source/core/unocore/sw_unotext.cxx +++ b/binfilter/bf_sw/source/core/unocore/sw_unotext.cxx @@ -1143,7 +1143,7 @@ uno::Reference< beans::XPropertySetInfo > SwXText::getPropertySetInfo( ) /*-- 15.03.2002 12:30:42--------------------------------------------------- -----------------------------------------------------------------------*/ -void SwXText::setPropertyValue( const ::rtl::OUString& aPropertyName, const uno::Any& aValue ) +void SwXText::setPropertyValue( const ::rtl::OUString& /*aPropertyName*/, const uno::Any& /*aValue*/ ) throw(beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) @@ -1209,8 +1209,8 @@ uno::Any SwXText::getPropertyValue( -----------------------------------------------------------------------*/ void SwXText::addPropertyChangeListener( - const ::rtl::OUString& aPropertyName, - const uno::Reference< beans::XPropertyChangeListener >& xListener ) + const ::rtl::OUString& /*aPropertyName*/, + const uno::Reference< beans::XPropertyChangeListener >& /*xListener*/ ) throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) { @@ -1220,8 +1220,8 @@ void SwXText::addPropertyChangeListener( -----------------------------------------------------------------------*/ void SwXText::removePropertyChangeListener( - const ::rtl::OUString& aPropertyName, - const uno::Reference< beans::XPropertyChangeListener >& aListener ) + const ::rtl::OUString& /*aPropertyName*/, + const uno::Reference< beans::XPropertyChangeListener >& /*aListener*/ ) throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) { @@ -1231,8 +1231,8 @@ void SwXText::removePropertyChangeListener( -----------------------------------------------------------------------*/ void SwXText::addVetoableChangeListener( - const ::rtl::OUString& PropertyName, - const uno::Reference< beans::XVetoableChangeListener >& aListener ) + const ::rtl::OUString& /*PropertyName*/, + const uno::Reference< beans::XVetoableChangeListener >& /*aListener*/ ) throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) { @@ -1242,8 +1242,8 @@ void SwXText::addVetoableChangeListener( -----------------------------------------------------------------------*/ void SwXText::removeVetoableChangeListener( - const ::rtl::OUString& PropertyName, - const uno::Reference< beans::XVetoableChangeListener >& aListener ) + const ::rtl::OUString& /*PropertyName*/, + const uno::Reference< beans::XVetoableChangeListener >& /*aListener*/ ) throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) { -- 1.7.1
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice