Kaydet (Commit) b3a9e9c7 authored tarafından Caolán McNamara's avatar Caolán McNamara

callcatcher: remove some unused methods

üst 5dbd8286
...@@ -46,7 +46,6 @@ class HeaderBar; ...@@ -46,7 +46,6 @@ class HeaderBar;
#include <readonlyimage.hxx> #include <readonlyimage.hxx>
class SfxFilter; class SfxFilter;
class SvtInetOptions;
#ifndef SV_NODIALOG #ifndef SV_NODIALOG
#define PROXY_CONTROLS 23 #define PROXY_CONTROLS 23
......
...@@ -563,8 +563,6 @@ public: ...@@ -563,8 +563,6 @@ public:
sal_Bool IsPrintPreview() const { return bPrintPreview; } sal_Bool IsPrintPreview() const { return bPrintPreview; }
void SetPrintPreview(bool bOn = true) { bPrintPreview=bOn; } void SetPrintPreview(bool bOn = true) { bPrintPreview=bOn; }
const svtools::ColorConfig& getColorConfig() const;
virtual void onChangeColorConfig(); virtual void onChangeColorConfig();
// #103834# Set background color for svx at SdrPageViews // #103834# Set background color for svx at SdrPageViews
......
...@@ -1469,11 +1469,6 @@ void SdrPaintView::VisAreaChanged(const SdrPageWindow& /*rWindow*/) ...@@ -1469,11 +1469,6 @@ void SdrPaintView::VisAreaChanged(const SdrPageWindow& /*rWindow*/)
Broadcast(SvxViewHint(SvxViewHint::SVX_HINT_VIEWCHANGED)); Broadcast(SvxViewHint(SvxViewHint::SVX_HINT_VIEWCHANGED));
} }
const svtools::ColorConfig& SdrPaintView::getColorConfig() const
{
return maColorConfig;
}
void SdrPaintView::onChangeColorConfig() void SdrPaintView::onChangeColorConfig()
{ {
SetGridColor( Color( maColorConfig.GetColorValue( svtools::DRAWGRID ).nColor ) ); SetGridColor( Color( maColorConfig.GetColorValue( svtools::DRAWGRID ).nColor ) );
......
...@@ -43,10 +43,6 @@ namespace rtl { class OUString; } ...@@ -43,10 +43,6 @@ namespace rtl { class OUString; }
//============================================================================ //============================================================================
/** The names of all the properties (options) accessible through /** The names of all the properties (options) accessible through
SvtInetOptions. 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_NO_PROXY "Inet/Proxy/NoProxy"
#define SVT_INET_OPTION_PROXY_TYPE "Inet/Proxy/Type" #define SVT_INET_OPTION_PROXY_TYPE "Inet/Proxy/Type"
...@@ -95,40 +91,6 @@ public: ...@@ -95,40 +91,6 @@ public:
void flush(); 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: private:
class Impl; class Impl;
......
...@@ -530,24 +530,4 @@ void SvtInetOptions::flush() ...@@ -530,24 +530,4 @@ void SvtInetOptions::flush()
m_pImpl->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: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -556,7 +556,6 @@ SdrPaintView::PostPaint() ...@@ -556,7 +556,6 @@ SdrPaintView::PostPaint()
SdrPaintView::SetAllLayersLocked(unsigned char) SdrPaintView::SetAllLayersLocked(unsigned char)
SdrPaintView::SetAllLayersPrintable(unsigned char) SdrPaintView::SetAllLayersPrintable(unsigned char)
SdrPaintView::SetAllLayersVisible(unsigned char) SdrPaintView::SetAllLayersVisible(unsigned char)
SdrPaintView::getColorConfig() const
SdrPaintWindow::HideOverlay(Region const&) SdrPaintWindow::HideOverlay(Region const&)
SdrPolyEditView::ShutMarkedObjects() SdrPolyEditView::ShutMarkedObjects()
SdrSnapView::SnapRect(Rectangle const&, SdrPageView const*, long&, long&) const SdrSnapView::SnapRect(Rectangle const&, SdrPageView const*, long&, long&) const
...@@ -813,8 +812,6 @@ SvtIconChoiceCtrl::InsertEntry(unsigned long, Point const*, unsigned short) ...@@ -813,8 +812,6 @@ SvtIconChoiceCtrl::InsertEntry(unsigned long, Point const*, unsigned short)
SvtIconChoiceCtrl::SetUpdateMode(unsigned char) SvtIconChoiceCtrl::SetUpdateMode(unsigned char)
SvtIconChoiceCtrl::SvtIconChoiceCtrl(Window*, ResId const&) SvtIconChoiceCtrl::SvtIconChoiceCtrl(Window*, ResId const&)
SvtIconWindow_Impl::GetSelectedIconText() 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::CrashMailEnabled() const
SvtInternalOptions::IsRemoveMenuEntryBackToWebtop() const SvtInternalOptions::IsRemoveMenuEntryBackToWebtop() const
SvtInternalOptions::IsRemoveMenuEntryClose() const SvtInternalOptions::IsRemoveMenuEntryClose() const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment