diff options
-rw-r--r-- | cui/source/inc/transfrm.hxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/transfrm.cxx | 16 | ||||
-rw-r--r-- | filter/inc/filter/msfilter/mstoolbar.hxx | 1 | ||||
-rw-r--r-- | filter/source/msfilter/mstoolbar.cxx | 12 | ||||
-rw-r--r-- | svtools/inc/svtools/filedlg.hxx | 1 | ||||
-rw-r--r-- | svtools/source/dialogs/filedlg.cxx | 5 | ||||
-rw-r--r-- | svtools/source/dialogs/filedlg2.cxx | 8 | ||||
-rw-r--r-- | svtools/source/dialogs/filedlg2.hxx | 1 | ||||
-rw-r--r-- | svx/source/fmcomp/gridcell.cxx | 10 | ||||
-rw-r--r-- | svx/source/inc/gridcell.hxx | 2 | ||||
-rw-r--r-- | unusedcode.easy | 11 | ||||
-rw-r--r-- | xmloff/inc/xmloff/xmlexp.hxx | 3 | ||||
-rw-r--r-- | xmloff/source/core/xmlexp.cxx | 6 | ||||
-rw-r--r-- | xmlsecurity/source/component/certificatecontainer.cxx | 14 | ||||
-rw-r--r-- | xmlsecurity/source/component/certificatecontainer.hxx | 3 |
15 files changed, 4 insertions, 91 deletions
diff --git a/cui/source/inc/transfrm.hxx b/cui/source/inc/transfrm.hxx index 4563e013703a..ffb98ba25062 100644 --- a/cui/source/inc/transfrm.hxx +++ b/cui/source/inc/transfrm.hxx @@ -147,8 +147,6 @@ private: #if _SOLAR__PRIVATE DECL_LINK( ChangePosProtectHdl, void * ); DECL_LINK( ChangeSizeProtectHdl, void * ); - DECL_LINK( ChangePosXHdl, void * ); - DECL_LINK( ChangePosYHdl, void * ); void SetMinMaxPosition(); void GetTopLeftPosition(double& rfX, double& rfY, const basegfx::B2DRange& rRange); diff --git a/cui/source/tabpages/transfrm.cxx b/cui/source/tabpages/transfrm.cxx index 3b75b322b828..9755f51a8f22 100644 --- a/cui/source/tabpages/transfrm.cxx +++ b/cui/source/tabpages/transfrm.cxx @@ -1226,22 +1226,6 @@ IMPL_LINK( SvxPositionSizeTabPage, ChangeSizeProtectHdl, void *, EMPTYARG ) //------------------------------------------------------------------------ -IMPL_LINK_INLINE_START( SvxPositionSizeTabPage, ChangePosXHdl, void *, EMPTYARG ) -{ - return( 0L ); -} -IMPL_LINK_INLINE_END( SvxPositionSizeTabPage, ChangePosXHdl, void *, EMPTYARG ) - -//------------------------------------------------------------------------ - -IMPL_LINK_INLINE_START( SvxPositionSizeTabPage, ChangePosYHdl, void *, EMPTYARG ) -{ - return( 0L ); -} -IMPL_LINK_INLINE_END( SvxPositionSizeTabPage, ChangePosYHdl, void *, EMPTYARG ) - -//------------------------------------------------------------------------ - void SvxPositionSizeTabPage::SetMinMaxPosition() { // position diff --git a/filter/inc/filter/msfilter/mstoolbar.hxx b/filter/inc/filter/msfilter/mstoolbar.hxx index 35b05da39bd4..4137605c2d54 100644 --- a/filter/inc/filter/msfilter/mstoolbar.hxx +++ b/filter/inc/filter/msfilter/mstoolbar.hxx @@ -88,7 +88,6 @@ public: rtl::OUString MSOCommandToOOCommand( sal_Int16 msoCmd ); rtl::OUString MSOTCIDToOOCommand( sal_Int16 msoTCID ); SfxObjectShell& GetDocShell() { return mrDocSh; } - void showToolbar( const rtl::OUString& rName ); bool createMenu( const rtl::OUString& rName, const css::uno::Reference< css::container::XIndexAccess >& xMenuDesc, bool bPersist ); }; diff --git a/filter/source/msfilter/mstoolbar.cxx b/filter/source/msfilter/mstoolbar.cxx index d8839a70c743..6c7d554f706c 100644 --- a/filter/source/msfilter/mstoolbar.cxx +++ b/filter/source/msfilter/mstoolbar.cxx @@ -52,18 +52,6 @@ using namespace com::sun::star; int TBBase::nIndent = 0; -void CustomToolBarImportHelper::showToolbar( const rtl::OUString& rName ) -{ - try - { - uno::Reference< frame::XController > xCntrller( mrDocSh.GetModel()->getCurrentController(), uno::UNO_QUERY_THROW ); - uno::Reference< beans::XPropertySet > xProps( xCntrller->getFrame(), uno::UNO_QUERY_THROW ); - uno::Reference< frame::XLayoutManager > xLayoutMgr( xProps->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("LayoutManager") ) ), uno::UNO_QUERY_THROW ); - xLayoutMgr->showElement( rName ); - } - catch( const uno::Exception& ) {} -} - void CustomToolBarImportHelper::ScaleImage( uno::Reference< graphic::XGraphic >& xGraphic, long nNewSize ) { Graphic aGraphic( xGraphic ); diff --git a/svtools/inc/svtools/filedlg.hxx b/svtools/inc/svtools/filedlg.hxx index b771631b45e7..e774fa559f93 100644 --- a/svtools/inc/svtools/filedlg.hxx +++ b/svtools/inc/svtools/filedlg.hxx @@ -56,7 +56,6 @@ public: virtual long OK(); void SetPath( const UniString& rNewPath ); - void SetPath( const Edit& rEdit ); UniString GetPath() const; void SetOKHdl( const Link& rLink ) { aOKHdlLink = rLink; } diff --git a/svtools/source/dialogs/filedlg.cxx b/svtools/source/dialogs/filedlg.cxx index c2224ae97d90..a985eda0ab01 100644 --- a/svtools/source/dialogs/filedlg.cxx +++ b/svtools/source/dialogs/filedlg.cxx @@ -59,11 +59,6 @@ void PathDialog::SetPath( const UniString& rPath ) pImpFileDlg->GetDialog()->SetPath( rPath ); } -void PathDialog::SetPath( const Edit& rEdit ) -{ - pImpFileDlg->GetDialog()->SetPath( rEdit ); -} - long PathDialog::OK() { if( aOKHdlLink.IsSet() ) diff --git a/svtools/source/dialogs/filedlg2.cxx b/svtools/source/dialogs/filedlg2.cxx index 32f6ef6f8240..e4661e0b47ea 100644 --- a/svtools/source/dialogs/filedlg2.cxx +++ b/svtools/source/dialogs/filedlg2.cxx @@ -677,14 +677,6 @@ void ImpPathDialog::SetPath( UniString const & rPath ) pSvPathDialog->LeaveWait(); } -void ImpPathDialog::SetPath( Edit const & rEdit ) -{ - UniString aPresetText = rEdit.GetText(); - if( aPresetText.Len() ) - SetPath( aPresetText ); -} - - UniString ImpPathDialog::GetPath() const { DirEntry aFile( pEdit->GetText() ); diff --git a/svtools/source/dialogs/filedlg2.hxx b/svtools/source/dialogs/filedlg2.hxx index b30af4000fcf..604329d80b6b 100644 --- a/svtools/source/dialogs/filedlg2.hxx +++ b/svtools/source/dialogs/filedlg2.hxx @@ -112,7 +112,6 @@ public: virtual ~ImpPathDialog(); virtual void SetPath( const String& rPath ); - virtual void SetPath( const Edit& rEdit ); virtual String GetPath() const; virtual void PreExecute(); diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx index d4272f55224e..fde623b8da47 100644 --- a/svx/source/fmcomp/gridcell.cxx +++ b/svx/source/fmcomp/gridcell.cxx @@ -4703,16 +4703,6 @@ const Sequence<sal_Int8>& FmXFilterCell::getUnoTunnelId() } //------------------------------------------------------------------------------ -FmXFilterCell* FmXFilterCell::getImplementation(const Reference< ::com::sun::star::awt::XControl >& _rxObject) -{ - Reference< ::com::sun::star::lang::XUnoTunnel > xTunnel( - _rxObject, UNO_QUERY); - if (xTunnel.is()) - return reinterpret_cast<FmXFilterCell*>(xTunnel->getSomething(getUnoTunnelId())); - return NULL; -} - -//------------------------------------------------------------------------------ void FmXFilterCell::PaintCell( OutputDevice& rDev, const Rectangle& rRect ) { static_cast< DbFilterField* >( m_pCellControl )->PaintCell( rDev, rRect ); diff --git a/svx/source/inc/gridcell.hxx b/svx/source/inc/gridcell.hxx index 4de354192788..8852c4be60d0 100644 --- a/svx/source/inc/gridcell.hxx +++ b/svx/source/inc/gridcell.hxx @@ -1127,8 +1127,6 @@ public: // helpers for XUnoTunnel static const ::com::sun::star::uno::Sequence<sal_Int8>& getUnoTunnelId(); - static FmXFilterCell* getImplementation( - const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl >& _rxObject); // painting the filter text virtual void PaintCell(OutputDevice& rDev, const Rectangle& rRect); diff --git a/unusedcode.easy b/unusedcode.easy index 928434538eb2..4b5fd7ea3f3b 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -5,13 +5,11 @@ ByteString::ByteString(char const*, unsigned short) ByteString::SetToken(unsigned short, char, ByteString const&, unsigned short) CalendarWrapper::setFirstDayOfWeek(short) CalendarWrapper::setMinimumNumberOfDaysForFirstWeek(short) -CertificateContainer::impl_createFactory(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&) CertificateExtension_XmlSecImpl::setCertExtn(com::sun::star::uno::Sequence<signed char>, com::sun::star::uno::Sequence<signed char>, unsigned char) CharPosArray::Insert(CharPosArray const*, unsigned short, unsigned short, unsigned short) CharPosArray::Replace(int const&, unsigned short) CharPosArray::Replace(int const*, unsigned short, unsigned short) CharPosArray::_ForEach(unsigned short, unsigned short, unsigned char (*)(int const&, void*), void*) -CustomToolBarImportHelper::showToolbar(rtl::OUString const&) DdeGetPutItem::DdeGetPutItem(DdeItem const&) DdeService::AddFormat(unsigned long) DdeService::AddTopic(DdeTopic const&) @@ -38,7 +36,6 @@ FmEntryDataArray::Remove(FmEntryData* const&, unsigned short) FmFieldWinMgr::GetChildWindowId() FmFormObj::getType() const FmPropBrwMgr::GetChildWindowId() -FmXFilterCell::getImplementation(com::sun::star::uno::Reference<com::sun::star::awt::XControl> const&) FontCharMap::GetLastChar() const FontSelectPattern::FontSelectPattern(ImplFontData const&, Size const&, float, int, bool) FontSizeBox::SetUserValue(long, FieldUnit) @@ -113,7 +110,6 @@ OutputDevice::LogicToPixel(PolyPolygon const&, MapMode const&) const OutputDevice::PixelToLogic(PolyPolygon const&, MapMode const&) const ParagraphObj::ParagraphObj(ParagraphObj&) ParagraphStyleManager::get(WPXString const&) const -PathDialog::SetPath(Edit const&) PluginConnector::getInstance(_NPP*) PluginConnector::getInstanceById(unsigned int) PopupMenu::SetSelectedEntry(unsigned short) @@ -383,7 +379,6 @@ SvXMLEmbeddedElementArr::Insert(SvXMLEmbeddedElement* const*, unsigned short) SvXMLEmbeddedElementArr::Insert(SvXMLEmbeddedElementArr const*, unsigned short, unsigned short) SvXMLEmbeddedElementArr::Remove(SvXMLEmbeddedElement* const&, unsigned short) SvXMLEmbeddedElementArr::Remove(unsigned short, unsigned short) -SvXMLExport::GetErrors() SvXMLExport::SvXMLExport(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::xml::sax::XDocumentHandler> const&, com::sun::star::uno::Reference<com::sun::star::frame::XModel> const&, com::sun::star::uno::Reference<com::sun::star::document::XGraphicObjectResolver> const&, short) SvXMLExportPropertyMapper::exportXML(SvXMLAttributeList&, XMLPropertyState const&, SvXMLUnitConverter const&, SvXMLNamespaceMap const&, unsigned short) const SvXMLImport::SetError(int, rtl::OUString const&, rtl::OUString const&, rtl::OUString const&) @@ -482,8 +477,6 @@ SvxOpenGraphicDialog::SetControlHelpIds(short const*, char const**) SvxPluginFileDlg::IsAvailable(unsigned short) SvxPopupWindowListBox::StartSelection() SvxPosSizeStatusBarControl::GetDefItemWidth(StatusBar const&) -SvxPositionSizeTabPage::LinkStubChangePosXHdl(void*, void*) -SvxPositionSizeTabPage::LinkStubChangePosYHdl(void*, void*) SvxRectCtlAccessibleContext::setDescription(rtl::OUString const&) SvxRectCtlAccessibleContext::setName(rtl::OUString const&) SvxRelativeField::SvxRelativeField(Window*, long) @@ -841,10 +834,14 @@ basegfx::B1DRange::B1DRange(basegfx::B1IRange const&) basegfx::B2DPolygon::insert(unsigned int, basegfx::B2DPolygon const&, unsigned int, unsigned int) basegfx::B2DVector::isNormalized() const basegfx::B2I64Tuple::getEmptyTuple() +basegfx::B2ITuple::getEmptyTuple() +basegfx::B3DPolyPolygon::isClosed() const +basegfx::B3DPolygon::makeUnique() basegfx::B3DRange::B3DRange(basegfx::B3IRange const&) basegfx::B3DTuple::B3DTuple(basegfx::B3ITuple const&) basegfx::B3I64Tuple::getEmptyTuple() basegfx::B3ITuple::getEmptyTuple() +basegfx::areParallel(basegfx::B2IVector const&, basegfx::B2IVector const&) 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&) diff --git a/xmloff/inc/xmloff/xmlexp.hxx b/xmloff/inc/xmloff/xmlexp.hxx index 2ac801b06b60..1fcdf5587e14 100644 --- a/xmloff/inc/xmloff/xmlexp.hxx +++ b/xmloff/inc/xmloff/xmlexp.hxx @@ -542,9 +542,6 @@ public: sal_Int32 nId, const ::com::sun::star::uno::Sequence< ::rtl::OUString> & rMsgParams); - /** return list of errors */ - XMLErrors* GetErrors(); - /** return current error flags (logical 'or' of all error flags so far) */ sal_uInt16 GetErrorFlags() { return mnErrorFlags; } diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx index ce0430241d05..6db7911171f7 100644 --- a/xmloff/source/core/xmlexp.cxx +++ b/xmloff/source/core/xmlexp.cxx @@ -2427,12 +2427,6 @@ void SvXMLExport::SetError( SetError( nId, rMsgParams, sEmpty, NULL ); } - -XMLErrors* SvXMLExport::GetErrors() -{ - return mpXMLErrors; -} - void SvXMLExport::DisposingModel() { mxModel.clear(); diff --git a/xmlsecurity/source/component/certificatecontainer.cxx b/xmlsecurity/source/component/certificatecontainer.cxx index 9167be9a5653..35e2acafbcad 100644 --- a/xmlsecurity/source/component/certificatecontainer.cxx +++ b/xmlsecurity/source/component/certificatecontainer.cxx @@ -155,18 +155,4 @@ Reference< XInterface > SAL_CALL CertificateContainer::impl_createInstance( cons return Reference< XInterface >( *new CertificateContainer( xServiceManager ) ); } -//------------------------------------------------------------------------- - -Reference< XSingleServiceFactory > SAL_CALL -CertificateContainer::impl_createFactory( const Reference< XMultiServiceFactory >& ServiceManager ) - throw(RuntimeException) -{ - Reference< XSingleServiceFactory > xReturn( ::cppu::createOneInstanceFactory( ServiceManager, - CertificateContainer::impl_getStaticImplementationName(), - CertificateContainer::impl_createInstance, - CertificateContainer::impl_getStaticSupportedServiceNames())); - - return xReturn; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmlsecurity/source/component/certificatecontainer.hxx b/xmlsecurity/source/component/certificatecontainer.hxx index abea11bf61f0..e3404cdf5aca 100644 --- a/xmlsecurity/source/component/certificatecontainer.hxx +++ b/xmlsecurity/source/component/certificatecontainer.hxx @@ -73,9 +73,6 @@ class CertificateContainer : public ::cppu::WeakImplHelper2< ::com::sun::star::l static ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL impl_getStaticSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException); - static ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > SAL_CALL - impl_createFactory( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& ServiceManager ) throw(::com::sun::star::uno::RuntimeException); - static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL impl_createInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceManager ) throw( ::com::sun::star::uno::RuntimeException ); |