diff options
author | Harri Pitkänen <hatapitk@iki.fi> | 2010-10-14 17:32:23 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2010-10-14 17:32:43 +0100 |
commit | 1c84461b6601d24481a6aaf2b5ea10fc3c5c667e (patch) | |
tree | 71e47e8459cd70cc3aaf04e5a306edbd3123c2f2 /svx/source/unodraw/unopage.cxx | |
parent | 2d3941f9f870249b002465d8cef8c2943f56227f (diff) |
remove redundant null checks.
Diffstat (limited to 'svx/source/unodraw/unopage.cxx')
-rw-r--r-- | svx/source/unodraw/unopage.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx index cc8cab2d9871..ad766a0c48ed 100644 --- a/svx/source/unodraw/unopage.cxx +++ b/svx/source/unodraw/unopage.cxx @@ -330,8 +330,7 @@ void SAL_CALL SvxDrawPage::add( const uno::Reference< drawing::XShape >& xShape if(pObj == NULL) return; - if(pShape) - pShape->Create( pObj, this ); + pShape->Create( pObj, this ); if( mpModel ) mpModel->SetChanged(); |