diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-12-21 09:26:31 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-12-21 09:30:20 +0000 |
commit | c1c3ef64bca25183979f666aef51ab2854d628d8 (patch) | |
tree | 03a9e9518dcb9bb80833e79400b98dcbc80bfad3 | |
parent | 725f7d0171985ff858af2436c553b4906bd060f6 (diff) |
callcatcher: remove some unused code
26 files changed, 8 insertions, 282 deletions
diff --git a/chart2/source/view/axes/DateHelper.cxx b/chart2/source/view/axes/DateHelper.cxx index 247e0f66c16a..41f6aa13bc5e 100644 --- a/chart2/source/view/axes/DateHelper.cxx +++ b/chart2/source/view/axes/DateHelper.cxx @@ -41,25 +41,12 @@ bool DateHelper::IsInSameYear( const Date& rD1, const Date& rD2 ) { return rD1.GetYear() == rD2.GetYear(); } + bool DateHelper::IsInSameMonth( const Date& rD1, const Date& rD2 ) { return (rD1.GetYear() == rD2.GetYear()) && (rD1.GetMonth() == rD2.GetMonth()); } -long DateHelper::GetMonthsBetweenDates( Date aD1, Date aD2 ) -{ - Date aHelp = aD1; - long nSign = 1; - if( aD1 < aD2 ) - { - aD1 = aD2; - aD2 = aHelp; - nSign = -1; - } - - return nSign*( ( aD1.GetMonth() - aD2.GetMonth() ) - + ( aD1.GetYear() - aD2.GetYear() )*12 ); -} Date DateHelper::GetDateSomeMonthsAway( const Date& rD, long nMonthDistance ) { diff --git a/chart2/source/view/inc/DateHelper.hxx b/chart2/source/view/inc/DateHelper.hxx index 7891035fc338..427a230f2bbe 100644 --- a/chart2/source/view/inc/DateHelper.hxx +++ b/chart2/source/view/inc/DateHelper.hxx @@ -46,7 +46,6 @@ public: static bool IsInSameYear( const Date& rD1, const Date& rD2 ); static bool IsInSameMonth( const Date& rD1, const Date& rD2 ); - static long GetMonthsBetweenDates( Date aD1, Date aD2 ); static Date GetDateSomeMonthsAway( const Date& rD, long nMonthDistance ); static Date GetDateSomeYearsAway( const Date& rD, long nYearDistance ); static bool IsLessThanOneMonthAway( const Date& rD1, const Date& rD2 ); diff --git a/i18nutil/inc/i18nutil/unicode.hxx b/i18nutil/inc/i18nutil/unicode.hxx index d5e72b1feb70..24e9c6330498 100644 --- a/i18nutil/inc/i18nutil/unicode.hxx +++ b/i18nutil/inc/i18nutil/unicode.hxx @@ -44,7 +44,6 @@ class I18NUTIL_DLLPUBLIC unicode public: static sal_Int16 SAL_CALL getUnicodeType( const sal_Unicode ch ); - static sal_Bool SAL_CALL isUnicodeScriptType( const sal_Unicode ch, sal_Int16 type); static sal_Int16 SAL_CALL getUnicodeScriptType( const sal_Unicode ch, ScriptTypeList *typeList = NULL, sal_Int16 unknownType = 0 ); static sal_Unicode SAL_CALL getUnicodeScriptStart(com::sun::star::i18n::UnicodeScript type); static sal_Unicode SAL_CALL getUnicodeScriptEnd(com::sun::star::i18n::UnicodeScript type); diff --git a/i18nutil/source/utility/unicode.cxx b/i18nutil/source/utility/unicode.cxx index b0a97d6a55d7..00d4e80b730d 100644 --- a/i18nutil/source/utility/unicode.cxx +++ b/i18nutil/source/utility/unicode.cxx @@ -324,12 +324,6 @@ unicode::getUnicodeScriptType( const sal_Unicode ch, ScriptTypeList* typeList, s typeList[i].value : unknownType; } -sal_Bool SAL_CALL -unicode::isUnicodeScriptType( const sal_Unicode ch, sal_Int16 type) { - return ch >= UnicodeScriptType[type][UnicodeScriptTypeFrom] && - ch <= UnicodeScriptType[type][UnicodeScriptTypeTo]; -} - sal_Unicode SAL_CALL unicode::getUnicodeScriptStart( UnicodeScript type) { return UnicodeScriptType[type][UnicodeScriptTypeFrom]; diff --git a/oox/source/export/SchXMLSeriesHelper.cxx b/oox/source/export/SchXMLSeriesHelper.cxx index fc6ee8b1b67f..e233b8a2a89a 100644 --- a/oox/source/export/SchXMLSeriesHelper.cxx +++ b/oox/source/export/SchXMLSeriesHelper.cxx @@ -187,41 +187,6 @@ bool SchXMLSeriesHelper::isCandleStickSeries( return bRet; } -// static -Reference< chart2::XDataSeries > SchXMLSeriesHelper::getFirstCandleStickSeries( - const Reference< chart2::XDiagram > & xDiagram ) -{ - Reference< chart2::XDataSeries > xResult; - - try - { - Reference< chart2::XCoordinateSystemContainer > xCooSysCnt( xDiagram, uno::UNO_QUERY_THROW ); - Sequence< Reference< chart2::XCoordinateSystem > > aCooSysSeq( xCooSysCnt->getCoordinateSystems()); - for( sal_Int32 nCooSysIdx=0; !xResult.is() && nCooSysIdx<aCooSysSeq.getLength(); ++nCooSysIdx ) - { - Reference< chart2::XChartTypeContainer > xCTCnt( aCooSysSeq[nCooSysIdx], uno::UNO_QUERY_THROW ); - Sequence< Reference< chart2::XChartType > > aCTSeq( xCTCnt->getChartTypes()); - for( sal_Int32 nCTIdx=0; !xResult.is() && nCTIdx<aCTSeq.getLength(); ++nCTIdx ) - { - if( aCTSeq[nCTIdx]->getChartType().equals( - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.chart2.CandleStickChartType")))) - { - Reference< chart2::XDataSeriesContainer > xSeriesCnt( aCTSeq[nCTIdx], uno::UNO_QUERY_THROW ); - Sequence< Reference< chart2::XDataSeries > > aSeriesSeq( xSeriesCnt->getDataSeries() ); - if( aSeriesSeq.getLength()) - xResult.set( aSeriesSeq[0] ); - break; - } - } - } - } - catch( const uno::Exception & ) - { - OSL_FAIL( "Exception caught" ); - } - return xResult; -} - //static uno::Reference< beans::XPropertySet > SchXMLSeriesHelper::createOldAPISeriesPropertySet( const uno::Reference< chart2::XDataSeries >& xSeries diff --git a/oox/source/export/SchXMLSeriesHelper.hxx b/oox/source/export/SchXMLSeriesHelper.hxx index 1fdabba3aa9b..e19160157fd1 100644 --- a/oox/source/export/SchXMLSeriesHelper.hxx +++ b/oox/source/export/SchXMLSeriesHelper.hxx @@ -57,11 +57,6 @@ public: ::com::sun::star::frame::XModel >& xChartModel ); static ::com::sun::star::uno::Reference< - ::com::sun::star::chart2::XDataSeries > getFirstCandleStickSeries( - const ::com::sun::star::uno::Reference< - ::com::sun::star::chart2::XDiagram > & xDiagram ); - - static ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > createOldAPISeriesPropertySet( const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDataSeries >& xSeries diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx index 791bbc332bbd..05e68387d8ba 100644 --- a/sc/source/ui/inc/tabvwsh.hxx +++ b/sc/source/ui/inc/tabvwsh.hxx @@ -205,7 +205,6 @@ private: DECL_LINK( SimpleRefAborted, String* ); DECL_LINK( SimpleRefChange, String* ); DECL_LINK( FormControlActivated, FmFormShell* ); - DECL_LINK( HtmlOptionsHdl, void * ); protected: virtual void Activate(sal_Bool bMDI); diff --git a/sc/source/ui/view/tabvwsh.cxx b/sc/source/ui/view/tabvwsh.cxx index f25002f66567..5f59adad258b 100644 --- a/sc/source/ui/view/tabvwsh.cxx +++ b/sc/source/ui/view/tabvwsh.cxx @@ -99,13 +99,4 @@ SFX_IMPL_NAMED_VIEWFACTORY( ScTabViewShell, "Default" ) SFX_VIEW_REGISTRATION(ScDocShell); } -//------------------------------------------------------------------ - -IMPL_LINK( ScTabViewShell, HtmlOptionsHdl, void*, EMPTYARG ) -{ - // Invalidierung, falls blinkender Text erlaubt/verboten wurde - GetViewFrame()->GetBindings().Invalidate(SID_DRAW_TEXT_MARQUEE); - return 0; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/ui/func/futext.cxx b/sd/source/ui/func/futext.cxx index 4286ff690b6d..7e9d54ec35b0 100644 --- a/sd/source/ui/func/futext.cxx +++ b/sd/source/ui/func/futext.cxx @@ -1366,23 +1366,6 @@ void FuText::ReceiveRequest(SfxRequest& rReq) } } - - -/************************************************************************* -|* -|* SpellChecker: Error-LinkHdl -|* -\************************************************************************/ - -IMPL_LINK( FuText, SpellError, void *, nLang ) -{ - String aError( SvtLanguageTable::GetLanguageString( (LanguageType)(sal_uLong)nLang ) ); - ErrorHandler::HandleError(* new StringErrorInfo( - ERRCODE_SVX_LINGU_LANGUAGENOTEXISTS, aError) ); - return 0; -} - - void FuText::DoubleClick(const MouseEvent& ) { // Nothing to do diff --git a/sd/source/ui/inc/futext.hxx b/sd/source/ui/inc/futext.hxx index bcffd4fa12d8..290a43ebff80 100644 --- a/sd/source/ui/inc/futext.hxx +++ b/sd/source/ui/inc/futext.hxx @@ -72,8 +72,6 @@ public: sal_Bool DeleteDefaultText(); SdrTextObj* GetTextObj() { return static_cast< SdrTextObj* >( mxTextObj.get() ); } - DECL_LINK(SpellError, void* ); - virtual SdrObject* CreateDefaultObject(const sal_uInt16 nID, const Rectangle& rRectangle); /** is called when the currenct function should be aborted. <p> diff --git a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx index 57a620871708..fc5eec6eb80b 100644 --- a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx +++ b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx @@ -1159,28 +1159,6 @@ void SlotManager::DuplicateSelectedSlides (SfxRequest& rRequest) _1)); } -IMPL_LINK(SlotManager, UserEventCallback, void*, EMPTYARG) -{ - if ( ! maCommandQueue.empty()) - { - Command* pCommand = maCommandQueue.front(); - maCommandQueue.pop(); - - if (pCommand != NULL) - { - // The queue ownes the command that has just been removed from - // it. Therefore it is deleted after it has been executed. - (*pCommand)(); - delete pCommand; - } - } - - return 1; -} - - - - void SlotManager::ChangeSlideExclusionState ( const model::SharedPageDescriptor& rpDescriptor, const bool bExcludeSlide) diff --git a/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx index 5e5ad8a72178..c5bdcb51675d 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx @@ -114,8 +114,6 @@ private: This can be the current selection or the insertion indicator. */ sal_Int32 GetInsertionPosition (void); - - DECL_LINK(UserEventCallback, void*); }; } } } // end of namespace ::sd::slidesorter::controller diff --git a/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx b/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx index 342c3d5f23c9..48898f8fc606 100644 --- a/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx +++ b/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx @@ -119,11 +119,6 @@ public: const Size& rPreviewModelSize, const sal_uInt32 nPageCount); - /** Change the zoom factor. This does not change the general layout - (number of columns). - */ - void _SetZoom (Fraction nZoomFactor); - /** Return the number of columns. */ sal_Int32 GetColumnCount (void) const; diff --git a/sd/source/ui/slidesorter/view/SlsLayouter.cxx b/sd/source/ui/slidesorter/view/SlsLayouter.cxx index e2c9c9767767..274009f2c276 100644 --- a/sd/source/ui/slidesorter/view/SlsLayouter.cxx +++ b/sd/source/ui/slidesorter/view/SlsLayouter.cxx @@ -372,22 +372,6 @@ bool Layouter::Rearrange ( return mpImplementation->Rearrange(rWindowSize, rPageSize, nPageCount); } - - - -void Layouter::_SetZoom (Fraction nZoomFactor) -{ - OSL_ASSERT(mpWindow); - - MapMode aMapMode (mpWindow->GetMapMode()); - aMapMode.SetScaleX (nZoomFactor); - aMapMode.SetScaleY (nZoomFactor); - mpWindow->SetMapMode (aMapMode); -} - - - - sal_Int32 Layouter::GetColumnCount (void) const { return mpImplementation->mnColumnCount; diff --git a/sdext/source/presenter/PresenterTextView.cxx b/sdext/source/presenter/PresenterTextView.cxx index 5bfbfd7d77d0..63a0f91bcbae 100644 --- a/sdext/source/presenter/PresenterTextView.cxx +++ b/sdext/source/presenter/PresenterTextView.cxx @@ -549,38 +549,6 @@ PresenterTextParagraph::PresenterTextParagraph ( } } - - - -PresenterTextParagraph::PresenterTextParagraph ( - const sal_Int32 nParagraphIndex, - const Reference<i18n::XBreakIterator>& rxBreakIterator, - const Reference<i18n::XScriptTypeDetector>& rxScriptTypeDetector, - const ::rtl::OUString& rsText, - const SharedPresenterTextCaret& rpCaret) - : msParagraphText(rsText), - mnParagraphIndex(nParagraphIndex), - mpCaret(rpCaret), - mxBreakIterator(rxBreakIterator), - mxScriptTypeDetector(rxScriptTypeDetector), - maLines(), - mnVerticalOffset(0), - mnXOrigin(0), - mnYOrigin(0), - mnWidth(0), - mnAscent(0), - mnDescent(0), - mnLineHeight(-1), - meAdjust(style::ParagraphAdjust_LEFT), - mnWritingMode (text::WritingMode2::LR_TB), - mnCharacterOffset(0), - maCells() -{ -} - - - - void PresenterTextParagraph::Paint ( const Reference<rendering::XCanvas>& rxCanvas, const geometry::RealSize2D& rSize, diff --git a/sdext/source/presenter/PresenterTextView.hxx b/sdext/source/presenter/PresenterTextView.hxx index 062a24721466..32c54caa373e 100644 --- a/sdext/source/presenter/PresenterTextView.hxx +++ b/sdext/source/presenter/PresenterTextView.hxx @@ -108,12 +108,6 @@ public: const cssu::Reference<css::i18n::XScriptTypeDetector>& rxScriptTypeDetector, const cssu::Reference<css::text::XTextRange>& rxTextRange, const SharedPresenterTextCaret& rpCaret); - PresenterTextParagraph ( - const sal_Int32 nParagraphIndex, - const cssu::Reference<css::i18n::XBreakIterator>& rxBreakIterator, - const cssu::Reference<css::i18n::XScriptTypeDetector>& rxScriptTypeDetector, - const ::rtl::OUString& rsText, - const SharedPresenterTextCaret& rpCaret); void Paint ( const cssu::Reference<css::rendering::XCanvas>& rxCanvas, diff --git a/sw/source/ui/inc/view.hxx b/sw/source/ui/inc/view.hxx index 4e7d8f6db509..4445edf8edd8 100755 --- a/sw/source/ui/inc/view.hxx +++ b/sw/source/ui/inc/view.hxx @@ -302,8 +302,6 @@ class SW_DLLPUBLIC SwView: public SfxViewShell SW_DLLPRIVATE DECL_LINK( TimeoutHdl, Timer * ); SW_DLLPRIVATE DECL_LINK( UpdatePercentHdl, GraphicFilter* ); - SW_DLLPRIVATE DECL_LINK( HtmlOptionsHdl, void * ); - SW_DLLPRIVATE DECL_LINK( FieldPopupModeEndHdl, FloatingWindow * ); inline long GetXScroll() const; diff --git a/sw/source/ui/uiview/view0.cxx b/sw/source/ui/uiview/view0.cxx index e3ae94eb0e61..8ff37c89beee 100644 --- a/sw/source/ui/uiview/view0.cxx +++ b/sw/source/ui/uiview/view0.cxx @@ -595,11 +595,4 @@ void SwView::ExecViewOptions(SfxRequest &rReq) rReq.Done(); } -IMPL_LINK( SwView, HtmlOptionsHdl, void*, EMPTYARG ) -{ - // Invalidierung, falls blinkender Text erlaubt/verboten wurde - GetViewFrame()->GetBindings().Invalidate(SID_DRAW_TEXT_MARQUEE); - return 0; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unotools/inc/unotools/accelcfg.hxx b/unotools/inc/unotools/accelcfg.hxx index d18076b15c89..04a105ce9b06 100644 --- a/unotools/inc/unotools/accelcfg.hxx +++ b/unotools/inc/unotools/accelcfg.hxx @@ -67,9 +67,6 @@ public: // save the configuration to a stream, f.e. into a document bool Commit( SvStream& rStream ); - - // sets a single configuration item - void SetCommand( const SvtAcceleratorConfigItem& rItem ); }; #endif diff --git a/unotools/source/config/accelcfg.cxx b/unotools/source/config/accelcfg.cxx index f780df1f3442..61209f7ff22d 100644 --- a/unotools/source/config/accelcfg.cxx +++ b/unotools/source/config/accelcfg.cxx @@ -202,23 +202,9 @@ SvtAcceleratorConfiguration::~SvtAcceleratorConfiguration() } } -void SvtAcceleratorConfiguration::SetCommand( const SvtAcceleratorConfigItem& rItem ) -{ - std::list< SvtAcceleratorConfigItem>::iterator p; - for ( p = pImp->aList.begin(); p != pImp->aList.end(); ++p ) - if ( p->nCode == rItem.nCode && p->nModifier == rItem.nModifier ) - { - p->aCommand = rItem.aCommand; - return; - } - - pImp->aList.push_back( rItem ); - -} - String SvtAcceleratorConfiguration::GetStreamName() { - return String::CreateFromAscii("KeyBindings.xml"); + return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("KeyBindings.xml")); } SvStream* SvtAcceleratorConfiguration::GetDefaultStream( StreamMode nMode ) diff --git a/unotools/source/config/lingucfg.cxx b/unotools/source/config/lingucfg.cxx index eb4b38164935..27516fbe14d2 100644 --- a/unotools/source/config/lingucfg.cxx +++ b/unotools/source/config/lingucfg.cxx @@ -183,8 +183,7 @@ public: sal_Bool SetProperty( sal_Int32 nPropertyHandle, const com::sun::star::uno::Any &rValue ); - sal_Bool GetOptions( SvtLinguOptions &rOptions ) const; - sal_Bool SetOptions( const SvtLinguOptions &rOptions ); + const SvtLinguOptions& GetOptions() const; sal_Bool IsReadOnly( const rtl::OUString &rPropertyName ) const; sal_Bool IsReadOnly( sal_Int32 nPropertyHandle ) const; @@ -556,27 +555,12 @@ sal_Bool SvtLinguConfigItem::SetProperty( sal_Int32 nPropertyHandle, const uno:: return bSucc; } - -sal_Bool SvtLinguConfigItem::GetOptions( SvtLinguOptions &rOptions ) const +const SvtLinguOptions& SvtLinguConfigItem::GetOptions() const { osl::MutexGuard aGuard(theSvtLinguConfigItemMutex::get()); - - rOptions = aOpt; - return sal_True; + return aOpt; } - -sal_Bool SvtLinguConfigItem::SetOptions( const SvtLinguOptions &rOptions ) -{ - osl::MutexGuard aGuard(theSvtLinguConfigItemMutex::get()); - - aOpt = rOptions; - SetModified(); - NotifyListeners(0); - return sal_True; -} - - sal_Bool SvtLinguConfigItem::LoadOptions( const uno::Sequence< OUString > &rProperyNames ) { osl::MutexGuard aGuard(theSvtLinguConfigItemMutex::get()); @@ -906,7 +890,8 @@ sal_Bool SvtLinguConfig::SetProperty( sal_Int32 nPropertyHandle, const uno::Any sal_Bool SvtLinguConfig::GetOptions( SvtLinguOptions &rOptions ) const { - return GetConfigItem().GetOptions( rOptions ); + rOptions = GetConfigItem().GetOptions(); + return sal_True; } sal_Bool SvtLinguConfig::IsReadOnly( const rtl::OUString &rPropertyName ) const diff --git a/unusedcode.easy b/unusedcode.easy index 4af564ecaf10..5e6da87fbc10 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -373,7 +373,6 @@ ScSimpleRangeList::Range::contains(ScSimpleRangeList::Range const&) const ScStringCell::ScStringCell() ScSubTotalDescriptorBase::GetData(ScSubTotalParam&) const ScSubTotalDescriptorBase::PutData(ScSubTotalParam const&) -ScTabViewShell::LinkStubHtmlOptionsHdl(void*, void*) ScUserList::end() ScUserList::end() const ScValidationEntries_Impl::Insert(ScValidationData* const&, unsigned short&) @@ -864,8 +863,6 @@ SwVbaColumn::calculateAbsoluteColumnWidth(int, com::sun::star::uno::Sequence<com SwVbaColumn::calculateRelativeColumnWidth(double const*, double*, int) SwVbaStyle::getOOoStyleTypeFromMSWord(int) SwVbaTableHelper::setTableWidth(int) -SwView::LinkStubHtmlOptionsHdl(void*, void*) -SwView::LinkStubSpellError(void*, void*) SwWriteTableCols::Insert(SwWriteTableCol* const&, unsigned short&) SwWriteTableCols::Insert(SwWriteTableCol* const*, unsigned short) SwWriteTableCols::Insert(SwWriteTableCols const*, unsigned short, unsigned short) @@ -1628,7 +1625,6 @@ canvas::tools::mergeViewAndRenderState(com::sun::star::rendering::ViewState&, co canvas::tools::prependToViewState(com::sun::star::rendering::ViewState&, basegfx::B2DHomMatrix const&) canvas::tools::verifyInput(com::sun::star::geometry::RealSize2D const&, char const*, com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&, short) canvas::tools::verifyInput(com::sun::star::rendering::FloatingPointBitmapLayout const&, char const*, com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&, short) -chart::DateHelper::GetMonthsBetweenDates(Date, Date) chart::EquidistantTickIter::getCurrentIndex() const chart::EquidistantTickIter::getMaxIndex() const chart::EquidistantTickIter::gotoIndex(int) @@ -1783,8 +1779,6 @@ graphite2::Segment::append(graphite2::Segment const&) graphite2::Slot::update(int, int, graphite2::Position&) graphite2::TtfUtil::GetNameInfo(void const*, int, int, int, int, unsigned long&, unsigned long&) graphite2::TtfUtil::GlyfLookup(unsigned short, void const*, void const*, unsigned long, unsigned long, void const*) -jfw_plugin::VendorBase::createInstance() -jfw_plugin::VendorBase::getJavaExePaths(int*) jvmaccess::ClassPath::doLoadClass(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&, void*, rtl::OUString const&, rtl::OUString const&) libcdr::CDRDocument::generateSVG(WPXInputStream*, WPXString&) libcdr::CDRInternalStream::CDRInternalStream(unsigned char const*, unsigned long) @@ -1798,7 +1792,6 @@ linguistic::ToLower(unsigned short, short) linguistic::ToTitle(String const&, short) linguistic::ToUpper(String const&, short) linguistic::ToUpper(unsigned short, short) -migration::AutocorrectionMigration_create(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&) nullcanvas::CanvasFont::getFontMatrix() const nullcanvas::CanvasHelper::flush() const nullcanvas::CanvasHelper::getPalette() @@ -1996,7 +1989,6 @@ sax_fastparser::FastSerializerHelper::singleElement(char const*, com::sun::star: sax_fastparser::FastSerializerHelper::startElement(char const*, ...) sax_fastparser::FastSerializerHelper::write(float) sd::CopyDlg::LinkStubReset(void*, void*) -sd::FuText::LinkStubSpellError(void*, void*) sd::LeftDrawPaneShell::RegisterInterface(SfxModule*) sd::LeftImpressPaneShell::RegisterInterface(SfxModule*) sd::ToolPanelPaneShell::RegisterInterface(SfxModule*) @@ -2010,19 +2002,16 @@ sd::framework::ConfigurationClassifier::TraceResourceIdVector(char const*, std:: sd::framework::ConfigurationTracer::TraceConfiguration(com::sun::star::uno::Reference<com::sun::star::drawing::framework::XConfiguration> const&, char const*) sd::slidesorter::cache::GenericPageCache::ReleasePreviewBitmap(SdrPage const*) sd::slidesorter::controller::SelectionFunction::EventDescriptor::EventDescriptor(KeyEvent const&, sd::slidesorter::SlideSorter&) -sd::slidesorter::controller::SlotManager::LinkStubUserEventCallback(void*, void*) sd::slidesorter::model::VisualState::SetVisualStateBlend(double) sd::slidesorter::view::(anonymous namespace)::Blend(unsigned char, unsigned char, double) sd::slidesorter::view::(anonymous namespace)::CalculateColorChannel(double, double, double, double, double) sd::slidesorter::view::(anonymous namespace)::PageObjectRun::GetInnerBoundingBox(sd::slidesorter::view::Layouter const&, int) const sd::slidesorter::view::(anonymous namespace)::RectangleBackgroundTheme::RectangleBackgroundTheme(boost::shared_ptr<sd::slidesorter::view::Theme> const&, std::__debug::vector<boost::shared_ptr<sd::slidesorter::view::Button>, std::allocator<boost::shared_ptr<sd::slidesorter::view::Button> > > const&) sd::slidesorter::view::FontProvider::GetFont(OutputDevice const&) -sd::slidesorter::view::Layouter::_SetZoom(Fraction) sdext::presenter::(anonymous namespace)::MoveInFromBottomAnimator::MoveInFromBottomAnimator(com::sun::star::uno::Reference<com::sun::star::drawing::framework::XResourceId> const&, rtl::Reference<sdext::presenter::PresenterController> const&, bool, std::__debug::vector<boost::function<void ()>, std::allocator<boost::function<void ()> > > const&, std::__debug::vector<boost::function<void ()>, std::allocator<boost::function<void ()> > > const&) sdext::presenter::(anonymous namespace)::TransparentOverlayAnimator::TransparentOverlayAnimator(com::sun::star::uno::Reference<com::sun::star::drawing::framework::XResourceId> const&, rtl::Reference<sdext::presenter::PresenterController> const&, bool, std::__debug::vector<boost::function<void ()>, std::allocator<boost::function<void ()> > > const&, std::__debug::vector<boost::function<void ()>, std::allocator<boost::function<void ()> > > const&) sdext::presenter::(anonymous namespace)::UnfoldInCenterAnimator::UnfoldInCenterAnimator(com::sun::star::uno::Reference<com::sun::star::drawing::framework::XResourceId> const&, rtl::Reference<sdext::presenter::PresenterController> const&, bool, std::__debug::vector<boost::function<void ()>, std::allocator<boost::function<void ()> > > const&, std::__debug::vector<boost::function<void ()>, std::allocator<boost::function<void ()> > > const&) sdext::presenter::PresenterHorizontalScrollBar::PresenterHorizontalScrollBar(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&, com::sun::star::uno::Reference<com::sun::star::awt::XWindow> const&, boost::shared_ptr<sdext::presenter::PresenterPaintManager> const&, boost::function<void (double)> const&) -sdext::presenter::PresenterTextView::PresenterTextView(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&, com::sun::star::uno::Reference<com::sun::star::rendering::XCanvas> const&) sdr::animation::Scheduler::Reset(unsigned int) sdr::contact::ViewContactOfPageObj::GetReferencedPage() const sdr::contact::ViewContactOfSdrMediaObj::hasPreferredSize() const @@ -2068,7 +2057,6 @@ std::__cxx1998::vector<CntHTTPCookie*, std::allocator<CntHTTPCookie*> >::~vector std::__cxx1998::vector<OrderedEntry*, std::allocator<OrderedEntry*> >::~vector() std::__cxx1998::vector<ServiceInfo*, std::allocator<ServiceInfo*> >::~vector() std::__cxx1998::vector<SfxFilter*, std::allocator<SfxFilter*> >::~vector() -svgi::(anonymous namespace)::appendChar(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char) svt::table::TableControl::GoTo(int, int) svx::SvxShowCharSetItem::~SvxShowCharSetItem() svxform::DataNavigatorManager::GetChildWindowId() @@ -2122,3 +2110,4 @@ vcl::PDFWriterImpl::drawPolyPolygon(PolyPolygon const&, int, bool) vcl::unx::GtkPrintWrapper::print_operation_set_has_selection(_GtkPrintOperation*, int) const vcl::unx::GtkPrintWrapper::print_operation_set_support_selection(_GtkPrintOperation*, int) const void ScCompressedArrayIterator<int, unsigned short>::Follow<unsigned char>(ScCompressedArrayIterator<int, unsigned char> const&) +writerfilter::TagLogger::attribute(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) diff --git a/vcl/inc/impbmp.hxx b/vcl/inc/impbmp.hxx index c77e906bd8ae..f474a7eea5a1 100644 --- a/vcl/inc/impbmp.hxx +++ b/vcl/inc/impbmp.hxx @@ -74,8 +74,6 @@ public: sal_Bool ImplCreate( const ImpBitmap& rImpBitmap, SalGraphics* pGraphics ); sal_Bool ImplCreate( const ImpBitmap& rImpBitmap, sal_uInt16 nNewBitCount ); - void ImplDestroy(); - Size ImplGetSize() const; Size ImplGetSourceSize() const; void ImplSetSourceSize( const Size&); diff --git a/vcl/source/gdi/impbmp.cxx b/vcl/source/gdi/impbmp.cxx index 18ef5b6909f1..2f70e77c92a7 100644 --- a/vcl/source/gdi/impbmp.cxx +++ b/vcl/source/gdi/impbmp.cxx @@ -94,13 +94,6 @@ sal_Bool ImpBitmap::ImplCreate( const ImpBitmap& rImpBitmap, sal_uInt16 nNewBitC // ----------------------------------------------------------------------- -void ImpBitmap::ImplDestroy() -{ - mpSalBitmap->Destroy(); -} - -// ----------------------------------------------------------------------- - Size ImpBitmap::ImplGetSize() const { return mpSalBitmap->GetSize(); diff --git a/xmloff/source/chart/SchXMLSeriesHelper.cxx b/xmloff/source/chart/SchXMLSeriesHelper.cxx index 0ec80246c952..4ad0ef72576b 100644 --- a/xmloff/source/chart/SchXMLSeriesHelper.cxx +++ b/xmloff/source/chart/SchXMLSeriesHelper.cxx @@ -188,41 +188,6 @@ bool SchXMLSeriesHelper::isCandleStickSeries( return bRet; } -// static -Reference< chart2::XDataSeries > SchXMLSeriesHelper::getFirstCandleStickSeries( - const Reference< chart2::XDiagram > & xDiagram ) -{ - Reference< chart2::XDataSeries > xResult; - - try - { - Reference< chart2::XCoordinateSystemContainer > xCooSysCnt( xDiagram, uno::UNO_QUERY_THROW ); - Sequence< Reference< chart2::XCoordinateSystem > > aCooSysSeq( xCooSysCnt->getCoordinateSystems()); - for( sal_Int32 nCooSysIdx=0; !xResult.is() && nCooSysIdx<aCooSysSeq.getLength(); ++nCooSysIdx ) - { - Reference< chart2::XChartTypeContainer > xCTCnt( aCooSysSeq[nCooSysIdx], uno::UNO_QUERY_THROW ); - Sequence< Reference< chart2::XChartType > > aCTSeq( xCTCnt->getChartTypes()); - for( sal_Int32 nCTIdx=0; !xResult.is() && nCTIdx<aCTSeq.getLength(); ++nCTIdx ) - { - if( aCTSeq[nCTIdx]->getChartType().equals( - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.chart2.CandleStickChartType" )))) - { - Reference< chart2::XDataSeriesContainer > xSeriesCnt( aCTSeq[nCTIdx], uno::UNO_QUERY_THROW ); - Sequence< Reference< chart2::XDataSeries > > aSeriesSeq( xSeriesCnt->getDataSeries() ); - if( aSeriesSeq.getLength()) - xResult.set( aSeriesSeq[0] ); - break; - } - } - } - } - catch( const uno::Exception & ) - { - OSL_FAIL( "Exception caught" ); - } - return xResult; -} - //static uno::Reference< beans::XPropertySet > SchXMLSeriesHelper::createOldAPISeriesPropertySet( const uno::Reference< chart2::XDataSeries >& xSeries diff --git a/xmloff/source/chart/SchXMLSeriesHelper.hxx b/xmloff/source/chart/SchXMLSeriesHelper.hxx index b5fc1ad91821..90fa620cb4ef 100644 --- a/xmloff/source/chart/SchXMLSeriesHelper.hxx +++ b/xmloff/source/chart/SchXMLSeriesHelper.hxx @@ -57,11 +57,6 @@ public: ::com::sun::star::frame::XModel >& xChartModel ); static ::com::sun::star::uno::Reference< - ::com::sun::star::chart2::XDataSeries > getFirstCandleStickSeries( - const ::com::sun::star::uno::Reference< - ::com::sun::star::chart2::XDiagram > & xDiagram ); - - static ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > createOldAPISeriesPropertySet( const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDataSeries >& xSeries |