Resolves: tdf#158121 Math - Print settings not read after changing
Change-Id: I4effa4905f05a8a6105d4283c0a3b5ba8dd4d31d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159402
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index 98f96ea..f96f43c 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -280,6 +280,8 @@ void SmPrintOptionsTabPage::Reset(const SfxItemSet* rSet)
m_xSmZoom->set_value(rSet->Get(SID_SMEDITWINDOWZOOM).GetValue(), FieldUnit::PERCENT);
m_xTitle->set_active(rSet->Get(SID_PRINTTITLE).GetValue());
m_xText->set_active(rSet->Get(GetWhich(SID_PRINTTEXT)).GetValue());
m_xFrame->set_active(rSet->Get(GetWhich(SID_PRINTFRAME)).GetValue());
m_xEnableInlineEdit->set_active(rSet->Get(SID_INLINE_EDIT_ENABLE).GetValue());
m_xNoRightSpaces->set_active(rSet->Get(SID_NO_RIGHT_SPACES).GetValue());
m_xSaveOnlyUsedSymbols->set_active(rSet->Get(SID_SAVE_ONLY_USED_SYMBOLS).GetValue());