summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unodraw.cxx
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2001-02-26 13:18:51 +0000
committerOliver Specht <os@openoffice.org>2001-02-26 13:18:51 +0000
commitf39119dfb61c8847a76652b61b57dbed433a3ce7 (patch)
tree246f25996af5cbc10d9985da23e494c2476a7d26 /sw/source/core/unocore/unodraw.cxx
parent93880f1f9867f5743de9632a50e28279956978f9 (diff)
#84370# ::group: Check arguments first
Diffstat (limited to 'sw/source/core/unocore/unodraw.cxx')
-rw-r--r--sw/source/core/unocore/unodraw.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx
index 8108ca373679..e0eae3a2b2b4 100644
--- a/sw/source/core/unocore/unodraw.cxx
+++ b/sw/source/core/unocore/unodraw.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unodraw.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: fs $ $Date: 2001-02-21 08:48:19 $
+ * last change: $Author: os $ $Date: 2001-02-26 14:18:51 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -644,7 +644,7 @@ void SwXDrawPage::remove(const uno::Reference< drawing::XShape > & xShape) throw
uno::Reference< drawing::XShapeGroup > SwXDrawPage::group(const uno::Reference< drawing::XShapes > & xShapes) throw( uno::RuntimeException )
{
vos::OGuard aGuard(Application::GetSolarMutex());
- if(!pDoc)
+ if(!pDoc || !xShapes.is())
throw uno::RuntimeException();
uno::Reference< drawing::XShapeGroup > xRet;
if(xPageAgg.is())