diff options
author | sj <sj@openoffice.org> | 2010-06-16 07:28:16 +0200 |
---|---|---|
committer | sj <sj@openoffice.org> | 2010-06-16 07:28:16 +0200 |
commit | e316ce7a8f784231ff39bb069ec6eac0aefca9ce (patch) | |
tree | e45881f88ba87230b09d3553595c09c709ce19e3 /framework/source/helper/uiconfigelementwrapperbase.cxx | |
parent | 9508a731824e7f8a692d462da763b2db95463875 (diff) | |
parent | 634bd66a83cffb00d41d434e77c80eef06a0c813 (diff) |
impress186: merge with DEV300_m82
Diffstat (limited to 'framework/source/helper/uiconfigelementwrapperbase.cxx')
-rw-r--r-- | framework/source/helper/uiconfigelementwrapperbase.cxx | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/framework/source/helper/uiconfigelementwrapperbase.cxx b/framework/source/helper/uiconfigelementwrapperbase.cxx index 1ddda0eb0f4d..030ec5bf8cf6 100644 --- a/framework/source/helper/uiconfigelementwrapperbase.cxx +++ b/framework/source/helper/uiconfigelementwrapperbase.cxx @@ -45,7 +45,6 @@ #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/ui/XUIConfiguration.hpp> -#include <com/sun/star/lang/DisposedException.hpp> //_________________________________________________________________________________________________________________ // includes of other projects @@ -550,4 +549,23 @@ Reference< XIndexAccess > SAL_CALL UIConfigElementWrapperBase::getSettings( sal_ return m_xConfigData; } +Reference< XFrame > SAL_CALL UIConfigElementWrapperBase::getFrame() throw (RuntimeException) +{ + ResetableGuard aLock( m_aLock ); + Reference< XFrame > xFrame( m_xWeakFrame ); + return xFrame; +} + +::rtl::OUString SAL_CALL UIConfigElementWrapperBase::getResourceURL() throw (RuntimeException) +{ + ResetableGuard aLock( m_aLock ); + return m_aResourceURL; +} + +::sal_Int16 SAL_CALL UIConfigElementWrapperBase::getType() throw (RuntimeException) +{ + ResetableGuard aLock( m_aLock ); + return m_nType; +} + } |