summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-04-22 20:59:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-04-23 10:00:16 +0200
commit6baa7ab095b44c599a0db253e5484f673878cabc (patch)
tree1aae202496ed8b26f398435b8dd189c2acf7cef4 /vcl
parent837d1c9723c84a6b4f461ed93c30b3d41ac86df0 (diff)
call ImplCallEventListenersApplicationDataChanged in addition to AllWindows
so non-window entities can get to hear about them Change-Id: I00016a432d8e76e39dbf6340b014acdf4498d091 Reviewed-on: https://gerrit.libreoffice.org/53298 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/print.cxx1
-rw-r--r--vcl/source/outdev/font.cxx1
-rw-r--r--vcl/source/window/winproc.cxx1
3 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx
index 67dd278e4bb4..8e068cbde877 100644
--- a/vcl/source/gdi/print.cxx
+++ b/vcl/source/gdi/print.cxx
@@ -1718,6 +1718,7 @@ void Printer::updatePrinters()
if( pApp )
{
DataChangedEvent aDCEvt( DataChangedEventType::PRINTER );
+ Application::ImplCallEventListenersApplicationDataChanged(&aDCEvt);
Application::NotifyAllWindows( aDCEvt );
}
}
diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx
index 67fd6dcdf7ee..bd112469404d 100644
--- a/vcl/source/outdev/font.cxx
+++ b/vcl/source/outdev/font.cxx
@@ -677,6 +677,7 @@ void OutputDevice::EndFontSubstitution()
ImplUpdateAllFontData( false );
DataChangedEvent aDCEvt( DataChangedEventType::FONTSUBSTITUTION );
+ Application::ImplCallEventListenersApplicationDataChanged(&aDCEvt);
Application::NotifyAllWindows( aDCEvt );
pSVData->maGDIData.mbFontSubChanged = false;
}
diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx
index b838f08f848b..21cb9e24f90b 100644
--- a/vcl/source/window/winproc.cxx
+++ b/vcl/source/window/winproc.cxx
@@ -2125,6 +2125,7 @@ static void ImplHandleSalSettings( SalEvent nEvent )
if ( nType != DataChangedEventType::NONE )
{
DataChangedEvent aDCEvt( nType );
+ Application::ImplCallEventListenersApplicationDataChanged(&aDCEvt);
Application::NotifyAllWindows( aDCEvt );
}
}