summaryrefslogtreecommitdiff
path: root/xmloff/source/style/impastpl.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/style/impastpl.cxx
parent87bae0e188aa3ce3c31d1aa91707c0fad6b81b65 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I8690de2cb68dcfedc9f2239ce66cea06fd94bc16
Diffstat (limited to 'xmloff/source/style/impastpl.cxx')
-rw-r--r--xmloff/source/style/impastpl.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/style/impastpl.cxx b/xmloff/source/style/impastpl.cxx
index 7c83433b2b34..8e6fe7c35c13 100644
--- a/xmloff/source/style/impastpl.cxx
+++ b/xmloff/source/style/impastpl.cxx
@@ -175,7 +175,7 @@ XMLAutoStylePoolProperties::XMLAutoStylePoolProperties( XMLAutoStyleFamily& rFam
: maProperties( rProperties ),
mnPos ( rFamilyData.mnCount )
{
- static bool bHack = (getenv("LIBO_ONEWAY_STABLE_ODF_EXPORT") != NULL);
+ static bool bHack = (getenv("LIBO_ONEWAY_STABLE_ODF_EXPORT") != nullptr);
if (bHack)
{
@@ -279,7 +279,7 @@ XMLAutoStylePoolParent::~XMLAutoStylePoolParent()
bool XMLAutoStylePoolParent::Add( XMLAutoStyleFamily& rFamilyData, const vector< XMLPropertyState >& rProperties, OUString& rName, bool bDontSeek )
{
bool bAdded = false;
- XMLAutoStylePoolProperties *pProperties = 0;
+ XMLAutoStylePoolProperties *pProperties = nullptr;
sal_Int32 nProperties = rProperties.size();
size_t i = 0;
for (size_t n = m_PropertiesList.size(); i < n; ++i)
@@ -594,7 +594,7 @@ struct AutoStylePoolExport
const OUString* mpParent;
XMLAutoStylePoolProperties* mpProperties;
- AutoStylePoolExport() : mpParent(NULL), mpProperties(NULL) {}
+ AutoStylePoolExport() : mpParent(nullptr), mpProperties(nullptr) {}
};
struct StyleComparator
@@ -646,7 +646,7 @@ void SvXMLAutoStylePoolP_Impl::exportXML(
}
}
- static bool bHack = (getenv("LIBO_ONEWAY_STABLE_ODF_EXPORT") != NULL);
+ static bool bHack = (getenv("LIBO_ONEWAY_STABLE_ODF_EXPORT") != nullptr);
if (bHack)
{