diff options
Diffstat (limited to 'svx/source/sidebar/possize/PosSizePropertyPanel.cxx')
-rw-r--r-- | svx/source/sidebar/possize/PosSizePropertyPanel.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx index 5c04ce2706b6..7d829d324aab 100644 --- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx +++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx @@ -864,7 +864,10 @@ void PosSizePropertyPanel::MetricState( SfxItemState eState, const SfxPoolItem* // #i124409# use the given Item to get the correct UI unit and initialize it // and the Fields using it - meDlgUnit = GetCurrentUnit(eState,pState); + FieldUnit eDlgUnit = GetCurrentUnit(eState, pState); + if (eDlgUnit == meDlgUnit) + return; + meDlgUnit = eDlgUnit; if (mxMtrPosX->get_text().isEmpty()) bPosXBlank = true; |