summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-11 14:52:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-12 07:46:58 +0100
commitd905c783e7f20ea1f18600252cd92c02ea7f91f7 (patch)
tree2ea8f7926861a5843d578c5711325c18f560c079 /sw/source/core/unocore
parentbb76df91431e2043a0683ea4140fe69178e10c8d (diff)
TypeWhichId in sw
Change-Id: Ia5654aaf88f13c37f52e3c17d61dd3475641070a Reviewed-on: https://gerrit.libreoffice.org/46230 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/unocore')
-rw-r--r--sw/source/core/unocore/unoframe.cxx2
-rw-r--r--sw/source/core/unocore/unomap.cxx1
2 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx
index 7ff0c80d95c0..64e06adf9138 100644
--- a/sw/source/core/unocore/unoframe.cxx
+++ b/sw/source/core/unocore/unoframe.cxx
@@ -1035,7 +1035,7 @@ static inline void lcl_FillMirror ( SfxItemSet &rToSet, const ::SfxItemSet &rFro
{
if(pHEvenMirror || pHOddMirror || pVMirror )
{
- SwMirrorGrf aMirror ( static_cast < const ::SwMirrorGrf& > ( rFromSet.Get ( RES_GRFATR_MIRRORGRF ) ) );
+ SwMirrorGrf aMirror ( rFromSet.Get ( RES_GRFATR_MIRRORGRF ) );
if(pHEvenMirror)
rRet &= static_cast<SfxPoolItem&>(aMirror).PutValue(*pHEvenMirror, MID_MIRROR_HORZ_EVEN_PAGES);
if(pHOddMirror)
diff --git a/sw/source/core/unocore/unomap.cxx b/sw/source/core/unocore/unomap.cxx
index 94c11d3d8b63..c6c187c6591f 100644
--- a/sw/source/core/unocore/unomap.cxx
+++ b/sw/source/core/unocore/unomap.cxx
@@ -79,6 +79,7 @@
#include <com/sun/star/drawing/HomogenMatrix3.hpp>
#include <osl/diagnose.h>
#include <swtypes.hxx>
+#include <cellatr.hxx>
#include <unomap.hxx>
#include <unoprnms.hxx>
#include <unomid.h>