From 7a222c57720d550acc760bbcbdc67b33d1d78fb3 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 22 May 2020 15:19:53 +0100 Subject: Resolves: tdf#133189 values not updated when units changed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I7028974e9a916a630f5530c65952103ada702212 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94696 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- sw/source/uibase/sidebar/PageFormatPanel.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sw/source/uibase/sidebar/PageFormatPanel.cxx b/sw/source/uibase/sidebar/PageFormatPanel.cxx index 7a13c6553fde..969d7d8210da 100644 --- a/sw/source/uibase/sidebar/PageFormatPanel.cxx +++ b/sw/source/uibase/sidebar/PageFormatPanel.cxx @@ -198,8 +198,12 @@ void PageFormatPanel::NotifyItemUpdate( if (eFUnit != meFUnit) { meFUnit = eFUnit; + auto nHeight = mxPaperHeight->GetCoreValue(meUnit); mxPaperHeight->SetFieldUnit(meFUnit); + mxPaperHeight->SetMetricValue(nHeight, meUnit); + auto nWidth = mxPaperWidth->GetCoreValue(meUnit); mxPaperWidth->SetFieldUnit(meFUnit); + mxPaperWidth->SetMetricValue(nWidth, meUnit); SetMarginFieldUnit(); UpdateMarginBox(); } -- cgit -0 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
ddc7a46cb6eb475238df1e0b9d10f1e9c06'>Improved loplugin:stringconstant (now that GCC 7 supports it): chart2
AgeCommit message (Expand)Author
2013-11-09fdo#65108 inter-module includes <> include/svtoolsNorbert Thiebaud
2013-10-23fixincludeguards.sh: include/s*Thomas Arnhold
2013-08-22convert include/svtools/imagemgr.hxx from String to OUStringNoel Grandin
2013-04-23execute move of global headersBjoern Michaelsen
Stephan Bergmann
2019-07-19loplugin:referencecasting in canvas..chart2Noel Grandin
2019-07-15tdf#126193 Chart OOXML: Export Multi-level category labelsBalazs Varga
2019-06-10Use hasElements to check Sequence emptiness in chart2..connectivityArkadiy Illarionov
2019-05-13Remove ContainerHelper.hxxArkadiy Illarionov
2019-01-08convert "*xxx.get()" to "*xxx"Noel Grandin
2018-10-09tdf#42949 Fix IWYU warnings in chart2/source/tools/*cxxGabor Kelemen
2018-09-11clang-tidy bugprone-copy-constructor-initNoel Grandin
2018-09-05clang-tidy performance-inefficient-vector-operationNoel Grandin
2018-08-08tdf#42949 Fix IWYU warnings in chart2/source/inc/[d-l]*hxxGabor Kelemen
2018-08-05coverity#1438225 Improper use of negative valueCaolán McNamara
2018-07-26Missing includes (Windows --disable-pch)Stephan Bergmann
2018-05-25tdf#42949 Fix IWYU warnings in chart2/source/inc/*Gabor Kelemen
2018-04-09use more DBG_UNHANDLED_EXCEPTIONNoel Grandin
2018-03-04Modernize a bit chart2Julien Nabet
2017-12-11loplugin:salcall fix functionsNoel Grandin
2017-11-03inline ASSERT_EXCEPTION macro in chart2Noel Grandin
2017-10-23loplugin:includeform: chart2Stephan Bergmann
2017-08-11convert std::map::insert to std::map::emplace IINoel Grandin
2017-08-11convert std::map::insert to std::map::emplaceNoel Grandin
2017-08-02remove unnecessary use of 'this->'Noel Grandin
2017-07-28loplugin:checkunusedparams more part3Noel Grandin
2017-07-23tdf#103984 : For bubble charts append data column...Dennis Francis
2017-07-11simplify calls OUString::copy in foo.copy(x, foo.getLength() - x)Noel Grandin
2017-07-07C++11 remove std::binary_function bases from functorsJochen Nitschke
2017-07-03use begin()/end() when working with SequenceNoel Grandin
2017-07-03C++11 remove std::unary_function bases from functorsJochen Nitschke
2017-06-20loplugin:oncevar chart2Noel Grandin
2017-05-07revert OSL_ASSERT changesChris Sherlock
2017-05-07tdf#43157: convert chart2 tools source from OSL_ASSERT to assertChris Sherlock
2017-04-29tdf#107097 invoke internal DP and correctly handle "range" namesTomaž Vajngerl
2017-02-15Drop :: prefix from std in c*/Tor Lillqvist
2017-02-03makeAny->Any in basctl..chart2Noel Grandin
2017-01-26Remove dynamic exception specificationsStephan Bergmann
2016-12-01tdf#102621: import empty chart cells as NaN instead of 0Jean-Tiare Le Bigot
2016-11-23loplugin:unnecessaryoverride (dtors) in chart2Stephan Bergmann
2016-11-11loplugin:expandablemethods in chart2Noel Grandin
2016-11-07loplugin:oncevar in chart2Noel Grandin
2016-10-22fix for windows buildsJochen Nitschke
2016-10-22chart2: fix unserialization of empty cellsJean-Tiare Le Bigot