diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-03-19 13:07:27 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-03-19 16:03:30 +0100 |
commit | 51cd6a93a6dd5bbe98548ea0fd702410a6a2d001 (patch) | |
tree | 256f116ba664bbac703bbc4b91892194fe64a793 /sc | |
parent | 7a9f6df7fb83ec23d09cb5744c2c865fa22e7143 (diff) |
Resolves: tdf#124024 scaling factor isn't displayed correctly
Change-Id: If08731217c0839ebd8d51399bb0dd1a3b598dceb
Reviewed-on: https://gerrit.libreoffice.org/69420
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/docshell/docsh4.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/pagedlg/tptable.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx index dd91eff637d9..d75ef8138a10 100644 --- a/sc/source/ui/docshell/docsh4.cxx +++ b/sc/source/ui/docshell/docsh4.cxx @@ -1726,8 +1726,8 @@ void ScDocShell::ExecutePageStyle( const SfxViewShell& rCaller, PageStyleModified( aNewName, false ); pRequest->Done(); - pDlg->disposeOnce(); } + pDlg->disposeOnce(); }); } } diff --git a/sc/source/ui/pagedlg/tptable.cxx b/sc/source/ui/pagedlg/tptable.cxx index d1e7229f1490..cead94e82fd9 100644 --- a/sc/source/ui/pagedlg/tptable.cxx +++ b/sc/source/ui/pagedlg/tptable.cxx @@ -223,7 +223,7 @@ void ScTablePage::Reset( const SfxItemSet* rCoreSet ) m_xEdScalePageNum->set_value( (nPages > 0) ? nPages : 1 ); } - if (m_xLbScaleMode->get_active() == 0) + if (m_xLbScaleMode->get_active() == -1) { // fall back to 100% OSL_FAIL( "ScTablePage::Reset - missing scaling item" ); |