diff options
-rw-r--r-- | basegfx/inc/basegfx/polygon/b3dpolygonclipper.hxx | 3 | ||||
-rw-r--r-- | basegfx/source/polygon/b3dpolygonclipper.cxx | 172 | ||||
-rw-r--r-- | sc/inc/conditio.hxx | 4 | ||||
-rw-r--r-- | sc/inc/dpsave.hxx | 2 | ||||
-rw-r--r-- | sc/inc/postit.hxx | 2 | ||||
-rw-r--r-- | sc/inc/rangenam.hxx | 1 | ||||
-rw-r--r-- | sc/source/core/data/conditio.cxx | 9 | ||||
-rw-r--r-- | sc/source/core/data/dpsave.cxx | 116 | ||||
-rw-r--r-- | sc/source/core/data/postit.cxx | 9 | ||||
-rw-r--r-- | sc/source/core/tool/rangenam.cxx | 28 | ||||
-rw-r--r-- | sc/source/ui/dbgui/fieldwnd.cxx | 8 | ||||
-rw-r--r-- | sc/source/ui/inc/fieldwnd.hxx | 3 | ||||
-rw-r--r-- | sot/inc/sot/stg.hxx | 1 | ||||
-rw-r--r-- | sot/source/sdstor/stg.cxx | 8 | ||||
-rw-r--r-- | sot/source/sdstor/stgavl.cxx | 6 | ||||
-rw-r--r-- | sot/source/sdstor/stgavl.hxx | 1 | ||||
-rw-r--r-- | toolkit/inc/toolkit/controls/unocontrols.hxx | 2 | ||||
-rw-r--r-- | toolkit/source/controls/unocontrols.cxx | 17 | ||||
-rwxr-xr-x | unusedcode.easy | 12 |
19 files changed, 1 insertions, 403 deletions
diff --git a/basegfx/inc/basegfx/polygon/b3dpolygonclipper.hxx b/basegfx/inc/basegfx/polygon/b3dpolygonclipper.hxx index a6ca7146b31e..d1bce0ed911c 100644 --- a/basegfx/inc/basegfx/polygon/b3dpolygonclipper.hxx +++ b/basegfx/inc/basegfx/polygon/b3dpolygonclipper.hxx @@ -52,9 +52,6 @@ namespace basegfx B3DORIENTATION_Z // Z-Axis }; - // version for Polygons - BASEGFX_DLLPUBLIC B3DPolyPolygon clipPolygonOnOrthogonalPlane(const B3DPolygon& rCandidate, B3DOrientation ePlaneOrthogonal, bool bClipPositive, double fPlaneOffset, bool bStroke); - } // end of namespace tools } // end of namespace basegfx diff --git a/basegfx/source/polygon/b3dpolygonclipper.cxx b/basegfx/source/polygon/b3dpolygonclipper.cxx index 8130d00eced2..728fc46092cf 100644 --- a/basegfx/source/polygon/b3dpolygonclipper.cxx +++ b/basegfx/source/polygon/b3dpolygonclipper.cxx @@ -127,178 +127,6 @@ namespace basegfx ////////////////////////////////////////////////////////////////////////////// -namespace basegfx -{ - namespace tools - { - B3DPolyPolygon clipPolygonOnOrthogonalPlane(const B3DPolygon& rCandidate, B3DOrientation ePlaneOrthogonal, bool bClipPositive, double fPlaneOffset, bool bStroke) - { - B3DPolyPolygon aRetval; - - if(rCandidate.count()) - { - const B3DRange aCandidateRange(getRange(rCandidate)); - - if(B3DORIENTATION_X == ePlaneOrthogonal && fTools::moreOrEqual(aCandidateRange.getMinX(), fPlaneOffset)) - { - // completely above and on the clip plane. - if(bClipPositive) - { - // add completely - aRetval.append(rCandidate); - } - } - else if(B3DORIENTATION_X == ePlaneOrthogonal && fTools::lessOrEqual(aCandidateRange.getMaxX(), fPlaneOffset)) - { - // completely below and on the clip plane. - if(!bClipPositive) - { - // add completely - aRetval.append(rCandidate); - } - } - else if(B3DORIENTATION_Y == ePlaneOrthogonal && fTools::moreOrEqual(aCandidateRange.getMinY(), fPlaneOffset)) - { - // completely above and on the clip plane. - if(bClipPositive) - { - // add completely - aRetval.append(rCandidate); - } - } - else if(B3DORIENTATION_Y == ePlaneOrthogonal && fTools::lessOrEqual(aCandidateRange.getMaxY(), fPlaneOffset)) - { - // completely below and on the clip plane. - if(!bClipPositive) - { - // add completely - aRetval.append(rCandidate); - } - } - else if(B3DORIENTATION_Z == ePlaneOrthogonal && fTools::moreOrEqual(aCandidateRange.getMinZ(), fPlaneOffset)) - { - // completely above and on the clip plane. - if(bClipPositive) - { - // add completely - aRetval.append(rCandidate); - } - } - else if(B3DORIENTATION_Z == ePlaneOrthogonal && fTools::lessOrEqual(aCandidateRange.getMaxZ(), fPlaneOffset)) - { - // completely below and on the clip plane. - if(!bClipPositive) - { - // add completely - aRetval.append(rCandidate); - } - } - else - { - // prepare loop(s) - B3DPolygon aNewPolygon; - B3DPoint aCurrent(rCandidate.getB3DPoint(0L)); - const sal_uInt32 nPointCount(rCandidate.count()); - const sal_uInt32 nEdgeCount(rCandidate.isClosed() ? nPointCount : nPointCount - 1L); - bool bCurrentInside(impIsInside(aCurrent, fPlaneOffset, ePlaneOrthogonal) == bClipPositive); - - if(bCurrentInside) - { - impAppendCopy(aNewPolygon, rCandidate, 0L); - } - - if(bStroke) - { - // open polygon, create clipped line snippets. - for(sal_uInt32 a(0L); a < nEdgeCount; a++) - { - // get next point data - const sal_uInt32 nNextIndex((a + 1L == nPointCount) ? 0L : a + 1L); - const B3DPoint aNext(rCandidate.getB3DPoint(nNextIndex)); - const bool bNextInside(impIsInside(aNext, fPlaneOffset, ePlaneOrthogonal) == bClipPositive); - - if(bCurrentInside != bNextInside) - { - // change inside/outside - if(bNextInside) - { - // entering, finish existing and start new line polygon - if(aNewPolygon.count() > 1L) - { - aRetval.append(aNewPolygon); - } - - aNewPolygon.clear(); - } - - // calculate and add cut point - const double fCut(impGetCut(aCurrent, aNext, fPlaneOffset, ePlaneOrthogonal)); - impAppendInterpolate(aNewPolygon, rCandidate, a, nNextIndex, fCut); - - // pepare next step - bCurrentInside = bNextInside; - } - - if(bNextInside) - { - impAppendCopy(aNewPolygon, rCandidate, nNextIndex); - } - - // pepare next step - aCurrent = aNext; - } - - if(aNewPolygon.count() > 1L) - { - aRetval.append(aNewPolygon); - } - } - else - { - // closed polygon, create single clipped closed polygon - for(sal_uInt32 a(0L); a < nEdgeCount; a++) - { - // get next point data, use offset - const sal_uInt32 nNextIndex((a + 1L == nPointCount) ? 0L : a + 1L); - const B3DPoint aNext(rCandidate.getB3DPoint(nNextIndex)); - const bool bNextInside(impIsInside(aNext, fPlaneOffset, ePlaneOrthogonal) == bClipPositive); - - if(bCurrentInside != bNextInside) - { - // calculate and add cut point - const double fCut(impGetCut(aCurrent, aNext, fPlaneOffset, ePlaneOrthogonal)); - impAppendInterpolate(aNewPolygon, rCandidate, a, nNextIndex, fCut); - - // pepare next step - bCurrentInside = bNextInside; - } - - if(bNextInside && nNextIndex) - { - impAppendCopy(aNewPolygon, rCandidate, nNextIndex); - } - - // pepare next step - aCurrent = aNext; - } - - if(aNewPolygon.count() > 2L) - { - aNewPolygon.setClosed(true); - aRetval.append(aNewPolygon); - } - } - } - } - - return aRetval; - } - - } // end of namespace tools -} // end of namespace basegfx - -////////////////////////////////////////////////////////////////////////////// - // eof /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/inc/conditio.hxx b/sc/inc/conditio.hxx index 8d84e4cdeb7b..2567f7905527 100644 --- a/sc/inc/conditio.hxx +++ b/sc/inc/conditio.hxx @@ -295,10 +295,6 @@ public: void SourceChanged( const ScAddress& rAddr ); - /** Temporarily during save, returns RefManager's decision whether ALL - * references are marked now. */ - bool MarkUsedExternalReferences() const; - sal_Bool operator==( const ScConditionalFormatList& r ) const; // for Ref-Undo }; diff --git a/sc/inc/dpsave.hxx b/sc/inc/dpsave.hxx index a699d61c0084..c4df4eda7b76 100644 --- a/sc/inc/dpsave.hxx +++ b/sc/inc/dpsave.hxx @@ -226,8 +226,6 @@ public: void SetMemberPosition( const ::rtl::OUString& rName, sal_Int32 nNewPos ); void WriteToSource( const com::sun::star::uno::Reference<com::sun::star::uno::XInterface>& xDim ); - void Refresh( const com::sun::star::uno::Reference<com::sun::star::sheet::XDimensionsSupplier>& xSource , - const std::list<rtl::OUString> & deletedDims); void UpdateMemberVisibility(const ::boost::unordered_map< ::rtl::OUString, bool, ::rtl::OUStringHash>& rData); diff --git a/sc/inc/postit.hxx b/sc/inc/postit.hxx index 1b370ceacb32..e553c92dee60 100644 --- a/sc/inc/postit.hxx +++ b/sc/inc/postit.hxx @@ -130,8 +130,6 @@ public: /** Returns the caption text of this note. */ ::rtl::OUString GetText() const; - /** Returns true, if the caption text of this note contains line breaks. */ - bool HasMultiLineText() const; /** Changes the caption text of this note. All text formatting will be lost. */ void SetText( const ScAddress& rPos, const ::rtl::OUString& rText ); diff --git a/sc/inc/rangenam.hxx b/sc/inc/rangenam.hxx index 90edb8d73c6c..3d8f626e0594 100644 --- a/sc/inc/rangenam.hxx +++ b/sc/inc/rangenam.hxx @@ -153,7 +153,6 @@ public: bool IsRangeAtBlock( const ScRange& ) const; void UpdateTabRef(SCTAB nOldTable, sal_uInt16 nFlag, SCTAB nNewTable, SCTAB nNewSheets); - void TransferTabRef( SCTAB nOldTab, SCTAB nNewTab ); void ValidateTabRefs(); diff --git a/sc/source/core/data/conditio.cxx b/sc/source/core/data/conditio.cxx index ac4fa9e61e98..09791d7e2098 100644 --- a/sc/source/core/data/conditio.cxx +++ b/sc/source/core/data/conditio.cxx @@ -1674,13 +1674,4 @@ void ScConditionalFormatList::SourceChanged( const ScAddress& rAddr ) (*this)[i]->SourceChanged( rAddr ); } -bool ScConditionalFormatList::MarkUsedExternalReferences() const -{ - bool bAllMarked = false; - sal_uInt16 nCount = Count(); - for (sal_uInt16 i=0; !bAllMarked && i<nCount; i++) - bAllMarked = (*this)[i]->MarkUsedExternalReferences(); - return bAllMarked; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/core/data/dpsave.cxx b/sc/source/core/data/dpsave.cxx index 15c377bc853d..e112e6c5fdff 100644 --- a/sc/source/core/data/dpsave.cxx +++ b/sc/source/core/data/dpsave.cxx @@ -1317,122 +1317,6 @@ ScDPSaveDimension* ScDPSaveData::AppendNewDimension(const rtl::OUString& rName, return pNew; } -void ScDPSaveDimension::Refresh( const com::sun::star::uno::Reference< - com::sun::star::sheet::XDimensionsSupplier>& xSource , - const std::list<rtl::OUString>& deletedDims) -{ - if ( xSource.is() ) - { - ScDPSource* pTabSource = static_cast<ScDPSource*>( xSource.get() ); - const ScDPCache* pCache = pTabSource->GetCache(); - - SCCOL nSrcDim = pCache->GetDimensionIndex( GetName() ); - - if ( nSrcDim == -1 ) - return; - if ( pSelectedPage ) - {//check pSelected page - OSL_TRACE( "%s", ::rtl::OUString(*pSelectedPage).getStr() ); - if ( pCache->GetIdByItemData( nSrcDim, *pSelectedPage ) == -1 ) - { - delete pSelectedPage; - pSelectedPage = NULL; - } - - }; - - if ( pReferenceValue && pReferenceValue->ReferenceItemType == DataPilotFieldReferenceItemType::NAMED ) - {//check pReferenceValue -#if OSL_DEBUG_LEVEL > 1 - switch( pReferenceValue->ReferenceType) - { - case sheet::DataPilotFieldReferenceType::ITEM_PERCENTAGE: //both - OSL_FAIL( "\n sheet::DataPilotFieldReferenceType::ITEM_PERCENTAGE \n" ); - break; - case sheet::DataPilotFieldReferenceType::ITEM_DIFFERENCE: //both - OSL_FAIL( "\n sheet::DataPilotFieldReferenceType::ITEM_DIFFERENCE \n" ); - break; - case sheet::DataPilotFieldReferenceType::ITEM_PERCENTAGE_DIFFERENCE: //both - OSL_FAIL( "\n sheet::DataPilotFieldReferenceType::ITEM_PERCENTAGE_DIFFERENCE \n" ); - break; - case sheet::DataPilotFieldReferenceType::RUNNING_TOTAL: - OSL_FAIL( "\n sheet::DataPilotFieldReferenceType::RUNNING_TOTAL \n" ); //enable name - break; - } -#endif - switch( pReferenceValue->ReferenceType) - { - case sheet::DataPilotFieldReferenceType::ITEM_PERCENTAGE: - case sheet::DataPilotFieldReferenceType::ITEM_DIFFERENCE: - case sheet::DataPilotFieldReferenceType::ITEM_PERCENTAGE_DIFFERENCE: - case sheet::DataPilotFieldReferenceType::RUNNING_TOTAL: - { - if( pReferenceValue->ReferenceItemType == DataPilotFieldReferenceItemType::NAMED ) - { - const ::rtl::OUString& sReferenceFieldName = pReferenceValue->ReferenceField; - OSL_TRACE( "%s", sReferenceFieldName.getStr() ); - SCCOL nRefDim = pCache->GetDimensionIndex( sReferenceFieldName ); - bool bValid = true; - if ( nRefDim == -1 ) - bValid = false; - else if ( pReferenceValue->ReferenceType != sheet::DataPilotFieldReferenceType::RUNNING_TOTAL ) - { //running total has not reference item - const ::rtl::OUString& sReferenceItemName = pReferenceValue->ReferenceItemName; - OSL_TRACE( "%s", sReferenceItemName.getStr() ); - if ( pCache->GetIdByItemData( nRefDim, sReferenceItemName ) == -1 ) - bValid = false; - } - if ( !bValid ) - { - delete pReferenceValue; - pReferenceValue = NULL; - } - } - } - break; - } - - }; - - if ( pSortInfo ) - { //check sortinfo - if ( pSortInfo->Mode == DataPilotFieldSortMode::DATA ) - { - OSL_FAIL( "\n DataPilotFieldSortMode::DATA \n" ); - const ::rtl::OUString& sFieldDimName = pSortInfo->Field; - std::list<rtl::OUString>::const_iterator iter = std::find( deletedDims.begin(), deletedDims.end(), sFieldDimName ); - if ( iter != deletedDims.end() && pCache->GetDimensionIndex( sFieldDimName ) == -1 ) - { - pSortInfo->Mode = DataPilotFieldSortMode::MANUAL; - pSortInfo->Field = GetName(); - } - } - }; - - if ( pAutoShowInfo ) - { //check autoshow - const ::rtl::OUString& sFieldDimName = pAutoShowInfo->DataField; - std::list<rtl::OUString>::const_iterator iter = std::find( deletedDims.begin(), deletedDims.end(), sFieldDimName ); - if ( iter != deletedDims.end() && pCache->GetDimensionIndex( sFieldDimName ) == -1 ) - { - delete pAutoShowInfo; - pAutoShowInfo = NULL; - } - }; - - //remove unused members - //SODC_19124 - for (MemberList::iterator i=maMemberList.begin(); i != maMemberList.end() ; ) - { - rtl::OUString aMemberName = (*i)->GetName(); - if ( pCache->GetIdByItemData( nSrcDim, aMemberName ) == -1 ) - i = maMemberList.erase( i ); - else - ++i; - } - } -} - bool operator == (const ::com::sun::star::sheet::DataPilotFieldSortInfo &l, const ::com::sun::star::sheet::DataPilotFieldSortInfo &r ) { return l.Field == r.Field && l.IsAscending == r.IsAscending && l.Mode == r.Mode; diff --git a/sc/source/core/data/postit.cxx b/sc/source/core/data/postit.cxx index 8a0677fcdae9..279b3ffa821b 100644 --- a/sc/source/core/data/postit.cxx +++ b/sc/source/core/data/postit.cxx @@ -579,15 +579,6 @@ OUString ScPostIt::GetText() const return OUString(); } -bool ScPostIt::HasMultiLineText() const -{ - if( const EditTextObject* pEditObj = GetEditTextObject() ) - return pEditObj->GetParagraphCount() > 1; - if( maNoteData.mxInitData.get() ) - return maNoteData.mxInitData->maSimpleText.indexOf( '\n' ) >= 0; - return false; -} - void ScPostIt::SetText( const ScAddress& rPos, const OUString& rText ) { CreateCaptionFromInitData( rPos ); diff --git a/sc/source/core/tool/rangenam.cxx b/sc/source/core/tool/rangenam.cxx index 3de3b2298169..b5111de64de6 100644 --- a/sc/source/core/tool/rangenam.cxx +++ b/sc/source/core/tool/rangenam.cxx @@ -596,34 +596,6 @@ sal_uInt32 ScRangeData::GetUnoType() const return nUnoType; } -// bei TransferTab von einem in ein anderes Dokument anpassen, -// um Referenzen auf die eigene Tabelle mitzubekommen - -void ScRangeData::TransferTabRef( SCTAB nOldTab, SCTAB nNewTab ) -{ - long nTabDiff = (long)nNewTab - nOldTab; - long nPosDiff = (long)nNewTab - aPos.Tab(); - aPos.SetTab( nNewTab ); - ScToken* t; - pCode->Reset(); - while ( ( t = static_cast<ScToken*>(pCode->GetNextReference()) ) != NULL ) - { - ScSingleRefData& rRef1 = t->GetSingleRef(); - if ( rRef1.IsTabRel() ) - rRef1.nTab = sal::static_int_cast<SCsTAB>( rRef1.nTab + nPosDiff ); - else - rRef1.nTab = sal::static_int_cast<SCsTAB>( rRef1.nTab + nTabDiff ); - if ( t->GetType() == svDoubleRef ) - { - ScSingleRefData& rRef2 = t->GetDoubleRef().Ref2; - if ( rRef2.IsTabRel() ) - rRef2.nTab = sal::static_int_cast<SCsTAB>( rRef2.nTab + nPosDiff ); - else - rRef2.nTab = sal::static_int_cast<SCsTAB>( rRef2.nTab + nTabDiff ); - } - } -} - void ScRangeData::ReplaceRangeNamesInUse( const IndexMap& rMap ) { bool bCompile = false; diff --git a/sc/source/ui/dbgui/fieldwnd.cxx b/sc/source/ui/dbgui/fieldwnd.cxx index 089468746d9f..12b2c63e9d6c 100644 --- a/sc/source/ui/dbgui/fieldwnd.cxx +++ b/sc/source/ui/dbgui/fieldwnd.cxx @@ -238,14 +238,6 @@ bool ScDPFieldControlBase::AppendField(const rtl::OUString& rText, size_t& rnInd return true; } -sal_uInt8 ScDPFieldControlBase::GetDupCount(size_t nIndex) const -{ - if (maFieldNames.size() <= nIndex) - return 0; - - return maFieldNames[nIndex].mnDupCount; -} - void ScDPFieldControlBase::DelField( size_t nDelIndex ) { if ( IsExistingIndex(nDelIndex) ) diff --git a/sc/source/ui/inc/fieldwnd.hxx b/sc/source/ui/inc/fieldwnd.hxx index 5602051462aa..69db0038a7ea 100644 --- a/sc/source/ui/inc/fieldwnd.hxx +++ b/sc/source/ui/inc/fieldwnd.hxx @@ -138,9 +138,6 @@ public: bool AppendField(const rtl::OUString& rText, size_t& rnIndex); - - sal_uInt8 GetDupCount(size_t nIndex) const; - /** Removes a field from the specified index. */ void DelField( size_t nDelIndex ); diff --git a/sot/inc/sot/stg.hxx b/sot/inc/sot/stg.hxx index 793ee0e41340..225c89eee23a 100644 --- a/sot/inc/sot/stg.hxx +++ b/sot/inc/sot/stg.hxx @@ -176,7 +176,6 @@ public: virtual sal_Bool Revert(); virtual sal_Bool Validate( sal_Bool=sal_False ) const; virtual sal_Bool ValidateMode( StreamMode ) const; - sal_Bool ValidateMode( StreamMode, StgDirEntry* p ) const; const SvStream* GetSvStream() const; virtual sal_Bool Equals( const BaseStorageStream& rStream ) const; }; diff --git a/sot/source/sdstor/stg.cxx b/sot/source/sdstor/stg.cxx index 944b8c9841b3..27c95c82162d 100644 --- a/sot/source/sdstor/stg.cxx +++ b/sot/source/sdstor/stg.cxx @@ -308,14 +308,6 @@ sal_Bool StorageStream::ValidateMode( StreamMode nMode ) const return bRet; } -sal_Bool StorageStream::ValidateMode( StreamMode nMode, StgDirEntry* p ) const -{ - sal_Bool bRet = ValidateMode_Impl( nMode, p ); - if ( !bRet ) - SetError( SVSTREAM_ACCESS_DENIED ); - return bRet; -} - ///////////////////////// class SvStorageInfo ////////////////////////////// SvStorageInfo::SvStorageInfo( const StgDirEntry& rE ) diff --git a/sot/source/sdstor/stgavl.cxx b/sot/source/sdstor/stgavl.cxx index b451bf2634d6..45572126210a 100644 --- a/sot/source/sdstor/stgavl.cxx +++ b/sot/source/sdstor/stgavl.cxx @@ -401,12 +401,6 @@ StgAvlNode* StgAvlIterator::First() return Next(); } -StgAvlNode* StgAvlIterator::Last() -{ - nCur = nCount; - return Prev(); -} - StgAvlNode* StgAvlIterator::Next() { return Find( ++nCur ); diff --git a/sot/source/sdstor/stgavl.hxx b/sot/source/sdstor/stgavl.hxx index 8bd48ef8b62e..23e9d272530a 100644 --- a/sot/source/sdstor/stgavl.hxx +++ b/sot/source/sdstor/stgavl.hxx @@ -70,7 +70,6 @@ class StgAvlIterator { public: StgAvlIterator( StgAvlNode* ); StgAvlNode* First(); - StgAvlNode* Last(); StgAvlNode* Next(); StgAvlNode* Prev(); }; diff --git a/toolkit/inc/toolkit/controls/unocontrols.hxx b/toolkit/inc/toolkit/controls/unocontrols.hxx index 5f77c4a543f8..973c12dc0a1e 100644 --- a/toolkit/inc/toolkit/controls/unocontrols.hxx +++ b/toolkit/inc/toolkit/controls/unocontrols.hxx @@ -916,8 +916,6 @@ protected: virtual void ImplSetPeerProperty( const ::rtl::OUString& rPropName, const ::com::sun::star::uno::Any& rVal ); virtual void updateFromModel(); - ActionListenerMultiplexer& getActionListeners(); - ItemListenerMultiplexer& getItemListeners(); private: ActionListenerMultiplexer maActionListeners; ItemListenerMultiplexer maItemListeners; diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx index 2e87784d282e..01be8cceefa6 100644 --- a/toolkit/source/controls/unocontrols.cxx +++ b/toolkit/source/controls/unocontrols.cxx @@ -2718,14 +2718,7 @@ void SAL_CALL UnoListBoxControl::itemListChanged( const lang::EventObject& i_rEv if ( xPeerListener.is() ) xPeerListener->itemListChanged( i_rEvent ); } -ActionListenerMultiplexer& UnoListBoxControl::getActionListeners() -{ - return maActionListeners; -} -ItemListenerMultiplexer& UnoListBoxControl::getItemListeners() -{ - return maItemListeners; -} + // ---------------------------------------------------- // class UnoControlComboBoxModel // ---------------------------------------------------- @@ -3001,14 +2994,6 @@ void SAL_CALL UnoComboBoxControl::itemListChanged( const lang::EventObject& i_rE if ( xPeerListener.is() ) xPeerListener->itemListChanged( i_rEvent ); } -ActionListenerMultiplexer& UnoComboBoxControl::getActionListeners() -{ - return maActionListeners; -} -ItemListenerMultiplexer& UnoComboBoxControl::getItemListeners() -{ - return maItemListeners; -} void UnoComboBoxControl::addItem( const ::rtl::OUString& aItem, sal_Int16 nPos ) throw(uno::RuntimeException) { diff --git a/unusedcode.easy b/unusedcode.easy index b239cd9f129e..6aa0aafcc7ef 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -70,7 +70,6 @@ ScCompressedArray<int, unsigned short>::Remove(int, unsigned long) ScCompressedArray<int, unsigned short>::ScCompressedArray(int, unsigned short const&, unsigned long) ScCompressedArray<int, unsigned short>::ScCompressedArray(int, unsigned short const*, unsigned long) ScCompressedArray<int, unsigned short>::SetValue(int, unsigned short const&) -ScConditionalFormatList::MarkUsedExternalReferences() const ScConditionalFormats_Impl::Insert(ScConditionalFormat* const&, unsigned short&) ScConditionalFormats_Impl::Insert(ScConditionalFormat* const*, unsigned short) ScConditionalFormats_Impl::Insert(ScConditionalFormats_Impl const*, unsigned short, unsigned short) @@ -79,8 +78,6 @@ ScConditionalFormats_Impl::Remove(unsigned short, unsigned short) ScCsvControl::ScCsvControl(Window*, ScCsvLayoutData const&, long) ScDBCollection::AnonDBs::erase(boost::void_ptr_iterator<__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<void**, std::__cxx1998::vector<void*, std::allocator<void*> > >, std::__debug::vector<void*, std::allocator<void*> > >, ScDBData>) ScDBCollection::AnonDBs::size() const -ScDPFieldControlBase::GetDupCount(unsigned long) const -ScDPSaveDimension::Refresh(com::sun::star::uno::Reference<com::sun::star::sheet::XDimensionsSupplier> const&, std::__debug::list<rtl::OUString, std::allocator<rtl::OUString> > const&) ScDocRowHeightUpdater::TabRanges::TabRanges() ScFilterDetect::impl_createFactory(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&) ScHTMLColOffset::Insert(ScHTMLColOffset const*, unsigned short, unsigned short) @@ -92,7 +89,6 @@ ScHTMLColOffset_SAR::Replace(unsigned long const*, unsigned short, unsigned shor ScHTMLColOffset_SAR::_ForEach(unsigned short, unsigned short, unsigned char (*)(unsigned long const&, void*), void*) ScNameDefDlg::LinkStubEdModifyHdl(void*, void*) ScNamedRangeObj::getImplementation(com::sun::star::uno::Reference<com::sun::star::uno::XInterface>) -ScPostIt::HasMultiLineText() const ScRTFColTwips::Insert(ScRTFColTwips const*, unsigned short, unsigned short) ScRTFColTwips::Insert(unsigned long const&, unsigned short&) ScRTFColTwips::Insert(unsigned long const*, unsigned short) @@ -102,7 +98,6 @@ ScRTFColTwips_SAR::Replace(unsigned long const*, unsigned short, unsigned short) ScRTFColTwips_SAR::_ForEach(unsigned short, unsigned short, unsigned char (*)(unsigned long const&, void*), void*) ScRangeData::ReplaceRangeNamesInUse(std::__debug::map<unsigned short, unsigned short, std::less<unsigned short>, std::allocator<std::pair<unsigned short const, unsigned short> > > const&) ScRangeData::ScRangeData(unsigned short) -ScRangeData::TransferTabRef(short, short) ScSimpleRangeList::Range::contains(ScSimpleRangeList::Range const&) const ScStringCell::ScStringCell() ScTable::ReplaceRangeNamesInUse(short, int, short, int, std::__debug::map<unsigned short, unsigned short, std::less<unsigned short>, std::allocator<std::pair<unsigned short const, unsigned short> > > const&) @@ -173,10 +168,8 @@ SpinButton::SpinButton(Window*, ResId const&) SrchAttrItemList::Replace(SearchAttrItem const&, unsigned short) SrchAttrItemList::Replace(SearchAttrItem const*, unsigned short, unsigned short) SrchAttrItemList::_ForEach(unsigned short, unsigned short, unsigned char (*)(SearchAttrItem const&, void*), void*) -StgAvlIterator::Last() StgCache::Pos2Page(int) StgHeader::SetClassId(ClsId const&) -StorageStream::ValidateMode(unsigned short, StgDirEntry*) const SvBorder::SvBorder(Rectangle const&, Rectangle const&) SvI18NMap_Impl::Insert(SvI18NMapEntry_Impl* const&, unsigned short&) SvI18NMap_Impl::Insert(SvI18NMapEntry_Impl* const*, unsigned short) @@ -386,15 +379,11 @@ TextEngine::GetLeftMargin() const TransferableDataHelper::GetInterface(com::sun::star::datatransfer::DataFlavor const&, com::sun::star::uno::Reference<com::sun::star::uno::XInterface>&) TypeDescriptor_Init_Impl::~TypeDescriptor_Init_Impl() UCBStream::UCBStream(com::sun::star::uno::Reference<com::sun::star::io::XOutputStream>&) -UnoComboBoxControl::getActionListeners() -UnoComboBoxControl::getItemListeners() UnoControlBase::UnoControlBase() UnoControlModel::Clone() const UnoControlModel::GetImplementation(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&) UnoControlModel::UnoControlModel() UnoControlModel::getInfoHelper() -UnoListBoxControl::getActionListeners() -UnoListBoxControl::getItemListeners() VCLUnoHelper::CreatePointer() VCLXDevice::IsCreatedWithToolkit() const VCLXPrinterServer::getImplementationId() @@ -507,7 +496,6 @@ _ZSortFlys_SAR::Replace(_ZSortFly const&, unsigned short) _ZSortFlys_SAR::Replace(_ZSortFly const*, unsigned short, unsigned short) _ZSortFlys_SAR::_ForEach(unsigned short, unsigned short, unsigned char (*)(_ZSortFly const&, void*), void*) basebmp::debugDump(boost::shared_ptr<basebmp::BitmapDevice> const&, std::basic_ostream<char, std::char_traits<char> >&) -basegfx::tools::clipPolygonOnOrthogonalPlane(basegfx::B3DPolygon const&, basegfx::tools::B3DOrientation, bool, double, bool) basegfx::tools::equal(basegfx::B2DPolyPolygon const&, basegfx::B2DPolyPolygon const&, double const&) basegfx::tools::equal(basegfx::B3DPolyPolygon const&, basegfx::B3DPolyPolygon const&, double const&) basegfx::tools::getSignedArea(basegfx::B3DPolygon const&) |