diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-12-10 17:33:54 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-12-10 17:34:31 +0100 |
commit | 4a1edf626ad48b5955892e5590d75fa7ae5eaf58 (patch) | |
tree | 3ace4c2ac4da5529295780880f67fdfce09b6637 /sw/source/filter/ww8 | |
parent | 46fe3bddebf30775ae19eaa0fefe1d8e2f78eced (diff) |
More loplugin:nullptr automatic rewrite (within templates)
Change-Id: I9bc06cfb5eeb38fd7ae7fb25f876ea9f96e4a65a
Diffstat (limited to 'sw/source/filter/ww8')
-rw-r--r-- | sw/source/filter/ww8/writerwordglue.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/writerwordglue.cxx b/sw/source/filter/ww8/writerwordglue.cxx index 25ad1a18e046..d42389f93633 100644 --- a/sw/source/filter/ww8/writerwordglue.cxx +++ b/sw/source/filter/ww8/writerwordglue.cxx @@ -256,14 +256,14 @@ namespace myImplHelpers //If we've used it once, don't reuse it if (pRet && (maUsedStyles.end() != maUsedStyles.find(pRet))) - pRet = 0; + pRet = nullptr; if (!pRet) { pRet = maHelper.GetStyle(rName); //If we've used it once, don't reuse it if (pRet && (maUsedStyles.end() != maUsedStyles.find(pRet))) - pRet = 0; + pRet = nullptr; } bool bStyExist = pRet != nullptr; |