summaryrefslogtreecommitdiff
path: root/test/source/beans/xpropertyset.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-04-30 16:26:07 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-04-30 16:26:07 -0400
commit5c03dca7a983b40e2870f9b72850a80e8766b157 (patch)
tree7c776a05a9df8919a819aa6bc834ad789f031f67 /test/source/beans/xpropertyset.cxx
parent8ac758d5490c53df5e8ec539c37af062bedc72fa (diff)
More descriptive method name.
Change-Id: I7f0d68ee59e7a36254267d652de398cc371c7f8c
Diffstat (limited to 'test/source/beans/xpropertyset.cxx')
-rw-r--r--test/source/beans/xpropertyset.cxx5
1 files changed, 3 insertions, 2 deletions
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);