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/source/ui/pagedlg | |
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/source/ui/pagedlg')
-rw-r--r-- | sc/source/ui/pagedlg/tptable.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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" ); |