summaryrefslogtreecommitdiff
path: root/sc/source/core/data/stlsheet.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-22 14:31:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-23 07:02:59 +0100
commita675428e349d3424ffcc844e9c3884a82cf82ef7 (patch)
treed5a42a00e03b038da9838b2d44c1464f3d70cf69 /sc/source/core/data/stlsheet.cxx
parent7a1c21e53fc4733a4bb52282ce0098fcc085ab0e (diff)
TypedWhichId for sc constants
Change-Id: I25a07d84ae24fdd3b4fbd303beea755169eb9acb Reviewed-on: https://gerrit.libreoffice.org/45084 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/core/data/stlsheet.cxx')
-rw-r--r--sc/source/core/data/stlsheet.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/core/data/stlsheet.cxx b/sc/source/core/data/stlsheet.cxx
index 86eb877e851a..8461994ff61c 100644
--- a/sc/source/core/data/stlsheet.cxx
+++ b/sc/source/core/data/stlsheet.cxx
@@ -28,8 +28,10 @@
#include <svx/pageitem.hxx>
#include <editeng/paperinf.hxx>
#include <editeng/pbinitem.hxx>
+#include <editeng/shaditem.hxx>
#include <editeng/sizeitem.hxx>
#include <editeng/ulspitem.hxx>
+#include <editeng/xmlcnitm.hxx>
#include <sfx2/printer.hxx>
#include <svl/itempool.hxx>
#include <svl/itemset.hxx>
@@ -160,8 +162,7 @@ SfxItemSet& ScStyleSheet::GetItemSet()
SvxSizeItem aPaperSizeItem( ATTR_PAGE_SIZE, SvxPaperInfo::GetDefaultPaperSize() );
SvxSetItem aHFSetItem(
- static_cast<const SvxSetItem&>(
- rItemPool.GetDefaultItem(ATTR_PAGE_HEADERSET) ));
+ rItemPool.GetDefaultItem(ATTR_PAGE_HEADERSET) );
SfxItemSet& rHFSet = aHFSetItem.GetItemSet();
SvxSizeItem aHFSizeItem( // 0,5 cm + distance