summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-09 13:07:51 +0200
committerNoel Grandin <noel@peralex.com>2015-01-12 12:57:03 +0200
commit4b8f1dc1c8635c412b4669101e8871fa0cf26ff9 (patch)
tree6f0ee2fa1062cc4264185a5ee17dfcd4bcb88e14 /vcl/source
parent4f1eef278c41997315860158d481d4fc37bd328b (diff)
FocusChanged and DataChanged are never overriden
and their default implementations are empty, so just delete them Change-Id: Ibae2f92c3326ad46c4b6ef462b5b7b62ad63f0d8
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/app/svapp.cxx9
-rw-r--r--vcl/source/gdi/print.cxx1
-rw-r--r--vcl/source/outdev/font.cxx2
-rw-r--r--vcl/source/window/mouse.cxx1
-rw-r--r--vcl/source/window/window.cxx2
-rw-r--r--vcl/source/window/winproc.cxx2
6 files changed, 0 insertions, 17 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index e67b0c6356e6..ed8cd9f13942 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -222,14 +222,6 @@ bool Application::QueryExit()
return true;
}
-void Application::FocusChanged()
-{
-}
-
-void Application::DataChanged( const DataChangedEvent& )
-{
-}
-
void Application::Init()
{
}
@@ -523,7 +515,6 @@ void Application::SetSettings( const AllSettings& rSettings )
if ( nChangeFlags )
{
DataChangedEvent aDCEvt( DATACHANGED_SETTINGS, &aOldSettings, nChangeFlags );
- GetpApp()->DataChanged( aDCEvt );
// notify data change handler
ImplCallEventListeners( VCLEVENT_APPLICATION_DATACHANGED, NULL, &aDCEvt);
diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx
index bdbe2e2263b6..4cdb39647dec 100644
--- a/vcl/source/gdi/print.cxx
+++ b/vcl/source/gdi/print.cxx
@@ -1799,7 +1799,6 @@ void Printer::updatePrinters()
if( pApp )
{
DataChangedEvent aDCEvt( DATACHANGED_PRINTER );
- pApp->DataChanged( aDCEvt );
Application::NotifyAllWindows( aDCEvt );
}
}
diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx
index e20f742b0865..4b9f9c4bd38c 100644
--- a/vcl/source/outdev/font.cxx
+++ b/vcl/source/outdev/font.cxx
@@ -648,9 +648,7 @@ void OutputDevice::EndFontSubstitution()
{
ImplUpdateAllFontData( false );
- Application* pApp = GetpApp();
DataChangedEvent aDCEvt( DATACHANGED_FONTSUBSTITUTION );
- pApp->DataChanged( aDCEvt );
Application::NotifyAllWindows( aDCEvt );
pSVData->maGDIData.mbFontSubChanged = false;
}
diff --git a/vcl/source/window/mouse.cxx b/vcl/source/window/mouse.cxx
index 054f10bbfd22..cc1c03259395 100644
--- a/vcl/source/window/mouse.cxx
+++ b/vcl/source/window/mouse.cxx
@@ -393,7 +393,6 @@ void Window::ImplGrabFocus( sal_uInt16 nFlags )
}
}
- GetpApp()->FocusChanged();
ImplNewInputContext();
}
}
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 3b8cde253f4d..9c585d111d80 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -430,7 +430,6 @@ Window::~Window()
{
pSVData->maWinData.mpFocusWin = NULL;
pOverlapWindow->mpWindowImpl->mpLastFocusWindow = NULL;
- GetpApp()->FocusChanged();
}
else
{
@@ -456,7 +455,6 @@ Window::~Window()
{
pSVData->maWinData.mpFocusWin = NULL;
pOverlapWindow->mpWindowImpl->mpLastFocusWindow = NULL;
- GetpApp()->FocusChanged();
}
}
}
diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx
index 548ce814f5a8..0f50b85efd3d 100644
--- a/vcl/source/window/winproc.cxx
+++ b/vcl/source/window/winproc.cxx
@@ -1759,7 +1759,6 @@ IMPL_LINK_NOARG(vcl::Window, ImplAsyncFocusHdl)
if ( !ImplCallPreNotify( aNEvt ) )
pFocusWin->LoseFocus();
pFocusWin->ImplCallDeactivateListeners( NULL );
- GetpApp()->FocusChanged();
}
// XXX
}
@@ -2137,7 +2136,6 @@ static void ImplHandleSalSettings( sal_uInt16 nEvent )
if ( nType )
{
DataChangedEvent aDCEvt( nType );
- pApp->DataChanged( aDCEvt );
Application::NotifyAllWindows( aDCEvt );
}
}