diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-19 15:39:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-24 10:54:05 +0100 |
commit | 617a2feff0978d06aa2759038715dfde90d369db (patch) | |
tree | e7355f9dfe29c05db574a9961c6132f0c94d61a2 /sw/source/uibase/shells/textsh.cxx | |
parent | 6028b64e27dc45f20aa4a4e0adbef1c03e91a79b (diff) |
convert RES_FRM constants to TypedWhichId
Change-Id: I0c71a6fd2e094cebdb720e6c0661cd8a7bb8482c
Reviewed-on: https://gerrit.libreoffice.org/46812
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/shells/textsh.cxx')
-rw-r--r-- | sw/source/uibase/shells/textsh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/textsh.cxx b/sw/source/uibase/shells/textsh.cxx index 98f453e299ab..5f12d98a3a5d 100644 --- a/sw/source/uibase/shells/textsh.cxx +++ b/sw/source/uibase/shells/textsh.cxx @@ -867,7 +867,7 @@ SfxItemSet SwTextShell::CreateInsertFrameItemSet(SwFlyFrameAttrMgr& rMgr) // Delete minimum size in columns. SvxBoxInfoItem aBoxInfo(aSet.Get(SID_ATTR_BORDER_INNER)); - const SvxBoxItem& rBox = static_cast<const SvxBoxItem&>(aSet.Get(RES_BOX)); + const SvxBoxItem& rBox = aSet.Get(RES_BOX); aBoxInfo.SetMinDist(false); aBoxInfo.SetDefDist(rBox.GetDistance(SvxBoxItemLine::LEFT)); aSet.Put(aBoxInfo); |