diff options
author | Christian Lippka <cl@openoffice.org> | 2001-07-24 14:35:53 +0000 |
---|---|---|
committer | Christian Lippka <cl@openoffice.org> | 2001-07-24 14:35:53 +0000 |
commit | 9e8d0a88fb10452e9033f36f732d935f463c29c2 (patch) | |
tree | d917ec6ffe06111d1079bbc704f7084a6ba01bf8 /svx/source/unodraw/unomod.cxx | |
parent | f649164f73a5e872e0df7b45320ac3948d2fcdd1 (diff) |
#87966# fixed wrong exception
Diffstat (limited to 'svx/source/unodraw/unomod.cxx')
-rw-r--r-- | svx/source/unodraw/unomod.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/unodraw/unomod.cxx b/svx/source/unodraw/unomod.cxx index e61207f09e16..b05e936d7dde 100644 --- a/svx/source/unodraw/unomod.cxx +++ b/svx/source/unodraw/unomod.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unomod.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: cl $ $Date: 2001-07-20 13:01:22 $ + * last change: $Author: cl $ $Date: 2001-07-24 15:35:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -111,7 +111,7 @@ uno::Reference< uno::XInterface > SAL_CALL SvxUnoDrawMSFactory::createInstance( } uno::Reference< uno::XInterface > xRet( createTextField( ServiceSpecifier ) ); - if( xRet.is() ) + if( !xRet.is() ) throw lang::ServiceNotRegisteredException(); return xRet; |