loplugin:fieldcast in XMLPageExport
Change-Id: I07c5f2a6af46a3952d4fbc617d86174b1e23d518 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159222 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
parent
86441791e2
commit
d294d1a32d
2 changed files with 3 additions and 4 deletions
|
@ -38,7 +38,7 @@ class SvXMLExport;
|
|||
class XMLPropertyHandlerFactory;
|
||||
class XMLPropertySetMapper;
|
||||
class SvXMLExportPropertyMapper;
|
||||
|
||||
class XMLPageMasterExportPropMapper;
|
||||
|
||||
struct XMLPageExportNameEntry
|
||||
{
|
||||
|
@ -58,7 +58,7 @@ class XMLOFF_DLLPUBLIC XMLPageExport : public salhelper::SimpleReferenceObject
|
|||
|
||||
rtl::Reference < XMLPropertyHandlerFactory > m_xPageMasterPropHdlFactory;
|
||||
rtl::Reference < XMLPropertySetMapper > m_xPageMasterPropSetMapper;
|
||||
rtl::Reference < SvXMLExportPropertyMapper > m_xPageMasterExportPropMapper;
|
||||
rtl::Reference < XMLPageMasterExportPropMapper > m_xPageMasterExportPropMapper;
|
||||
rtl::Reference<XMLPropertySetMapper> m_xPageMasterDrawingPagePropSetMapper;
|
||||
rtl::Reference<SvXMLExportPropertyMapper> m_xPageMasterDrawingPageExportPropMapper;
|
||||
|
||||
|
|
|
@ -242,8 +242,7 @@ XMLPageExport::XMLPageExport(SvXMLExport & rExp)
|
|||
xProps->getPropertyValue("GutterAtTop") >>= bGutterAtTop;
|
||||
if (bGutterAtTop)
|
||||
{
|
||||
static_cast<XMLPageMasterExportPropMapper*>(m_xPageMasterExportPropMapper.get())
|
||||
->SetGutterAtTop(true);
|
||||
m_xPageMasterExportPropMapper->SetGutterAtTop(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue