summaryrefslogtreecommitdiffstats
path: root/embeddedobj/source/commonembedding/specialobject.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2005-03-29 13:55:58 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2005-03-29 13:55:58 +0000
commit7e9db2eae5fcee952e8e1d5a31edfc5925d3b052 (patch)
tree56d06bac59182df0ca531b1cacb39432fde5867b /embeddedobj/source/commonembedding/specialobject.cxx
parentINTEGRATION: CWS lobeta3 (1.13.8); FILE MERGED (diff)
downloadcore-7e9db2eae5fcee952e8e1d5a31edfc5925d3b052.tar.gz
core-7e9db2eae5fcee952e8e1d5a31edfc5925d3b052.zip
INTEGRATION: CWS lobeta3 (1.2.56); FILE MERGED
2005/03/03 10:38:09 mba 1.2.56.1: #i43712#: DummyObject as a fallback for failed object creation
Diffstat (limited to 'embeddedobj/source/commonembedding/specialobject.cxx')
-rw-r--r--embeddedobj/source/commonembedding/specialobject.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/embeddedobj/source/commonembedding/specialobject.cxx b/embeddedobj/source/commonembedding/specialobject.cxx
index 8defc0dade32..fecb1eca2bb1 100644
--- a/embeddedobj/source/commonembedding/specialobject.cxx
+++ b/embeddedobj/source/commonembedding/specialobject.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: specialobject.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: kz $ $Date: 2004-10-04 19:50:09 $
+ * last change: $Author: rt $ $Date: 2005-03-29 14:55:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -184,11 +184,10 @@ embed::VisualRepresentation SAL_CALL OSpecialEmbeddedObject::getPreferredVisualR
throw embed::WrongStateException( ::rtl::OUString::createFromAscii( "The own object has no model!\n" ),
uno::Reference< uno::XInterface >( reinterpret_cast< ::cppu::OWeakObject* >(this) ) );
- OSL_ENSURE( m_pDocHolder->GetComponent().is(), "Running or Active object has no component!\n" );
-
// TODO: return for the aspect of the document
embed::VisualRepresentation aVisualRepresentation;
/*
+ OSL_ENSURE( m_pDocHolder->GetComponent().is(), "Running or Active object has no component!\n" );
uno::Reference< datatransfer::XTransferable > xTransferable( m_pDocHolder->GetComponent(), uno::UNO_QUERY );
if ( !xTransferable.is() )
throw uno::RuntimeException();