diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-03-19 13:07:27 +0000 |
---|---|---|
committer | Xisco Faulí <xiscofauli@libreoffice.org> | 2019-03-20 17:09:20 +0100 |
commit | 83b148ba6ffe6745987ab2656afeb996a85a01c1 (patch) | |
tree | 0f132ad0534cb3abab2b4f94c961d8cd8a702caa /sc | |
parent | 19a798d7576e5daa25e273cb14badfaacd8639dc (diff) |
Resolves: tdf#124024 scaling factor isn't displayed correctly
Change-Id: If08731217c0839ebd8d51399bb0dd1a3b598dceb
Reviewed-on: https://gerrit.libreoffice.org/69421
Tested-by: Jenkins
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc')
-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 109a56453728..23e384aeb80c 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" ); |