summaryrefslogtreecommitdiff
path: root/sd/source/ui/app/sdmod1.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-30 09:13:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-30 09:46:16 +0100
commit4523dd0544d762961435429167e41a0834b60cea (patch)
tree56a642851053dbb73cc8e383ac29411382d6cc8b /sd/source/ui/app/sdmod1.cxx
parent390ec50cbe3e0b8c15db6504b5bdd36dc3f3fb61 (diff)
Called C++ object pointer is null
Change-Id: I88efc4be6ff869ef97a2b398d43f7b7914debfc6
Diffstat (limited to 'sd/source/ui/app/sdmod1.cxx')
-rw-r--r--sd/source/ui/app/sdmod1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/app/sdmod1.cxx b/sd/source/ui/app/sdmod1.cxx
index b4d725649604..7ba47c463c84 100644
--- a/sd/source/ui/app/sdmod1.cxx
+++ b/sd/source/ui/app/sdmod1.cxx
@@ -664,7 +664,7 @@ SfxFrame* SdModule::ExecuteNewDocument( SfxRequest& rReq )
::sd::ViewShellBase* pBase =
::sd::ViewShellBase::GetViewShellBase (
pViewFrame);
- OSL_ASSERT (pBase!=NULL);
+ assert(pBase!=NULL);
::boost::shared_ptr<sd::ViewShell> pViewSh = pBase->GetMainViewShell();
SdOptions* pOptions = GetSdOptions(pDoc->GetDocumentType());