summaryrefslogtreecommitdiff
path: root/sw/source/uibase/frmdlg/colmgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/frmdlg/colmgr.cxx')
-rw-r--r--sw/source/uibase/frmdlg/colmgr.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/frmdlg/colmgr.cxx b/sw/source/uibase/frmdlg/colmgr.cxx
index 5231eb6ef6b6..ade307c7c29c 100644
--- a/sw/source/uibase/frmdlg/colmgr.cxx
+++ b/sw/source/uibase/frmdlg/colmgr.cxx
@@ -110,12 +110,12 @@ void SwColMgr::SetActualWidth(sal_uInt16 nW)
// ctor
SwColMgr::SwColMgr(const SfxItemSet& rSet) :
- aFormatCol(static_cast<const SwFormatCol&>(rSet.Get(RES_COL)))
+ aFormatCol(rSet.Get(RES_COL))
{
- nWidth = (sal_uInt16)static_cast<const SwFormatFrameSize&>(rSet.Get(RES_FRM_SIZE)).GetWidth();
+ nWidth = (sal_uInt16)rSet.Get(RES_FRM_SIZE).GetWidth();
if (nWidth < MINLAY)
nWidth = USHRT_MAX;
- const SvxLRSpaceItem &rLR = static_cast<const SvxLRSpaceItem&>(rSet.Get(RES_LR_SPACE));
+ const SvxLRSpaceItem &rLR = rSet.Get(RES_LR_SPACE);
nWidth = nWidth - (sal_uInt16)rLR.GetLeft();
nWidth = nWidth - (sal_uInt16)rLR.GetRight();
::FitToActualSize(aFormatCol, nWidth);