diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-04 09:10:42 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-04 09:42:21 +0000 |
commit | b70fbfd9265d46a0bc088ff08b52fd78268a4834 (patch) | |
tree | 7511f25c4c14150940b03e9e1f33931283a50427 | |
parent | 3f8126822c5cb4348f769d9a0776d457f5587b58 (diff) |
update unused list
-rw-r--r-- | editeng/source/editeng/impedit.hxx | 4 | ||||
-rw-r--r-- | editeng/source/editeng/impedit2.cxx | 14 | ||||
-rw-r--r-- | editeng/source/editeng/impedit3.cxx | 9 | ||||
-rw-r--r-- | editeng/source/editeng/impedit4.cxx | 5 | ||||
-rw-r--r-- | sc/source/ui/inc/invmerge.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/invmerge.cxx | 12 | ||||
-rw-r--r-- | unusedcode.easy | 6 |
7 files changed, 6 insertions, 46 deletions
diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx index 1cf60025dbe4..adf3c8ec90c2 100644 --- a/editeng/source/editeng/impedit.hxx +++ b/editeng/source/editeng/impedit.hxx @@ -597,7 +597,6 @@ private: EditPaM ConnectContents( sal_uInt16 nLeftNode, sal_Bool bBackward ); void ShowParagraph( sal_uInt16 nParagraph, sal_Bool bShow ); - sal_Bool IsParagraphVisible( sal_uInt16 nParagraph ); EditPaM PageUp( const EditPaM& rPaM, EditView* pView); EditPaM PageDown( const EditPaM& rPaM, EditView* pView); @@ -830,7 +829,6 @@ public: sal_Bool IsInSelectionMode() { return bInSelection; } - void StopSelectionMode(); void IndentBlock( EditView* pView, sal_Bool bRight ); @@ -952,8 +950,6 @@ public: void PutSpellingToSentenceStart( EditView& rEditView ); //applies a changed sentence void ApplyChangedSentence(EditView& rEditView, const ::svx::SpellPortions& rNewPortions, bool bRecheck ); - //deinitialize sentence spelling - void EndSpelling(); //adds one or more portions of text to the SpellPortions depending on language changes void AddPortionIterated( EditView& rEditView, diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx index 297b06a38720..74d096c81cf3 100644 --- a/editeng/source/editeng/impedit2.cxx +++ b/editeng/source/editeng/impedit2.cxx @@ -3555,20 +3555,6 @@ EditSelection ImpEditEngine::MatchGroup( const EditSelection& rSel ) return aMatchSel; } -void ImpEditEngine::StopSelectionMode() -{ - if ( ( IsInSelectionMode() || aSelEngine.IsInSelection() ) && pActiveView ) - { - pActiveView->pImpEditView->DrawSelection(); - EditSelection aSel( pActiveView->pImpEditView->GetEditSelection() ); - aSel.Min() = aSel.Max(); - pActiveView->pImpEditView->SetEditSelection( aSel ); - pActiveView->ShowCursor(); - aSelEngine.Reset(); - bInSelection = sal_False; - } -} - void ImpEditEngine::SetActiveView( EditView* pView ) { // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx index 8f059a3c6f1d..83695cf5c12b 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -3806,15 +3806,6 @@ void ImpEditEngine::ShowParagraph( sal_uInt16 nParagraph, sal_Bool bShow ) } } -sal_Bool ImpEditEngine::IsParagraphVisible( sal_uInt16 nParagraph ) -{ - ParaPortion* pPPortion = GetParaPortions().SaveGetObject( nParagraph ); - DBG_ASSERT( pPPortion, "IsParagraphVisible: Paragraph does not exist! "); - if ( pPPortion ) - return pPPortion->IsVisible(); - return sal_False; -} - EditSelection ImpEditEngine::MoveParagraphs( Range aOldPositions, sal_uInt16 nNewPos, EditView* pCurView ) { DBG_ASSERT( GetParaPortions().Count() != 0, "No paragraphs found: MoveParagraphs" ); diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx index 80dcedc226cd..27bbcdcf9649 100644 --- a/editeng/source/editeng/impedit4.cxx +++ b/editeng/source/editeng/impedit4.cxx @@ -1869,11 +1869,6 @@ Reference< XSpellAlternatives > ImpEditEngine::ImpSpell( EditView* pEditView ) return xSpellAlt; } -void ImpEditEngine::EndSpelling() -{ - DELETEZ(pSpellInfo); -} - void ImpEditEngine::StartSpelling(EditView& rEditView, sal_Bool bMultipleDoc) { DBG_ASSERT(!pSpellInfo, "pSpellInfo already set?"); diff --git a/sc/source/ui/inc/invmerge.hxx b/sc/source/ui/inc/invmerge.hxx index ebe03a91988f..ccffe888ad78 100644 --- a/sc/source/ui/inc/invmerge.hxx +++ b/sc/source/ui/inc/invmerge.hxx @@ -38,7 +38,6 @@ class Window; class ScInvertMerger { private: - Window* pWin; ::std::vector< Rectangle >* pRects; Rectangle aTotalRect; Rectangle aLineRect; @@ -47,7 +46,6 @@ private: void FlushTotal(); public: - ScInvertMerger( Window* pWindow ); ScInvertMerger( ::std::vector< Rectangle >* pRectangles ); ~ScInvertMerger(); diff --git a/sc/source/ui/view/invmerge.cxx b/sc/source/ui/view/invmerge.cxx index 8a8a88517121..82469a52289a 100644 --- a/sc/source/ui/view/invmerge.cxx +++ b/sc/source/ui/view/invmerge.cxx @@ -37,15 +37,7 @@ //------------------------------------------------------------------ -ScInvertMerger::ScInvertMerger( Window* pWindow ) : - pWin( pWindow ), - pRects( NULL ) -{ - // both rectangles empty -} - ScInvertMerger::ScInvertMerger( ::std::vector< Rectangle >* pRectangles ) : - pWin( NULL ), pRects( pRectangles ) { // collect rectangles instead of inverting @@ -112,9 +104,7 @@ void ScInvertMerger::FlushTotal() if( aTotalRect.IsEmpty() ) return; // nothing to do - if ( pWin ) - pWin->Invert( aTotalRect, INVERT_HIGHLIGHT ); - else if ( pRects ) + if ( pRects ) pRects->push_back( aTotalRect ); aTotalRect.SetEmpty(); diff --git a/unusedcode.easy b/unusedcode.easy index a22c390cfa45..ce450522cdb0 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -402,8 +402,8 @@ ScDocument::IsLoadingMedium() const ScDocument::ValidNewTabName(std::__debug::vector<String, std::allocator<String> > const&) const ScExternalRefManager::setCacheTableReferencedPermanently(unsigned short, rtl::OUString const&, unsigned long) ScFilterDetect::impl_createFactory(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&) +ScFiltersTest::testPassword() ScFormulaCell::ScFormulaCell() -ScGridWindow::InvertSimple(short, int, short, int, unsigned char, unsigned char) ScHTMLColOffset::Insert(ScHTMLColOffset const*, unsigned short, unsigned short) ScHTMLColOffset::Insert(unsigned long const&, unsigned short&) ScHTMLColOffset::Insert(unsigned long const*, unsigned short) @@ -1351,6 +1351,9 @@ _ZSortFlys_SAR::_ForEach(unsigned short, unsigned short, unsigned char (*)(_ZSor avmedia::priv::MediaWindowBaseImpl::getStopTime() const avmedia::priv::MediaWindowBaseImpl::setRate(double) avmedia::priv::MediaWindowBaseImpl::setStopTime(double) +basebmp::BitmapDevice::getPaletteEntryCount() const +basebmp::BitmapDevice::getPixelData(basegfx::B2IPoint const&) +basebmp::BitmapDevice::setDamageTracker(boost::shared_ptr<basebmp::IBitmapDeviceDamageTracker> const&) basebmp::debugDump(boost::shared_ptr<basebmp::BitmapDevice> const&, std::basic_ostream<char, std::char_traits<char> >&) basegfx::B1DRange::B1DRange(basegfx::B1IRange const&) basegfx::B2DCubicBezier::B2DCubicBezier(basegfx::B2DPoint const&, basegfx::B2DPoint const&) @@ -1432,6 +1435,7 @@ basegfx::average(basegfx::B2ITuple const&, basegfx::B2ITuple const&, basegfx::B2 basegfx::computeSetDifference(std::__debug::vector<basegfx::B2IBox, std::allocator<basegfx::B2IBox> >&, basegfx::B2IBox const&, basegfx::B2IBox const&) basegfx::exportToSvg(basegfx::B2DHomMatrix const&) basegfx::fround(basegfx::B1DRange const&) +basegfx::fround(basegfx::B2DRange const&) basegfx::fround(basegfx::B3DRange const&) basegfx::getContinuity(basegfx::B2IVector const&, basegfx::B2IVector const&) basegfx::getOrientation(basegfx::B2IVector const&, basegfx::B2IVector const&) |