From 617a2feff0978d06aa2759038715dfde90d369db Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 19 Dec 2017 15:39:54 +0200 Subject: convert RES_FRM constants to TypedWhichId Change-Id: I0c71a6fd2e094cebdb720e6c0661cd8a7bb8482c Reviewed-on: https://gerrit.libreoffice.org/46812 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/uibase/shells/grfsh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/uibase/shells/grfsh.cxx') diff --git a/sw/source/uibase/shells/grfsh.cxx b/sw/source/uibase/shells/grfsh.cxx index bda2b2b395ff..a8d2850bccbd 100644 --- a/sw/source/uibase/shells/grfsh.cxx +++ b/sw/source/uibase/shells/grfsh.cxx @@ -336,7 +336,7 @@ void SwGrfShell::Execute(SfxRequest &rReq) aSet.SetParent( aMgr.GetAttrSet().GetParent() ); // At percentage values initialize size - SwFormatFrameSize aSizeCopy = static_cast(aSet.Get(RES_FRM_SIZE)); + SwFormatFrameSize aSizeCopy = aSet.Get(RES_FRM_SIZE); if (aSizeCopy.GetWidthPercent() && aSizeCopy.GetWidthPercent() != SwFormatFrameSize::SYNCED) aSizeCopy.SetWidth(rSh.GetAnyCurRect(CurRectType::FlyEmbedded).Width()); if (aSizeCopy.GetHeightPercent() && aSizeCopy.GetHeightPercent() != SwFormatFrameSize::SYNCED) -- cgit