diff options
Diffstat (limited to 'sd/source/core/drawdoc.cxx')
-rw-r--r-- | sd/source/core/drawdoc.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/core/drawdoc.cxx b/sd/source/core/drawdoc.cxx index 9e5a422b08b2..d80b5fbf93c2 100644 --- a/sd/source/core/drawdoc.cxx +++ b/sd/source/core/drawdoc.cxx @@ -666,12 +666,11 @@ void SdDrawDocument::NewOrLoadCompleted(DocCreationMode eMode) mbNewOrLoadCompleted = true; // Update all linked pages - SdPage* pPage = NULL; sal_uInt16 nMaxSdPages = GetSdPageCount(PK_STANDARD); for (sal_uInt16 nSdPage=0; nSdPage < nMaxSdPages; nSdPage++) { - pPage = (SdPage*) GetSdPage(nSdPage, PK_STANDARD); + SdPage* pPage = (SdPage*) GetSdPage(nSdPage, PK_STANDARD); if (pPage && !pPage->GetFileName().isEmpty() && pPage->GetBookmarkName().getLength()) { |