summaryrefslogtreecommitdiff
path: root/source/dpdimension.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'source/dpdimension.cxx')
-rw-r--r--source/dpdimension.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/dpdimension.cxx b/source/dpdimension.cxx
index 66db901..f9a6cec 100644
--- a/source/dpdimension.cxx
+++ b/source/dpdimension.cxx
@@ -1,6 +1,7 @@
#include "dpdimension.hxx"
#include "dphierarchies.hxx"
+#include "dpsource.hxx"
using ::com::sun::star::beans::XPropertyChangeListener;
using ::com::sun::star::beans::XVetoableChangeListener;
@@ -55,7 +56,8 @@ private:
namespace dpsource {
-DPDimension::DPDimension()
+DPDimension::DPDimension(SourceProvider* pSrc) :
+ mpSource(pSrc)
{
}
@@ -80,7 +82,7 @@ void DPDimension::setName(const OUString& aName) throw (RuntimeException)
Reference<XNameAccess> DPDimension::getHierarchies() throw (RuntimeException)
{
if (!mxHierarchies.is())
- mxHierarchies.set(new DPHierarchies(this));
+ mxHierarchies.set(new DPHierarchies(mpSource, this));
return mxHierarchies;
}
@@ -88,14 +90,15 @@ Reference<XNameAccess> DPDimension::getHierarchies() throw (RuntimeException)
Reference<XPropertySetInfo> DPDimension::getPropertySetInfo() throw (RuntimeException)
{
+ StackPrinter __stack_printer__("dpsource/DPDimension::getPropertySetInfo");
return Reference<XPropertySetInfo>();
}
void DPDimension::setPropertyValue(const OUString& aPropertyName, const Any& aValue)
throw (UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException, RuntimeException)
{
- StackPrinter __stack_printer__("dpsource/DPDimension::setPropertyValue");
fprintf(stdout, "DPDimension::setPropertyValue: prop name = '%s'\n", rtl::OUStringToOString(aPropertyName, RTL_TEXTENCODING_UTF8).getStr());
+ StrID nPropName = mpSource->getSharedStrings().getStringId(aPropertyName);
}
Any DPDimension::getPropertyValue(const OUString& aPropertyName)