diff options
-rw-r--r-- | cui/source/options/optinet2.hxx | 1 | ||||
-rw-r--r-- | svx/inc/svx/svdpntv.hxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdpntv.cxx | 5 | ||||
-rw-r--r-- | unotools/inc/unotools/inetoptions.hxx | 38 | ||||
-rw-r--r-- | unotools/source/config/inetoptions.cxx | 20 | ||||
-rw-r--r-- | unusedcode.easy | 3 |
6 files changed, 0 insertions, 69 deletions
diff --git a/cui/source/options/optinet2.hxx b/cui/source/options/optinet2.hxx index 15dc1f892885..1978a4dcb5e9 100644 --- a/cui/source/options/optinet2.hxx +++ b/cui/source/options/optinet2.hxx @@ -46,7 +46,6 @@ class HeaderBar; #include <readonlyimage.hxx> class SfxFilter; -class SvtInetOptions; #ifndef SV_NODIALOG #define PROXY_CONTROLS 23 diff --git a/svx/inc/svx/svdpntv.hxx b/svx/inc/svx/svdpntv.hxx index e345093bc5f4..3240a4f0a8a7 100644 --- a/svx/inc/svx/svdpntv.hxx +++ b/svx/inc/svx/svdpntv.hxx @@ -563,8 +563,6 @@ public: sal_Bool IsPrintPreview() const { return bPrintPreview; } void SetPrintPreview(bool bOn = true) { bPrintPreview=bOn; } - const svtools::ColorConfig& getColorConfig() const; - virtual void onChangeColorConfig(); // #103834# Set background color for svx at SdrPageViews diff --git a/svx/source/svdraw/svdpntv.cxx b/svx/source/svdraw/svdpntv.cxx index b452f4ea43c9..92ffdccef40e 100644 --- a/svx/source/svdraw/svdpntv.cxx +++ b/svx/source/svdraw/svdpntv.cxx @@ -1469,11 +1469,6 @@ void SdrPaintView::VisAreaChanged(const SdrPageWindow& /*rWindow*/) Broadcast(SvxViewHint(SvxViewHint::SVX_HINT_VIEWCHANGED)); } -const svtools::ColorConfig& SdrPaintView::getColorConfig() const -{ - return maColorConfig; -} - void SdrPaintView::onChangeColorConfig() { SetGridColor( Color( maColorConfig.GetColorValue( svtools::DRAWGRID ).nColor ) ); diff --git a/unotools/inc/unotools/inetoptions.hxx b/unotools/inc/unotools/inetoptions.hxx index 420705101d12..fb749d3d4421 100644 --- a/unotools/inc/unotools/inetoptions.hxx +++ b/unotools/inc/unotools/inetoptions.hxx @@ -43,10 +43,6 @@ namespace rtl { class OUString; } //============================================================================ /** The names of all the properties (options) accessible through SvtInetOptions. - - @descr These names are used in the methods - SvtInetOptions::addPropertiesChangeListener() and - SvtInetOptions::removePropertiesChangeListener(). */ #define SVT_INET_OPTION_PROXY_NO_PROXY "Inet/Proxy/NoProxy" #define SVT_INET_OPTION_PROXY_TYPE "Inet/Proxy/Type" @@ -95,40 +91,6 @@ public: void flush(); - /** Add a listener on changes of certain properties (options). - - @param rPropertyNames The names of the properties (options). If an - empty sequence is used, nothing is done. - - @param rListener A listener. If the listener is already registered - on other properties, it continues to also get notifications about - changes of those properties. The - com::sun::star::beans::PropertyChangeEvents supplied to the listener - will have void OldValue and NewValue slots. - */ - void - addPropertiesChangeListener( - com::sun::star::uno::Sequence< rtl::OUString > const & rPropertyNames, - com::sun::star::uno::Reference< - com::sun::star::beans::XPropertiesChangeListener > const & - rListener); - - /** Remove a listener on changes of certain properties (options). - - @param rPropertyNames The names of the properties (options). If an - empty sequence is used, nothing is done. - - @param rListener A listener. If the listener is still registered on - other properties, it continues to get notifications about changes of - those properties. - */ - void - removePropertiesChangeListener( - com::sun::star::uno::Sequence< rtl::OUString > const & rPropertyNames, - com::sun::star::uno::Reference< - com::sun::star::beans::XPropertiesChangeListener > const & - rListener); - private: class Impl; diff --git a/unotools/source/config/inetoptions.cxx b/unotools/source/config/inetoptions.cxx index d851102d2d23..5d74102e9730 100644 --- a/unotools/source/config/inetoptions.cxx +++ b/unotools/source/config/inetoptions.cxx @@ -530,24 +530,4 @@ void SvtInetOptions::flush() m_pImpl->flush(); } -//============================================================================ -void -SvtInetOptions::addPropertiesChangeListener( - star::uno::Sequence< rtl::OUString > const & rPropertyNames, - star::uno::Reference< star::beans::XPropertiesChangeListener > const & - rListener) -{ - m_pImpl->addPropertiesChangeListener(rPropertyNames, rListener); -} - -//============================================================================ -void -SvtInetOptions::removePropertiesChangeListener( - star::uno::Sequence< rtl::OUString > const & rPropertyNames, - star::uno::Reference< star::beans::XPropertiesChangeListener > const & - rListener) -{ - m_pImpl->removePropertiesChangeListener(rPropertyNames, rListener); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unusedcode.easy b/unusedcode.easy index afee20ebd194..7280eb2c39bd 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -556,7 +556,6 @@ SdrPaintView::PostPaint() SdrPaintView::SetAllLayersLocked(unsigned char) SdrPaintView::SetAllLayersPrintable(unsigned char) SdrPaintView::SetAllLayersVisible(unsigned char) -SdrPaintView::getColorConfig() const SdrPaintWindow::HideOverlay(Region const&) SdrPolyEditView::ShutMarkedObjects() SdrSnapView::SnapRect(Rectangle const&, SdrPageView const*, long&, long&) const @@ -813,8 +812,6 @@ SvtIconChoiceCtrl::InsertEntry(unsigned long, Point const*, unsigned short) SvtIconChoiceCtrl::SetUpdateMode(unsigned char) SvtIconChoiceCtrl::SvtIconChoiceCtrl(Window*, ResId const&) SvtIconWindow_Impl::GetSelectedIconText() const -SvtInetOptions::addPropertiesChangeListener(com::sun::star::uno::Sequence<rtl::OUString> const&, com::sun::star::uno::Reference<com::sun::star::beans::XPropertiesChangeListener> const&) -SvtInetOptions::removePropertiesChangeListener(com::sun::star::uno::Sequence<rtl::OUString> const&, com::sun::star::uno::Reference<com::sun::star::beans::XPropertiesChangeListener> const&) SvtInternalOptions::CrashMailEnabled() const SvtInternalOptions::IsRemoveMenuEntryBackToWebtop() const SvtInternalOptions::IsRemoveMenuEntryClose() const |