diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-14 21:11:38 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-14 21:11:38 +0100 |
commit | 706195e81220a701da2be8ad926511e799e3f7f1 (patch) | |
tree | aa6c2949ea984d0deb58386ff016e016d2a09d15 | |
parent | Remove dates from comments (diff) | |
download | binfilter-706195e81220a701da2be8ad926511e799e3f7f1.tar.gz binfilter-706195e81220a701da2be8ad926511e799e3f7f1.zip |
Remove empty comment fields
16 files changed, 58 insertions, 174 deletions
diff --git a/binfilter/bf_sw/source/core/doc/sw_number.cxx b/binfilter/bf_sw/source/core/doc/sw_number.cxx index da6ed2ff9..c8aae0189 100644 --- a/binfilter/bf_sw/source/core/doc/sw_number.cxx +++ b/binfilter/bf_sw/source/core/doc/sw_number.cxx @@ -576,9 +576,7 @@ extern const sal_Char sBulletFntName[] = "StarSymbol"; // richtigen CharFormaten eines Dokumentes haengen !! // (Kopiert die NumFormate und returnt sich selbst) -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + /*N*/ void SwNumRule::SetSvxRule(const SvxNumRule& rNumRule, SwDoc* pDoc) /*N*/ { /*N*/ for( USHORT n = 0; n < MAXLEVEL; ++n ) @@ -595,9 +593,7 @@ extern const sal_Char sBulletFntName[] = "StarSymbol"; /*N*/ bContinusNum = rNumRule.IsContinuousNumbering(); //!!! bAbsSpaces = rNumRule.IsAbsSpaces(); /*N*/ } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + /*N*/ SvxNumRule SwNumRule::MakeSvxNumRule() const /*N*/ { /*N*/ SvxNumRule aRule(NUM_CONTINUOUS|NUM_CHAR_TEXT_DISTANCE|NUM_CHAR_STYLE| diff --git a/binfilter/bf_sw/source/core/fields/sw_dbfld.cxx b/binfilter/bf_sw/source/core/fields/sw_dbfld.cxx index d68db4c8c..a42a184e6 100644 --- a/binfilter/bf_sw/source/core/fields/sw_dbfld.cxx +++ b/binfilter/bf_sw/source/core/fields/sw_dbfld.cxx @@ -120,9 +120,7 @@ SwDBFieldType::SwDBFieldType(SwDoc* pDocPtr, const String& rNam, const SwDBData& /*N*/ } /*N*/ } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + /*N*/ BOOL SwDBFieldType::QueryValue( ::com::sun::star::uno::Any& rAny, BYTE nMId ) const /*N*/ { /*N*/ nMId &= ~CONVERT_TWIPS; @@ -145,9 +143,7 @@ SwDBFieldType::SwDBFieldType(SwDoc* pDocPtr, const String& rNam, const SwDBData& /*N*/ } /*N*/ return TRUE; /*N*/ } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + /*N*/ BOOL SwDBFieldType::PutValue( const ::com::sun::star::uno::Any& rAny, BYTE nMId ) /*N*/ { /*N*/ nMId &= ~CONVERT_TWIPS; diff --git a/binfilter/bf_sw/source/core/fields/sw_expfld.cxx b/binfilter/bf_sw/source/core/fields/sw_expfld.cxx index 0a2acca6d..0625c304e 100644 --- a/binfilter/bf_sw/source/core/fields/sw_expfld.cxx +++ b/binfilter/bf_sw/source/core/fields/sw_expfld.cxx @@ -550,9 +550,7 @@ void SwSetExpFieldType::Modify( SfxPoolItem*, SfxPoolItem* ) -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + /*N*/ BOOL SwSetExpFieldType::QueryValue( uno::Any& rAny, BYTE nMId ) const /*N*/ { /*N*/ nMId &= ~CONVERT_TWIPS; diff --git a/binfilter/bf_sw/source/core/layout/sw_atrfrm.cxx b/binfilter/bf_sw/source/core/layout/sw_atrfrm.cxx index e5ce27bc7..c6ceeac90 100644 --- a/binfilter/bf_sw/source/core/layout/sw_atrfrm.cxx +++ b/binfilter/bf_sw/source/core/layout/sw_atrfrm.cxx @@ -258,9 +258,7 @@ SfxPoolItem* SwFmtFrmSize::Clone( SfxItemPool* ) const } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + bool SwFmtFrmSize::QueryValue( uno::Any& rVal, BYTE nMemberId ) const { // hier wird immer konvertiert! @@ -316,9 +314,7 @@ bool SwFmtFrmSize::QueryValue( uno::Any& rVal, BYTE nMemberId ) const return true; } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + bool SwFmtFrmSize::PutValue( const uno::Any& rVal, BYTE nMemberId ) { sal_Bool bConvert = 0 != (nMemberId&CONVERT_TWIPS); diff --git a/binfilter/bf_sw/source/core/unocore/sw_unocrsrhelper.cxx b/binfilter/bf_sw/source/core/unocore/sw_unocrsrhelper.cxx index 6b362b61d..74ac0cac8 100644 --- a/binfilter/bf_sw/source/core/unocore/sw_unocrsrhelper.cxx +++ b/binfilter/bf_sw/source/core/unocore/sw_unocrsrhelper.cxx @@ -453,9 +453,7 @@ sal_Bool getCrsrPropertyValue(const SfxItemPropertyMap* pMap eState = eNewState; return bDone; }; -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + sal_Int16 IsNodeNumStart(SwPaM& rPam, PropertyState& eState) { const SwTxtNode* pTxtNd = rPam.GetNode()->GetTxtNode(); @@ -469,9 +467,7 @@ sal_Int16 IsNodeNumStart(SwPaM& rPam, PropertyState& eState) return -1; } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + void setNumberingProperty(const Any& rValue, SwPaM& rPam) { Reference<XIndexReplace> xIndexReplace; @@ -583,9 +579,7 @@ void setNumberingProperty(const Any& rValue, SwPaM& rPam) } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + void getNumberingProperty(SwPaM& rPam, PropertyState& eState, Any * pAny ) { const SwNumRule* pNumRule = rPam.GetDoc()->GetCurrNumRule( *rPam.GetPoint() ); @@ -599,9 +593,7 @@ void getNumberingProperty(SwPaM& rPam, PropertyState& eState, Any * pAny ) else eState = PropertyState_DEFAULT_VALUE; } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + void GetCurPageStyle(SwPaM& rPaM, String &rString) { const SwPageFrm* pPage = rPaM.GetCntntNode()->GetFrm()->FindPageFrm(); @@ -651,9 +643,7 @@ void resetCrsrPropertyValue(const SfxItemPropertyMap* pMap, SwPaM& rPam) break; } } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + void InsertFile(SwUnoCrsr* pUnoCrsr, const String& rFileName, const String& rFilterName, diff --git a/binfilter/bf_sw/source/core/unocore/sw_unoevtlstnr.cxx b/binfilter/bf_sw/source/core/unocore/sw_unoevtlstnr.cxx index fc73571b2..63c9c0da1 100644 --- a/binfilter/bf_sw/source/core/unocore/sw_unoevtlstnr.cxx +++ b/binfilter/bf_sw/source/core/unocore/sw_unoevtlstnr.cxx @@ -43,9 +43,7 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::uno; -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + SV_IMPL_PTRARR(SwEvtLstnrArray, XEventListenerPtr); /*-- 22.04.99 11:24:59--------------------------------------------------- diff --git a/binfilter/bf_sw/source/core/unocore/sw_unofield.cxx b/binfilter/bf_sw/source/core/unocore/sw_unofield.cxx index ec74af0dd..c16581d69 100644 --- a/binfilter/bf_sw/source/core/unocore/sw_unofield.cxx +++ b/binfilter/bf_sw/source/core/unocore/sw_unofield.cxx @@ -1221,9 +1221,7 @@ OUString SwXTextField::getPresentation(sal_Bool bShowCommand) throw( uno::Runtim throw uno::RuntimeException(); return sRet; } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + void SwXTextField::attachToRange( const uno::Reference< XTextRange > & xTextRange) throw( IllegalArgumentException, uno::RuntimeException ) @@ -2153,16 +2151,12 @@ void SwXTextField::update( ) throw (RuntimeException) else m_bCallUpdate = sal_True; } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + OUString SwXTextField::getImplementationName(void) throw( uno::RuntimeException ) { return C2U("SwXTextField"); } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + sal_Bool SwXTextField::supportsService(const OUString& rServiceName) throw( uno::RuntimeException ) { OUString sServiceName = SwXServiceProvider::GetProviderName(m_nServiceId); @@ -2170,9 +2164,7 @@ sal_Bool SwXTextField::supportsService(const OUString& rServiceName) throw( uno: rServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.text.TextContent")); } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + uno::Sequence< OUString > SwXTextField::getSupportedServiceNames(void) throw( uno::RuntimeException ) { uno::Sequence< OUString > aRet(2); @@ -2194,9 +2186,7 @@ void SwXTextField::Invalidate() } } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + void SwXTextField::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew) { switch( pOld ? pOld->Which() : 0 ) @@ -2557,9 +2547,7 @@ sal_Bool SwXTextFieldTypes::hasElements(void) throw( uno::RuntimeException ) //es gibt sie immer return sal_True; } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + void SwXTextFieldTypes::refresh(void) throw( uno::RuntimeException ) { SolarMutexGuard aGuard; @@ -2573,9 +2561,7 @@ void SwXTextFieldTypes::refresh(void) throw( uno::RuntimeException ) // call refresh listeners aRefreshCont.Refreshed(); } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + void SwXTextFieldTypes::addRefreshListener(const uno::Reference< util::XRefreshListener > & l) throw( uno::RuntimeException ) { @@ -2584,9 +2570,7 @@ void SwXTextFieldTypes::addRefreshListener(const uno::Reference< util::XRefreshL throw RuntimeException(); aRefreshCont.AddListener ( reinterpret_cast < const Reference < lang::XEventListener > &> ( l )); } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + void SwXTextFieldTypes::removeRefreshListener(const uno::Reference< util::XRefreshListener > & l) throw( uno::RuntimeException ) { @@ -2622,9 +2606,7 @@ Sequence< OUString > SwXFieldEnumeration::getSupportedServiceNames(void) throw( pArray[0] = C2U("com.sun.star.text.FieldEnumeration"); return aRet; } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + SwXFieldEnumeration::SwXFieldEnumeration(SwDoc* pDc) : nNextIndex(0), pDoc(pDc) @@ -2702,9 +2684,7 @@ uno::Any SwXFieldEnumeration::nextElement(void) rxFld = 0; // free memory for item that is not longer used return aRet; } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + void SwXFieldEnumeration::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew) { ClientModify(this, pOld, pNew); diff --git a/binfilter/bf_sw/source/core/unocore/sw_unoftn.cxx b/binfilter/bf_sw/source/core/unocore/sw_unoftn.cxx index f36cfbd5e..b6c309772 100644 --- a/binfilter/bf_sw/source/core/unocore/sw_unoftn.cxx +++ b/binfilter/bf_sw/source/core/unocore/sw_unoftn.cxx @@ -234,9 +234,7 @@ void SwXFootnote::setLabel(const OUString& aLabel) throw( uno::RuntimeException throw uno::RuntimeException(); } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + void SwXFootnote::attachToRange(const uno::Reference< text::XTextRange > & xTextRange) throw( lang::IllegalArgumentException, uno::RuntimeException ) { @@ -354,9 +352,7 @@ void SwXFootnote::removeEventListener(const uno::Reference< lang::XEventListener if(!GetRegisteredIn() || !aLstnrCntnr.RemoveListener(aListener)) throw uno::RuntimeException(); } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + const SwStartNode *SwXFootnote::GetStartNode() const { const SwStartNode *pSttNd = 0; @@ -468,9 +464,7 @@ void SwXFootnote::Invalidate() SetDoc(0); } } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + void SwXFootnote::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew) { switch( pOld ? pOld->Which() : 0 ) diff --git a/binfilter/bf_sw/source/core/unocore/sw_unoidx.cxx b/binfilter/bf_sw/source/core/unocore/sw_unoidx.cxx index 3491219a3..76c597c9f 100644 --- a/binfilter/bf_sw/source/core/unocore/sw_unoidx.cxx +++ b/binfilter/bf_sw/source/core/unocore/sw_unoidx.cxx @@ -182,9 +182,7 @@ void lcl_ConvertTOUNameToUserName(OUString& rTmp) /****************************************************************** * SwXDocumentIndex ******************************************************************/ -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + class SwDocIdxProperties_Impl { SwTOXBase* pTOXBase; @@ -197,9 +195,7 @@ public: const OUString& GetTypeName()const {return sUserTOXTypeName;} void SetTypeName(const OUString& rSet) {sUserTOXTypeName = rSet;} }; -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + SwDocIdxProperties_Impl::SwDocIdxProperties_Impl(const SwTOXType* pType) { SwForm aForm(pType->GetType()); @@ -309,9 +305,7 @@ SwXDocumentIndex::SwXDocumentIndex(const SwTOXBaseSection* pB, SwDoc* pDc) : _pMap = aSwMapProvider.GetPropertyMap(PropertyId); } } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + SwXDocumentIndex::SwXDocumentIndex(TOXTypes eType, SwDoc& rDoc) : aLstnrCntnr( (text::XTextContent*)this), m_pDoc(0), @@ -1045,9 +1039,7 @@ void SwXDocumentIndex::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew) aLstnrCntnr.Disposing(); } } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + void SwXDocumentIndex::attachToRange(const Reference< text::XTextRange > & xTextRange) throw( IllegalArgumentException, RuntimeException ) { @@ -1347,9 +1339,7 @@ SwXDocumentIndexMark::~SwXDocumentIndexMark() { } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + void SwXDocumentIndexMark::InitMap(TOXTypes eToxType) { sal_uInt16 nMapId = PROPERTY_MAP_USER_MARK; //case TOX_USER: @@ -1440,9 +1430,7 @@ void SwXDocumentIndexMark::setMarkEntry(const OUString& rIndexEntry) throw( Runt else throw RuntimeException(); } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + void SwXDocumentIndexMark::attachToRange(const Reference< text::XTextRange > & xTextRange) throw( IllegalArgumentException, RuntimeException ) { diff --git a/binfilter/bf_sw/source/core/unocore/sw_unomap.cxx b/binfilter/bf_sw/source/core/unocore/sw_unomap.cxx index 296154fc8..4cecb10ba 100644 --- a/binfilter/bf_sw/source/core/unocore/sw_unomap.cxx +++ b/binfilter/bf_sw/source/core/unocore/sw_unomap.cxx @@ -62,9 +62,7 @@ using namespace ::comphelper; SwUnoPropertyMapProvider aSwMapProvider; -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + SwUnoPropertyMapProvider::SwUnoPropertyMapProvider() { for( sal_uInt16 i = 0; i < PROPERTY_MAP_END; i++ ) @@ -72,9 +70,7 @@ SwUnoPropertyMapProvider::SwUnoPropertyMapProvider() aMapArr[i] = 0; } } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + SwUnoPropertyMapProvider::~SwUnoPropertyMapProvider() { delete pCharStyleMap; @@ -83,9 +79,7 @@ SwUnoPropertyMapProvider::~SwUnoPropertyMapProvider() delete pPageStyleMap; delete pNumStyleMap; } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + SfxItemPropertySet& SwUnoPropertyMapProvider::GetPropertySet(sal_Int8 nPropSetId) { SfxItemPropertySet** ppMap = 0; @@ -125,9 +119,7 @@ SfxItemPropertySet& SwUnoPropertyMapProvider::GetPropertySet(sal_Int8 nPropSetId pRet = 0; return *pRet; } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + EXTERN_C #ifdef WNT int _cdecl @@ -141,9 +133,7 @@ lcl_CompareMap(const void* pSmaller, const void* pBigger ) return nDiff; } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + void SwUnoPropertyMapProvider::Sort( sal_uInt16 nId ) { SfxItemPropertyMap* p = aMapArr[nId]; @@ -212,9 +202,7 @@ void SwUnoPropertyMapProvider::Sort( sal_uInt16 nId ) {SW_PROP_NMID(UNO_NAME_REDLINE_TEXT), 0, CPPU_E2T(CPPUTYPE_REFTEXT), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\ {SW_PROP_NMID(UNO_NAME_MERGE_LAST_PARA), 0, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0}, -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + #define COMMON_CRSR_PARA_PROPERTIES_FN_ONLY \ { SW_PROP_NMID(UNO_NAME_PARA_STYLE_NAME), FN_UNO_PARA_STYLE, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, 0}, \ { SW_PROP_NMID(UNO_NAME_PAGE_STYLE_NAME), FN_UNO_PAGE_STYLE, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0}, \ diff --git a/binfilter/bf_sw/source/core/unocore/sw_unoobj2.cxx b/binfilter/bf_sw/source/core/unocore/sw_unoobj2.cxx index f991a184b..c1c93235b 100644 --- a/binfilter/bf_sw/source/core/unocore/sw_unoobj2.cxx +++ b/binfilter/bf_sw/source/core/unocore/sw_unoobj2.cxx @@ -1190,9 +1190,7 @@ SwXTextRange::SwXTextRange(SwFrmFmt& rTblFmt, const SwStartNode& rStartNode, SwP //Bookmark an der anlegen _CreateNewBookmark(rPam); } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + SwXTextRange::SwXTextRange(SwFrmFmt& rTblFmt) : eRangePosition(RANGE_IS_TABLE), pDoc(rTblFmt.GetDoc()), @@ -1573,9 +1571,7 @@ sal_Bool lcl_IsStartNodeInFormat(sal_Bool bHeader, SwStartNode* pSttNode, } return bRet; } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + uno::Reference< XTextRange > SwXTextRange::CreateTextRangeFromPosition(SwDoc* pDoc, const SwPosition& rPos, const SwPosition* pMark) { @@ -2045,9 +2041,7 @@ sal_Bool SwXTextRanges::hasElements(void) throw( uno::RuntimeException ) SolarMutexGuard aGuard; return getCount() > 0; } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + XTextRangeArr* SwXTextRanges::GetRangesArray() { SwUnoCrsr* pCrsr = GetCrsr(); @@ -2075,9 +2069,7 @@ void SwXTextRanges::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew) ClientModify(this, pOld, pNew); } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + void SwXTextCursor::SetString(SwCursor& rCrsr, const OUString& rString) { // Start/EndAction @@ -2239,9 +2231,7 @@ uno::Any SwXParaFrameEnumeration::nextElement(void) xNextObject = 0; return aRet; } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + sal_Bool SwXParaFrameEnumeration::CreateNextObject() { if(!aFrameArr.Count()) diff --git a/binfilter/bf_sw/source/core/unocore/sw_unoparagraph.cxx b/binfilter/bf_sw/source/core/unocore/sw_unoparagraph.cxx index 81dc2e1ad..9731e9fa5 100644 --- a/binfilter/bf_sw/source/core/unocore/sw_unoparagraph.cxx +++ b/binfilter/bf_sw/source/core/unocore/sw_unoparagraph.cxx @@ -804,9 +804,7 @@ void SwXParagraph::setString(const OUString& aString) throw( uno::RuntimeExcepti throw uno::RuntimeException(); } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + uno::Reference< container::XEnumeration > SwXParagraph::createContentEnumeration(const OUString& rServiceName) throw( uno::RuntimeException ) { @@ -817,9 +815,7 @@ uno::Reference< container::XEnumeration > SwXParagraph::createContentEnumeratio uno::Reference< container::XEnumeration > xRet = new SwXParaFrameEnumeration(*pUnoCrsr, PARAFRAME_PORTION_PARAGRAPH); return xRet; } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + uno::Sequence< OUString > SwXParagraph::getAvailableServiceNames(void) throw( uno::RuntimeException ) { uno::Sequence< OUString > aRet(1); diff --git a/binfilter/bf_sw/source/core/unocore/sw_unoport.cxx b/binfilter/bf_sw/source/core/unocore/sw_unoport.cxx index 5cb90f6d5..e6bb8f529 100644 --- a/binfilter/bf_sw/source/core/unocore/sw_unoport.cxx +++ b/binfilter/bf_sw/source/core/unocore/sw_unoport.cxx @@ -126,9 +126,7 @@ SwXTextPortion::SwXTextPortion(const SwUnoCrsr* pPortionCrsr, // else if(ePortionType == PORTION_FRAME) // ...; } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + SwXTextPortion::SwXTextPortion(const SwUnoCrsr* pPortionCrsr, uno::Reference< XText > & rParent, SwFrmFmt& rFmt ) : aLstnrCntnr( (XTextRange*)this), @@ -705,9 +703,7 @@ void SwXTextPortion::removeEventListener(const uno::Reference< lang::XEventListe if(!GetRegisteredIn() || !aLstnrCntnr.RemoveListener(aListener)) throw uno::RuntimeException(); } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + uno::Reference< container::XEnumeration > SwXTextPortion::createContentEnumeration(const OUString& /*aServiceName*/) throw( uno::RuntimeException ) { @@ -741,9 +737,7 @@ sal_Int64 SwXTextPortion::getSomething( const uno::Sequence< sal_Int8 >& rId ) } return 0; } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + uno::Sequence< OUString > SwXTextPortion::getAvailableServiceNames(void) throw( uno::RuntimeException ) { SolarMutexGuard aGuard; @@ -752,16 +746,12 @@ uno::Sequence< OUString > SwXTextPortion::getAvailableServiceNames(void) throw( pArray[0] = C2U("com.sun.star.text.TextContent"); return aRet; } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + OUString SwXTextPortion::getImplementationName(void) throw( uno::RuntimeException ) { return C2U("SwXTextPortion"); } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + sal_Bool SwXTextPortion::supportsService(const OUString& rServiceName) throw( uno::RuntimeException ) { SolarMutexGuard aGuard; diff --git a/binfilter/bf_sw/source/core/unocore/sw_unosect.cxx b/binfilter/bf_sw/source/core/unocore/sw_unosect.cxx index 82ddb5c56..d1a6e1a58 100644 --- a/binfilter/bf_sw/source/core/unocore/sw_unosect.cxx +++ b/binfilter/bf_sw/source/core/unocore/sw_unosect.cxx @@ -241,9 +241,7 @@ uno::Sequence< uno::Reference< text::XTextSection > > SwXTextSection::getChildS return aSeq; } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + void SwXTextSection::attachToRange(const uno::Reference< text::XTextRange > & xTextRange) throw( lang::IllegalArgumentException, uno::RuntimeException ) { diff --git a/binfilter/bf_sw/source/core/unocore/sw_unostyle.cxx b/binfilter/bf_sw/source/core/unocore/sw_unostyle.cxx index 15a4bd899..d2794dd89 100644 --- a/binfilter/bf_sw/source/core/unocore/sw_unostyle.cxx +++ b/binfilter/bf_sw/source/core/unocore/sw_unostyle.cxx @@ -1607,9 +1607,7 @@ Reference< XPropertySetInfo > SwXStyle::getPropertySetInfo(void) } return xRet; } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + void SwXStyle::ApplyDescriptorProperties() { bIsDescriptor = sal_False; @@ -2786,9 +2784,7 @@ Any SwXStyle::getPropertyDefault(const OUString& rPropertyName) const Sequence < OUString > aSequence ( &rPropertyName, 1 ); return getPropertyDefaults ( aSequence ).getConstArray()[0]; } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + void SwXStyle::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) { SfxSimpleHint *pHint = PTR_CAST( SfxSimpleHint, &rHint ); diff --git a/binfilter/bf_sw/source/core/unocore/sw_unotext.cxx b/binfilter/bf_sw/source/core/unocore/sw_unotext.cxx index 3cb1a01de..d48ef81cb 100644 --- a/binfilter/bf_sw/source/core/unocore/sw_unotext.cxx +++ b/binfilter/bf_sw/source/core/unocore/sw_unotext.cxx @@ -1493,16 +1493,12 @@ uno::Reference< container::XEnumeration > SwXBodyText::createEnumeration(void) return aRef; } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + uno::Type SwXBodyText::getElementType(void) throw( uno::RuntimeException ) { return ::getCppuType((uno::Reference<XTextRange>*)0); } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + sal_Bool SwXBodyText::hasElements(void) throw( uno::RuntimeException ) { SolarMutexGuard aGuard; @@ -1706,9 +1702,7 @@ uno::Reference< XTextCursor > SwXHeadFootText::createTextCursorByRange( } return xRet; } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + uno::Reference< container::XEnumeration > SwXHeadFootText::createEnumeration(void) throw( RuntimeException ) { @@ -1734,16 +1728,12 @@ uno::Reference< container::XEnumeration > SwXHeadFootText::createEnumeration(vo return aRef; } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + uno::Type SwXHeadFootText::getElementType(void) throw( uno::RuntimeException ) { return ::getCppuType((uno::Reference<XTextRange>*)0); } -/* -------------------------------------------------- - * - * --------------------------------------------------*/ + sal_Bool SwXHeadFootText::hasElements(void) throw( uno::RuntimeException ) { return sal_True; |