summaryrefslogtreecommitdiff
path: root/framework/source/helper/uielementwrapperbase.cxx
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2010-06-10 10:33:55 +0200
committerNiklas Nebel <nn@openoffice.org>2010-06-10 10:33:55 +0200
commit88e530cb0c153655e43a5ee557421dc8dbdf2002 (patch)
tree79e1db44b816aa0c5c94de31410ecd64b0f4c686 /framework/source/helper/uielementwrapperbase.cxx
parenta8edc64ce0b3e6238a704218b84247a5e63dedbb (diff)
parente03596eaf693b9809cffe86c21658a5ce381d6c3 (diff)
calc55: merge with DEV300_m81
Diffstat (limited to 'framework/source/helper/uielementwrapperbase.cxx')
-rw-r--r--framework/source/helper/uielementwrapperbase.cxx17
1 files changed, 17 insertions, 0 deletions
diff --git a/framework/source/helper/uielementwrapperbase.cxx b/framework/source/helper/uielementwrapperbase.cxx
index 85bb1cdb1e60..6329f94b3063 100644
--- a/framework/source/helper/uielementwrapperbase.cxx
+++ b/framework/source/helper/uielementwrapperbase.cxx
@@ -151,6 +151,23 @@ throw ( Exception, RuntimeException )
}
}
+// XUIElement
+::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > SAL_CALL UIElementWrapperBase::getFrame() throw (::com::sun::star::uno::RuntimeException)
+{
+ ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > xFrame( m_xWeakFrame );
+ return xFrame;
+}
+
+::rtl::OUString SAL_CALL UIElementWrapperBase::getResourceURL() throw (::com::sun::star::uno::RuntimeException)
+{
+ return m_aResourceURL;
+}
+
+::sal_Int16 SAL_CALL UIElementWrapperBase::getType() throw (::com::sun::star::uno::RuntimeException)
+{
+ return m_nType;
+}
+
// XUpdatable
void SAL_CALL UIElementWrapperBase::update() throw (::com::sun::star::uno::RuntimeException)
{