summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorPedro Giffuni <pfg@apache.org>2017-01-21 03:15:46 +0000
committerPedro Giffuni <pfg@apache.org>2017-01-21 03:15:46 +0000
commit152740fe1ca977d6717b4bf57c71b2d5dddb4e4a (patch)
tree3f326ec5314d728118a98679e929f33094235db9 /sd
parent197db69bfe23baca1737841fd677b267783c8a81 (diff)
Replace nullptr with NULL.
It appears that MSVC 2008 [1] doesn't support nullptr so we are tied to the older ages. Pre-existing code uses NULL. [1] https://en.wikipedia.org/wiki/Visual_C%2B%2B
Notes
Notes: ignore: obsolete
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/viewshe3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/viewshe3.cxx b/sd/source/ui/view/viewshe3.cxx
index e196261003ee..7fc85cdd5434 100644
--- a/sd/source/ui/view/viewshe3.cxx
+++ b/sd/source/ui/view/viewshe3.cxx
@@ -226,7 +226,7 @@ SdPage* ViewShell::CreateOrDuplicatePage (
// When the given page is NULL then use the first page of the document.
SdPage* pTemplatePage = pPage;
if (pTemplatePage == NULL)
- if (pDocument->GetSdPage(0, ePageKind) != nullptr)
+ if (pDocument->GetSdPage(0, ePageKind) != NULL)
pTemplatePage = pDocument->GetSdPage(0, ePageKind);
if (pTemplatePage != NULL && pTemplatePage->TRG_HasMasterPage())
aVisibleLayers = pTemplatePage->TRG_GetMasterPageVisibleLayers();