summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-18 11:29:07 +0200
committerNoel Grandin <noel@peralex.com>2014-02-19 09:42:17 +0200
commit814f6e4f199f7e900bfd0f8b4ccb2da963a93ce4 (patch)
tree2b90ce8f627179bb785a2004343aeea930a042a7 /sd
parent14829a84ff4f77091767cf4503db0c8a6624f036 (diff)
cid#736800 dereference before null check
Change-Id: I51eb6331d74c1484cf12a2a1810485dd8b927a32
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/app/sdxfer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/app/sdxfer.cxx b/sd/source/ui/app/sdxfer.cxx
index addf6615da74..359da9f18f78 100644
--- a/sd/source/ui/app/sdxfer.cxx
+++ b/sd/source/ui/app/sdxfer.cxx
@@ -695,7 +695,7 @@ void SdTransferable::SetPageBookmarks( const std::vector<OUString> &rPageBookmar
maPageBookmarks = rPageBookmarks;
}
- if( mpSdViewIntern && mpSdDrawDocument )
+ if( mpSdViewIntern )
{
SdPage* pPage = mpSdDrawDocument->GetSdPage( 0, PK_STANDARD );