diff options
Diffstat (limited to 'sc/source/ui/vba/vbaoleobject.cxx')
-rw-r--r-- | sc/source/ui/vba/vbaoleobject.cxx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/sc/source/ui/vba/vbaoleobject.cxx b/sc/source/ui/vba/vbaoleobject.cxx index ebf87bf5275d..2d8347bdbd8b 100644 --- a/sc/source/ui/vba/vbaoleobject.cxx +++ b/sc/source/ui/vba/vbaoleobject.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -65,94 +65,94 @@ ScVbaOLEObject::ScVbaOLEObject( const uno::Reference< XHelperInterface >& xParen m_xControl.set( xControlProvider->createControl( xControlShape, xModel ) ); } -uno::Reference< uno::XInterface > SAL_CALL +uno::Reference< uno::XInterface > SAL_CALL ScVbaOLEObject::getObject() throw (uno::RuntimeException) { return uno::Reference< uno::XInterface >( m_xControl, uno::UNO_QUERY_THROW ); } -sal_Bool SAL_CALL +sal_Bool SAL_CALL ScVbaOLEObject::getEnabled() throw (uno::RuntimeException) { return m_xControl->getEnabled(); } -void SAL_CALL +void SAL_CALL ScVbaOLEObject::setEnabled( sal_Bool _enabled ) throw (uno::RuntimeException) { m_xControl->setEnabled( _enabled ); } -sal_Bool SAL_CALL +sal_Bool SAL_CALL ScVbaOLEObject::getVisible() throw (uno::RuntimeException) { OSL_TRACE("OleObject %s returning visible %s", rtl::OUStringToOString( m_xControl->getName(), RTL_TEXTENCODING_UTF8 ).getStr(), m_xControl->getVisible() ? "true" : "false" ); return m_xControl->getVisible(); } -void SAL_CALL +void SAL_CALL ScVbaOLEObject::setVisible( sal_Bool _visible ) throw (uno::RuntimeException) { OSL_TRACE("OleObject %s set visible %s", rtl::OUStringToOString( m_xControl->getName(), RTL_TEXTENCODING_UTF8 ).getStr(), _visible ? "true" : "false" ); m_xControl->setVisible( _visible ); } -double SAL_CALL +double SAL_CALL ScVbaOLEObject::getLeft() throw (uno::RuntimeException) { return m_xControl->getLeft(); } -void SAL_CALL +void SAL_CALL ScVbaOLEObject::setLeft( double _left ) throw (uno::RuntimeException) { m_xControl->setLeft( _left ); } -double SAL_CALL +double SAL_CALL ScVbaOLEObject::getTop() throw (uno::RuntimeException) { return m_xControl->getTop(); } -void SAL_CALL +void SAL_CALL ScVbaOLEObject::setTop( double _top ) throw (uno::RuntimeException) { m_xControl->setTop( _top ); } -double SAL_CALL +double SAL_CALL ScVbaOLEObject::getHeight() throw (uno::RuntimeException) { return m_xControl->getHeight(); } -void SAL_CALL +void SAL_CALL ScVbaOLEObject::setHeight( double _height ) throw (uno::RuntimeException) { m_xControl->setHeight( _height ); } -double SAL_CALL +double SAL_CALL ScVbaOLEObject::getWidth() throw (uno::RuntimeException) { return m_xControl->getWidth(); } -void SAL_CALL +void SAL_CALL ScVbaOLEObject::setWidth( double _width ) throw (uno::RuntimeException) { m_xControl->setWidth( _width ); } -rtl::OUString& +rtl::OUString& ScVbaOLEObject::getServiceImplName() { static rtl::OUString sImplName( RTL_CONSTASCII_USTRINGPARAM("ScVbaOLEObject") ); return sImplName; } -uno::Sequence< rtl::OUString > +uno::Sequence< rtl::OUString > ScVbaOLEObject::getServiceNames() { static uno::Sequence< rtl::OUString > aServiceNames; |