summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh4.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/docshell/docsh4.cxx')
-rw-r--r--sc/source/ui/docshell/docsh4.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx
index c7f3d076bfca..ed773c3ebf38 100644
--- a/sc/source/ui/docshell/docsh4.cxx
+++ b/sc/source/ui/docshell/docsh4.cxx
@@ -1632,10 +1632,9 @@ void ScDocShell::ExecutePageStyle( SfxViewShell& rCaller,
{
SfxItemSet& rStyleSet = pStyleSheet->GetItemSet();
- SvxPageUsage eUsage =
- SvxPageUsage( static_cast<const SvxPageItem&>(
- rStyleSet.Get( ATTR_PAGE )).
- GetPageUsage() );
+ SvxPageUsage eUsage = static_cast<const SvxPageItem&>(
+ rStyleSet.Get( ATTR_PAGE )).
+ GetPageUsage();
bool bShareHeader = static_cast<const SfxBoolItem&>(
static_cast<const SvxSetItem&>(rStyleSet
.Get(ATTR_PAGE_HEADERSET))