summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLTextFrameContext.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:29:15 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:32:01 +0100
commit51b45df6bba163dec7ba91c700de695ad517e5dd (patch)
tree566633496f4048112c75edbbe250b0f01d86a8dd /xmloff/source/text/XMLTextFrameContext.cxx
parent87bae0e188aa3ce3c31d1aa91707c0fad6b81b65 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I8690de2cb68dcfedc9f2239ce66cea06fd94bc16
Diffstat (limited to 'xmloff/source/text/XMLTextFrameContext.cxx')
-rw-r--r--xmloff/source/text/XMLTextFrameContext.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/xmloff/source/text/XMLTextFrameContext.cxx b/xmloff/source/text/XMLTextFrameContext.cxx
index 7680d1b5248d..4e2328669905 100644
--- a/xmloff/source/text/XMLTextFrameContext.cxx
+++ b/xmloff/source/text/XMLTextFrameContext.cxx
@@ -295,7 +295,7 @@ XMLTextFrameContourContext_Impl::XMLTextFrameContourContext_Impl(
if( bPath )
{
- basegfx::tools::importFromSvgD(aPolyPolygon, sD, GetImport().needFixPositionAfterZ(), 0);
+ basegfx::tools::importFromSvgD(aPolyPolygon, sD, GetImport().needFixPositionAfterZ(), nullptr);
}
else
{
@@ -607,7 +607,7 @@ void XMLTextFrameContext_Impl::Create( bool /*bHRefOrBase64*/ )
}
// frame style
- XMLPropStyleContext *pStyle = 0;
+ XMLPropStyleContext *pStyle = nullptr;
if( !sStyleName.isEmpty() )
{
pStyle = xTextImportHelper->FindAutoFrameStyle( sStyleName );
@@ -730,7 +730,7 @@ void XMLTextFrameContext_Impl::Create( bool /*bHRefOrBase64*/ )
else if( xBase64Stream.is() )
{
sHRef = GetImport().ResolveGraphicObjectURLFromBase64( xBase64Stream );
- xBase64Stream = 0;
+ xBase64Stream = nullptr;
}
aAny <<= sHRef;
xPropSet->setPropertyValue( sGraphicURL, aAny );
@@ -1142,7 +1142,7 @@ SvXMLImportContext *XMLTextFrameContext_Impl::CreateChildContext(
const OUString& rLocalName,
const Reference< XAttributeList > & xAttrList )
{
- SvXMLImportContext *pContext = 0;
+ SvXMLImportContext *pContext = nullptr;
if( XML_NAMESPACE_DRAW == nPrefix )
{
@@ -1379,7 +1379,7 @@ XMLTextFrameContext::XMLTextFrameContext(
: SvXMLImportContext( rImport, nPrfx, rLName )
, MultiImageImportHelper()
, m_xAttrList( new SvXMLAttributeList( xAttrList ) )
-, m_pHyperlink( 0 )
+, m_pHyperlink( nullptr )
// Implement Title/Description Elements UI (#i73249#)
, m_sTitle()
, m_sDesc()
@@ -1406,7 +1406,7 @@ XMLTextFrameContext::XMLTextFrameContext(
{
rtl::Reference < XMLTextImportHelper > xTxtImport =
GetImport().GetTextImport();
- XMLPropStyleContext* pStyle( 0L );
+ XMLPropStyleContext* pStyle( nullptr );
pStyle = xTxtImport->FindAutoFrameStyle( aStyleName );
if ( pStyle && pStyle->GetParentName().isEmpty() )
{
@@ -1468,7 +1468,7 @@ void XMLTextFrameContext::EndElement()
pImpl->SetHyperlink( m_pHyperlink->GetHRef(), m_pHyperlink->GetName(),
m_pHyperlink->GetTargetFrameName(), m_pHyperlink->GetMap() );
delete m_pHyperlink;
- m_pHyperlink = 0;
+ m_pHyperlink = nullptr;
}
}
@@ -1479,7 +1479,7 @@ SvXMLImportContext *XMLTextFrameContext::CreateChildContext(
const OUString& rLocalName,
const Reference< XAttributeList > & xAttrList )
{
- SvXMLImportContext *pContext = 0;
+ SvXMLImportContext *pContext = nullptr;
if( !m_xImplContext.Is() )
{
@@ -1592,7 +1592,7 @@ SvXMLImportContext *XMLTextFrameContext::CreateChildContext(
m_xReplImplContext = pContext;
}
}
- else if( 0 != dynamic_cast< const XMLTextFrameContext_Impl*>( m_xImplContext.get() ))
+ else if( nullptr != dynamic_cast< const XMLTextFrameContext_Impl*>( m_xImplContext.get() ))
{
// the child is a writer frame
if( XML_NAMESPACE_SVG == p_nPrefix )