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
@ -38,7 +38,7 @@ class SvXMLExport;
|
|||||||
class XMLPropertyHandlerFactory;
|
class XMLPropertyHandlerFactory;
|
||||||
class XMLPropertySetMapper;
|
class XMLPropertySetMapper;
|
||||||
class SvXMLExportPropertyMapper;
|
class SvXMLExportPropertyMapper;
|
||||||
|
class XMLPageMasterExportPropMapper;
|
||||||
|
|
||||||
struct XMLPageExportNameEntry
|
struct XMLPageExportNameEntry
|
||||||
{
|
{
|
||||||
@ -58,7 +58,7 @@ class XMLOFF_DLLPUBLIC XMLPageExport : public salhelper::SimpleReferenceObject
|
|||||||
|
|
||||||
rtl::Reference < XMLPropertyHandlerFactory > m_xPageMasterPropHdlFactory;
|
rtl::Reference < XMLPropertyHandlerFactory > m_xPageMasterPropHdlFactory;
|
||||||
rtl::Reference < XMLPropertySetMapper > m_xPageMasterPropSetMapper;
|
rtl::Reference < XMLPropertySetMapper > m_xPageMasterPropSetMapper;
|
||||||
rtl::Reference < SvXMLExportPropertyMapper > m_xPageMasterExportPropMapper;
|
rtl::Reference < XMLPageMasterExportPropMapper > m_xPageMasterExportPropMapper;
|
||||||
rtl::Reference<XMLPropertySetMapper> m_xPageMasterDrawingPagePropSetMapper;
|
rtl::Reference<XMLPropertySetMapper> m_xPageMasterDrawingPagePropSetMapper;
|
||||||
rtl::Reference<SvXMLExportPropertyMapper> m_xPageMasterDrawingPageExportPropMapper;
|
rtl::Reference<SvXMLExportPropertyMapper> m_xPageMasterDrawingPageExportPropMapper;
|
||||||
|
|
||||||
|
@ -242,8 +242,7 @@ XMLPageExport::XMLPageExport(SvXMLExport & rExp)
|
|||||||
xProps->getPropertyValue("GutterAtTop") >>= bGutterAtTop;
|
xProps->getPropertyValue("GutterAtTop") >>= bGutterAtTop;
|
||||||
if (bGutterAtTop)
|
if (bGutterAtTop)
|
||||||
{
|
{
|
||||||
static_cast<XMLPageMasterExportPropMapper*>(m_xPageMasterExportPropMapper.get())
|
m_xPageMasterExportPropMapper->SetGutterAtTop(true);
|
||||||
->SetGutterAtTop(true);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user