summaryrefslogtreecommitdiff
path: root/sw/source/ui/misc/pggrid.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/misc/pggrid.cxx')
-rw-r--r--sw/source/ui/misc/pggrid.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/ui/misc/pggrid.cxx b/sw/source/ui/misc/pggrid.cxx
index 245ad05657c7..3c39eb3ed1ab 100644
--- a/sw/source/ui/misc/pggrid.cxx
+++ b/sw/source/ui/misc/pggrid.cxx
@@ -307,8 +307,7 @@ void SwTextGridPage::UpdatePageSize(const SfxItemSet& rSet)
if( SfxItemState::SET != rSet.GetItemState( SID_ATTR_PAGE_SIZE ))
return;
- const SvxSizeItem& rSize = static_cast<const SvxSizeItem&>(rSet.Get(
- SID_ATTR_PAGE_SIZE));
+ const SvxSizeItem& rSize = rSet.Get(SID_ATTR_PAGE_SIZE);
const SvxLRSpaceItem& rLRSpace = static_cast<const SvxLRSpaceItem&>(rSet.Get(
RES_LR_SPACE ));
const SvxULSpaceItem& rULSpace = static_cast<const SvxULSpaceItem&>(rSet.Get(