diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-07-10 16:13:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-07-10 19:12:39 +0100 |
commit | ec950f8ebb2745ccff2275dcc09d2034cd73dfeb (patch) | |
tree | 4717b5ae728a90ef39b66f2cd1f04e46d023eed8 /sd | |
parent | cc8ffd0f49662aaa9d754239c071b207327c896f (diff) |
ditch the font/screen-scaling thing
its of limited utility wrt the vcl layout work and optimal size widgets,
and its confuses people looking for hidpi settings
Change-Id: I37d21b480446f9fe2845b3a2d9fd59cdeddf1a93
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/sdwindow.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sd/source/ui/view/sdwindow.cxx b/sd/source/ui/view/sdwindow.cxx index 5133f8f94a85..dde0d8cc55de 100644 --- a/sd/source/ui/view/sdwindow.cxx +++ b/sd/source/ui/view/sdwindow.cxx @@ -749,20 +749,6 @@ void Window::DataChanged( const DataChangedEvent& rDCEvt ) if ( (rDCEvt.GetType() == DataChangedEventType::SETTINGS) && (rDCEvt.GetFlags() & AllSettingsFlags::STYLE) ) { - // When the screen zoom factor has changed then reset the zoom - // factor of the frame to always display the whole page. - const AllSettings* pOldSettings = rDCEvt.GetOldSettings (); - const AllSettings& rNewSettings = GetSettings (); - if (pOldSettings && mpViewShell) - { - if (pOldSettings->GetStyleSettings().GetScreenZoom() - != rNewSettings.GetStyleSettings().GetScreenZoom()) - { - mpViewShell->GetViewFrame()->GetDispatcher()-> - Execute(SID_SIZE_PAGE, SfxCallMode::ASYNCHRON | SfxCallMode::RECORD); - } - } - /* Rearrange or initiate Resize for scroll bars since the size of the scroll bars my have changed. Within this, inside the resize- handler, the size of the scroll bars will be asked from the |