summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/inc/test/beans/xpropertyset.hxx2
-rw-r--r--test/source/beans/xpropertyset.cxx5
2 files changed, 4 insertions, 3 deletions
diff --git a/test/inc/test/beans/xpropertyset.hxx b/test/inc/test/beans/xpropertyset.hxx
index 747954193a9d..c69024cf1152 100644
--- a/test/inc/test/beans/xpropertyset.hxx
+++ b/test/inc/test/beans/xpropertyset.hxx
@@ -57,7 +57,7 @@ public:
void testRemoveVetoableChangeListener();
protected:
- virtual bool isChangeable(const rtl::OUString& rName);
+ virtual bool isPropertyValueChangeable(const rtl::OUString& rName);
private:
void fillPropsToTest(const uno::Reference<beans::XPropertySetInfo>& xPropInfo);
diff --git a/test/source/beans/xpropertyset.cxx b/test/source/beans/xpropertyset.cxx
index 1c833907b895..ffa1a01cefff 100644
--- a/test/source/beans/xpropertyset.cxx
+++ b/test/source/beans/xpropertyset.cxx
@@ -69,6 +69,7 @@ void XPropertySet::testAddVetoableChangeListener()
void XPropertySet::testSetPropertyValue()
{
testGetPropertySetInfo();
+ uno::Reference<beans::XPropertySet> xPropSet(init(), UNO_QUERY_THROW);
// TODO: implement this.
}
@@ -103,7 +104,7 @@ void XPropertySet::testRemoveVetoableChangeListener()
// TODO: implement this.
}
-bool XPropertySet::isChangeable(const rtl::OUString& rName)
+bool XPropertySet::isPropertyValueChangeable(const rtl::OUString& rName)
{
uno::Reference<beans::XPropertySet> xPropSet(init(), UNO_QUERY_THROW);
try
@@ -177,7 +178,7 @@ void XPropertySet::fillPropsToTest(const uno::Reference<beans::XPropertySetInfo>
bool bBound = (aProp.Attributes & beans::PropertyAttribute::BOUND) != 0;
bool bConstrained = (aProp.Attributes & beans::PropertyAttribute::CONSTRAINED) != 0;
- bool bCanChange = isChangeable(aProp.Name);
+ bool bCanChange = isPropertyValueChangeable(aProp.Name);
if (bBound && bCanChange)
maPropsToTest.bound.push_back(aProp.Name);