diff options
-rw-r--r-- | include/sfx2/thumbnailview.hxx | 2 | ||||
-rw-r--r-- | include/svtools/headbar.hxx | 5 | ||||
-rw-r--r-- | include/svtools/valueset.hxx | 1 | ||||
-rw-r--r-- | sd/inc/stlpool.hxx | 2 | ||||
-rw-r--r-- | sd/source/core/stlpool.cxx | 10 | ||||
-rw-r--r-- | sfx2/source/control/thumbnailview.cxx | 7 | ||||
-rw-r--r-- | sfx2/source/dialog/backingwindow.cxx | 25 | ||||
-rw-r--r-- | sfx2/source/dialog/backingwindow.hxx | 1 | ||||
-rw-r--r-- | sfx2/source/sidebar/TabBar.cxx | 15 | ||||
-rw-r--r-- | sfx2/source/sidebar/TabBar.hxx | 1 | ||||
-rw-r--r-- | svtools/source/control/headbar.cxx | 8 | ||||
-rw-r--r-- | svtools/source/control/valueset.cxx | 17 | ||||
-rw-r--r-- | sw/source/core/access/accfrmobj.cxx | 17 | ||||
-rw-r--r-- | sw/source/core/access/accfrmobj.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/access/accnotextframe.cxx | 10 | ||||
-rw-r--r-- | sw/source/core/access/accnotextframe.hxx | 4 | ||||
-rw-r--r-- | sw/source/core/access/acctable.cxx | 6 | ||||
-rw-r--r-- | sw/source/core/access/acctable.hxx | 1 | ||||
-rw-r--r-- | sw/source/core/doc/docfld.cxx | 6 | ||||
-rw-r--r-- | sw/source/core/inc/docfld.hxx | 1 | ||||
-rw-r--r-- | unusedcode.easy | 11 |
21 files changed, 4 insertions, 148 deletions
diff --git a/include/sfx2/thumbnailview.hxx b/include/sfx2/thumbnailview.hxx index 139a838da2f3..761b45b89a37 100644 --- a/include/sfx2/thumbnailview.hxx +++ b/include/sfx2/thumbnailview.hxx @@ -182,8 +182,6 @@ public: ThumbnailView ( Window* pParent, WinBits nWinStyle = WB_TABSTOP, bool bDisableTransientChildren = false ); - ThumbnailView ( Window* pParent, const ResId& rResId, bool bDisableTransientChildren = false ); - virtual ~ThumbnailView (); virtual void MouseMove( const MouseEvent& rMEvt ); diff --git a/include/svtools/headbar.hxx b/include/svtools/headbar.hxx index 76789d08ca82..3bb3f0b70e04 100644 --- a/include/svtools/headbar.hxx +++ b/include/svtools/headbar.hxx @@ -291,9 +291,8 @@ private: SVT_DLLPRIVATE void ImplEndDrag( sal_Bool bCancel ); public: - HeaderBar( Window* pParent, WinBits nWinBits = WB_STDHEADERBAR ); - HeaderBar( Window* pParent, const ResId& rResId ); - ~HeaderBar(); + HeaderBar( Window* pParent, WinBits nWinBits = WB_STDHEADERBAR ); + ~HeaderBar(); virtual void MouseButtonDown( const MouseEvent& rMEvt ); virtual void MouseMove( const MouseEvent& rMEvt ); diff --git a/include/svtools/valueset.hxx b/include/svtools/valueset.hxx index 9f925ba00647..87102c43e051 100644 --- a/include/svtools/valueset.hxx +++ b/include/svtools/valueset.hxx @@ -263,7 +263,6 @@ private: SVT_DLLPRIVATE ValueSetItem* ImplGetItem( size_t nPos ); SVT_DLLPRIVATE ValueSetItem* ImplGetFirstItem(); SVT_DLLPRIVATE sal_uInt16 ImplGetVisibleItemCount() const; - SVT_DLLPRIVATE ValueSetItem* ImplGetVisibleItem( sal_uInt16 nVisiblePos ); SVT_DLLPRIVATE void ImplInsertItem( ValueSetItem *const pItem, const size_t nPos ); SVT_DLLPRIVATE Rectangle ImplGetItemRect( size_t nPos ) const; SVT_DLLPRIVATE void ImplFireAccessibleEvent( short nEventId, const ::com::sun::star::uno::Any& rOldValue, const ::com::sun::star::uno::Any& rNewValue ); diff --git a/sd/inc/stlpool.hxx b/sd/inc/stlpool.hxx index 8c0e993d2146..581e2f23a00e 100644 --- a/sd/inc/stlpool.hxx +++ b/sd/inc/stlpool.hxx @@ -80,9 +80,7 @@ public: void CopyGraphicSheets(SdStyleSheetPool& rSourcePool); void CopyCellSheets(SdStyleSheetPool& rSourcePool); void CopyTableStyles(SdStyleSheetPool& rSourcePool); - void CopyGraphicSheets(SdStyleSheetPool& rSourcePool, SdStyleSheetVector& rCreatedSheets); void CopyCellSheets(SdStyleSheetPool& rSourcePool, SdStyleSheetVector& rCreatedSheets); - void RenameAndCopyGraphicSheets(SdStyleSheetPool& rSourcePool, OUString &rRenameSuffix); void RenameAndCopyGraphicSheets(SdStyleSheetPool& rSourcePool, SdStyleSheetVector& rCreatedSheets, OUString &rRenameSuffix); void CreatePseudosIfNecessary(); diff --git a/sd/source/core/stlpool.cxx b/sd/source/core/stlpool.cxx index f173ce2893ad..b1bad09de780 100644 --- a/sd/source/core/stlpool.cxx +++ b/sd/source/core/stlpool.cxx @@ -535,11 +535,6 @@ void SdStyleSheetPool::CopyGraphicSheets(SdStyleSheetPool& rSourcePool) CopySheets( rSourcePool, SD_STYLE_FAMILY_GRAPHICS ); } -void SdStyleSheetPool::RenameAndCopyGraphicSheets(SdStyleSheetPool& rSourcePool, OUString &rRenameSuffix) -{ - RenameAndCopySheets( rSourcePool, SD_STYLE_FAMILY_GRAPHICS, rRenameSuffix ); -} - void SdStyleSheetPool::CopyCellSheets(SdStyleSheetPool& rSourcePool) { CopySheets( rSourcePool, SD_STYLE_FAMILY_CELL ); @@ -602,11 +597,6 @@ void SdStyleSheetPool::CopyTableStyles(SdStyleSheetPool& rSourcePool) } } -void SdStyleSheetPool::CopyGraphicSheets(SdStyleSheetPool& rSourcePool, SdStyleSheetVector& rCreatedSheets) -{ - CopySheets( rSourcePool, SD_STYLE_FAMILY_GRAPHICS, rCreatedSheets ); -} - void SdStyleSheetPool::CopyCellSheets(SdStyleSheetPool& rSourcePool, SdStyleSheetVector& rCreatedSheets) { CopySheets( rSourcePool, SD_STYLE_FAMILY_CELL, rCreatedSheets ); diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx index dbe2f462dd04..ee1c016a8f61 100644 --- a/sfx2/source/control/thumbnailview.cxx +++ b/sfx2/source/control/thumbnailview.cxx @@ -60,13 +60,6 @@ ThumbnailView::ThumbnailView (Window *pParent, WinBits nWinStyle, bool bDisableT mbIsTransientChildrenDisabled = bDisableTransientChildren; } -ThumbnailView::ThumbnailView (Window *pParent, const ResId &rResId, bool bDisableTransientChildren) - : Control( pParent, rResId ) -{ - ImplInit(); - mbIsTransientChildrenDisabled = bDisableTransientChildren; -} - ThumbnailView::~ThumbnailView() { com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent> diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx index 5f849cd45d9e..5a6c242c49cf 100644 --- a/sfx2/source/dialog/backingwindow.cxx +++ b/sfx2/source/dialog/backingwindow.cxx @@ -497,31 +497,6 @@ IMPL_LINK( BackingWindow, ClickHdl, Button*, pButton ) return 0; } -IMPL_LINK( BackingWindow, OpenTemplateHdl, ThumbnailViewItem*, pItem) -{ - uno::Sequence< PropertyValue > aArgs(4); - aArgs[0].Name = "AsTemplate"; - aArgs[0].Value <<= sal_True; - aArgs[1].Name = "MacroExecutionMode"; - aArgs[1].Value <<= MacroExecMode::USE_CONFIG; - aArgs[2].Name = "UpdateDocMode"; - aArgs[2].Value <<= UpdateDocMode::ACCORDING_TO_CONFIG; - aArgs[3].Name = "InteractionHandler"; - aArgs[3].Value <<= task::InteractionHandler::createWithParent( ::comphelper::getProcessComponentContext(), 0 ); - - TemplateViewItem *pTemplateItem = static_cast<TemplateViewItem*>(pItem); - - try - { - mxDesktop->loadComponentFromURL(pTemplateItem->getPath(),"_default", 0, aArgs ); - } - catch( const uno::Exception& ) - { - } - - return 0; -} - struct ImplDelayedDispatch { Reference< XDispatch > xDispatch; diff --git a/sfx2/source/dialog/backingwindow.hxx b/sfx2/source/dialog/backingwindow.hxx index dfa67b0b7016..90f4ff0baad0 100644 --- a/sfx2/source/dialog/backingwindow.hxx +++ b/sfx2/source/dialog/backingwindow.hxx @@ -97,7 +97,6 @@ class BackingWindow DECL_LINK(ClickHdl, Button*); DECL_LINK(ExtLinkClickHdl, Button*); - DECL_LINK(OpenTemplateHdl, ThumbnailViewItem*); void initControls(); diff --git a/sfx2/source/sidebar/TabBar.cxx b/sfx2/source/sidebar/TabBar.cxx index 27f451b867f7..1a81b6d293df 100644 --- a/sfx2/source/sidebar/TabBar.cxx +++ b/sfx2/source/sidebar/TabBar.cxx @@ -251,21 +251,6 @@ void TabBar::HighlightDeck (const ::rtl::OUString& rsDeckId) -TabBar::Item* TabBar::GetItemForId (const ::rtl::OUString& rsDeckId) -{ - for (ItemContainer::iterator iItem(maItems.begin()),iEnd(maItems.end()); - iItem!=iEnd; - ++iItem) - { - if (iItem->msDeckId.equals(rsDeckId)) - return &*iItem; - } - return NULL; -} - - - - void TabBar::DataChanged (const DataChangedEvent& rDataChangedEvent) { SetBackground(Theme::GetPaint(Theme::Paint_TabBarBackground).GetWallpaper()); diff --git a/sfx2/source/sidebar/TabBar.hxx b/sfx2/source/sidebar/TabBar.hxx index 01073ce6c30c..ef09a07544c8 100644 --- a/sfx2/source/sidebar/TabBar.hxx +++ b/sfx2/source/sidebar/TabBar.hxx @@ -113,7 +113,6 @@ private: PopupMenuProvider maPopupMenuProvider; RadioButton* CreateTabItem (const DeckDescriptor& rDeckDescriptor); - Item* GetItemForId (const ::rtl::OUString& rsId); Image GetItemImage (const DeckDescriptor& rDeskDescriptor) const; void Layout (void); void UpdateButtonIcons (void); diff --git a/svtools/source/control/headbar.cxx b/svtools/source/control/headbar.cxx index 2782d82b1663..eda70d234a0a 100644 --- a/svtools/source/control/headbar.cxx +++ b/svtools/source/control/headbar.cxx @@ -111,14 +111,6 @@ HeaderBar::HeaderBar( Window* pParent, WinBits nWinStyle ) : // ----------------------------------------------------------------------- -HeaderBar::HeaderBar( Window* pParent, const ResId& rResId ) : - Window( pParent, rResId ) -{ - ImplInit( rResId.GetWinBits() ); -} - -// ----------------------------------------------------------------------- - HeaderBar::~HeaderBar() { // Alle Items loeschen diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx index a757d2f28e9c..c4487aab253f 100644 --- a/svtools/source/control/valueset.cxx +++ b/svtools/source/control/valueset.cxx @@ -1122,23 +1122,6 @@ sal_uInt16 ValueSet::ImplGetVisibleItemCount() const // ----------------------------------------------------------------------- -ValueSetItem* ValueSet::ImplGetVisibleItem( sal_uInt16 nVisiblePos ) -{ - const size_t nItemCount = mItemList.size(); - - for ( size_t n = 0; n < nItemCount; ++n ) - { - ValueSetItem *const pItem = mItemList[n]; - - if ( pItem->mbVisible && !nVisiblePos-- ) - return pItem; - } - - return NULL; -} - -// ----------------------------------------------------------------------- - void ValueSet::ImplFireAccessibleEvent( short nEventId, const ::com::sun::star::uno::Any& rOldValue, const ::com::sun::star::uno::Any& rNewValue ) { ValueSetAcc* pAcc = ValueSetAcc::getImplementation( GetAccessible( sal_False ) ); diff --git a/sw/source/core/access/accfrmobj.cxx b/sw/source/core/access/accfrmobj.cxx index 461a42062734..1263a6c95310 100644 --- a/sw/source/core/access/accfrmobj.cxx +++ b/sw/source/core/access/accfrmobj.cxx @@ -166,23 +166,6 @@ bool SwAccessibleChild::IsBoundAsChar() const return bRet; } -sal_uInt32 SwAccessibleChild::GetAnchorPosition() const -{ - if( mpDrawObj ) - { - const SwFrmFmt *pFrmFmt = ::FindFrmFmt( mpDrawObj ); - if ( pFrmFmt ) - { - const SwPosition *pPos = pFrmFmt->GetAnchor().GetCntntAnchor(); - if ( pPos ) - { - return pPos->nContent.GetIndex(); - } - } - } - return 0; -} - SwAccessibleChild::SwAccessibleChild( const SwAccessibleChild& r ) : mpFrm( r.mpFrm ) , mpDrawObj( r.mpDrawObj ) diff --git a/sw/source/core/access/accfrmobj.hxx b/sw/source/core/access/accfrmobj.hxx index d37277e67f50..47e1f3ba6684 100644 --- a/sw/source/core/access/accfrmobj.hxx +++ b/sw/source/core/access/accfrmobj.hxx @@ -61,8 +61,6 @@ class SwAccessibleChild bool IsAccessible( sal_Bool bPagePreview ) const; bool IsBoundAsChar() const; - sal_uInt32 GetAnchorPosition() const; - bool IsVisibleChildrenOnly() const; SwRect GetBox( const SwAccessibleMap& rAccMap ) const; SwRect GetBounds( const SwAccessibleMap& rAccMap ) const; diff --git a/sw/source/core/access/accnotextframe.cxx b/sw/source/core/access/accnotextframe.cxx index 45f340a2a69f..4341257729d2 100644 --- a/sw/source/core/access/accnotextframe.cxx +++ b/sw/source/core/access/accnotextframe.cxx @@ -350,16 +350,6 @@ sal_Int32 SAL_CALL SwAccessibleNoTextFrame::getHyperLinkIndex( sal_Int32 ) return 0; } -AccessibleRelation SwAccessibleNoTextFrame::makeRelation( sal_Int16 nType, const SwFlyFrm* pFrm ) -{ - SolarMutexGuard g; - - uno::Sequence<uno::Reference<XInterface> > aSequence(1); - aSequence[0] = GetMap()->GetContext( pFrm ); - return AccessibleRelation( nType, aSequence ); -} - - uno::Reference<XAccessibleRelationSet> SAL_CALL SwAccessibleNoTextFrame::getAccessibleRelationSet( ) throw ( uno::RuntimeException ) { diff --git a/sw/source/core/access/accnotextframe.hxx b/sw/source/core/access/accnotextframe.hxx index 2ea05f15932c..94cbaed6ee51 100644 --- a/sw/source/core/access/accnotextframe.hxx +++ b/sw/source/core/access/accnotextframe.hxx @@ -134,10 +134,6 @@ public: SwAccessibleMap *GetAccessibleMap(){ return GetMap();} -private: - com::sun::star::accessibility::AccessibleRelation makeRelation( - sal_Int16 nType, const SwFlyFrm* pFrm ); - public: virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleRelationSet> SAL_CALL diff --git a/sw/source/core/access/acctable.cxx b/sw/source/core/access/acctable.cxx index 00d7282a328a..f3ceba78dc11 100644 --- a/sw/source/core/access/acctable.cxx +++ b/sw/source/core/access/acctable.cxx @@ -1772,12 +1772,6 @@ void SwAccessibleTable::FireSelectionEvent( ) } } -void SwAccessibleTable::ClearSelectionCellCache() -{ - m_vecCellAdd.clear(); - m_vecCellRemove.clear(); -} - void SwAccessibleTable::AddSelectionCell(const SwAccessibleContext* pAccCell ,sal_Bool bAddOrRemove) { if (bAddOrRemove) diff --git a/sw/source/core/access/acctable.hxx b/sw/source/core/access/acctable.hxx index ea4dc8f9119b..aea2394d8bfc 100644 --- a/sw/source/core/access/acctable.hxx +++ b/sw/source/core/access/acctable.hxx @@ -271,7 +271,6 @@ public: VEC_CELL m_vecCellAdd; VEC_CELL m_vecCellRemove; void FireSelectionEvent( ); - void ClearSelectionCellCache(); void AddSelectionCell(const SwAccessibleContext* ,sal_Bool bAddOrRemove); }; diff --git a/sw/source/core/doc/docfld.cxx b/sw/source/core/doc/docfld.cxx index 10b40a2218e6..48a3492761a1 100644 --- a/sw/source/core/doc/docfld.cxx +++ b/sw/source/core/doc/docfld.cxx @@ -823,12 +823,6 @@ _SetGetExpFld::_SetGetExpFld( const SwFlyFrmFmt& rFlyFmt, } } -void _SetGetExpFld::GetPos( SwPosition& rPos ) const -{ - rPos.nNode = nNode; - rPos.nContent.Assign( rPos.nNode.GetNode().GetCntntNode(), nCntnt ); -} - void _SetGetExpFld::GetPosOfContent( SwPosition& rPos ) const { const SwNode* pNd = GetNodeFromCntnt(); diff --git a/sw/source/core/inc/docfld.hxx b/sw/source/core/inc/docfld.hxx index fec0a0a417dd..009e36fd83e3 100644 --- a/sw/source/core/inc/docfld.hxx +++ b/sw/source/core/inc/docfld.hxx @@ -98,7 +98,6 @@ public: sal_Int32 GetCntnt() const { return nCntnt; } const void* GetPointer() const { return CNTNT.pTxtFld; } - void GetPos( SwPosition& rPos ) const; void GetPosOfContent( SwPosition& rPos ) const; const SwNode* GetNodeFromCntnt() const; diff --git a/unusedcode.easy b/unusedcode.easy index 186d43994a92..1388f49cbfb0 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -1,9 +1,8 @@ -(anonymous namespace)::hasNonEmpty(std::vector<double, std::allocator<double> > const&, int, int) AddressWalker::pop() -BackingWindow::LinkStubOpenTemplateHdl(void*, void*) BigInt::BigInt(unsigned int) BigInt::GetString() const CalcUnoApiTest::CalcUnoApiTest(rtl::OUString const&) +Chart2ExportTest::testFdo74115WallGradientFill() Chart2ImportTest::testODPChartSeries() Chart2ImportTest::testPPTChartSeries() Chart2ImportTest::testPPTXChartSeries() @@ -77,6 +76,7 @@ ScCellValue::ScCellValue(ScFormulaCell const&) ScCellValue::hasNumeric() const ScCellValue::hasString() const ScCellValue::set(ScFormulaCell const&) +ScCollection::IndexOf(ScDataObject*) const ScColorScaleEntry::UpdateMoveTab(short, short, short) ScColumn::DeleteCellNote(int) ScColumn::MoveListeners(SvtBroadcaster&, int) @@ -150,13 +150,11 @@ SvxRectCtlAccessibleContext::FireAccessibleEvent(short, com::sun::star::uno::Any SwAccessibleField::SwAccessibleField(SwField*, SwAccessibleParagraph*, short) SwAccessibleParagraph::GetTOCLevel() SwAccessiblePortionData::GetAttrFldType(int) -SwAccessibleTable::ClearSelectionCellCache() SwAccessibleTable::SetTableData(SwAccessibleTableData_Impl*) SwCntntFrm::DelFrms(SwCntntNode const&) SwExtraRedlineTbl::Contains(SwExtraRedline const*) const SwExtraRedlineTbl::Remove(SwExtraRedline const*) SwPostItField::GetByName(SwDoc*, rtl::OUString const&) -SwTableRowRedline::SwTableRowRedline(SwRedlineData const&, SwTableLine&) SwViewImp::FireColumnChangeEvent(unsigned short, unsigned short) SwViewImp::FirePageChangeEvent(unsigned short, unsigned short) SwViewImp::FireSectionChangeEvent(unsigned short, unsigned short) @@ -172,7 +170,6 @@ TypeManager::decompose(rtl::OUString const&, bool, rtl::OUString*, int*, std::ve TypeManager::foundAtPrimaryProvider(rtl::OUString const&) const TypeManager::loadProvider(rtl::OUString const&, bool) UnoApiTest::closeDocument(com::sun::star::uno::Reference<com::sun::star::lang::XComponent>) -ValueSet::ImplGetVisibleItem(unsigned short) VclMultiLineEdit::IsRightToLeft() const VclMultiLineEdit::SetTextSelectable(bool) accessibility::AccessibleParaManager::Release(int) @@ -363,20 +360,16 @@ sfx2::sidebar::EnumContext::GetContext() const sfx2::sidebar::Paint::Set(sfx2::sidebar::Paint const&) sfx2::sidebar::Panel::PrintWindowTree() sfx2::sidebar::SidebarDockingWindow::GetChildWindow() -sfx2::sidebar::TabBar::GetItemForId(rtl::OUString const&) std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString const, (anonymous namespace)::TemplateId>, std::_Select1st<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> >, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> > >::_Rb_tree(std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString const, (anonymous namespace)::TemplateId>, std::_Select1st<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> >, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> > >&&) std::auto_ptr<formula::FormulaTokenArray>::auto_ptr(std::auto_ptr<formula::FormulaTokenArray>&) std::auto_ptr<formula::FormulaTokenArray>::auto_ptr(std::auto_ptr_ref<formula::FormulaTokenArray>) std::vector<rtl::Reference<oox::xls::(anonymous namespace)::WorkerThread>, std::allocator<rtl::Reference<oox::xls::(anonymous namespace)::WorkerThread> > >::reserve(unsigned long) svl::SharedStringPool::SharedStringPool() svx::frame::Style::Style(editeng::SvxBorderLine const&, double, unsigned short) -sw::access::SwAccessibleChild::GetAnchorPosition() const utl::MediaDescriptor::PROP_DEEPDETECTION() utl::toISO8601(com::sun::star::util::Time const&) vcl::MapChar(vcl::_TrueTypeFont*, unsigned short, int) writerfilter::WW8TableManager::WW8TableManager() -writerfilter::dmapper::TrackChangesHandler::TrackChangesHandler(int) -writerfilter::dmapper::TrackChangesHandler::getRedlineProperties() const writerfilter::dump(writerfilter::OutputWithDepth<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, char const*, boost::shared_ptr<writerfilter::Reference<writerfilter::BinaryObj> >) writerfilter::dump(writerfilter::OutputWithDepth<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, char const*, boost::shared_ptr<writerfilter::Reference<writerfilter::Properties> >) writerfilter::dump(writerfilter::OutputWithDepth<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, char const*, rtl::OUString const&) |