diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-04-07 12:06:47 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-04-07 14:23:11 +0200 |
commit | 1946794ae09ba732022fe6a74ea45e304ab70b84 (patch) | |
tree | e32bd7ba61fa021ecc7f8c85959df8ca837d6e81 /test/source/beans/xpropertyset.cxx | |
parent | 5b08c6e7a21dda94d5b755eea0b1ed1e9c199bec (diff) |
mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).
Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
Diffstat (limited to 'test/source/beans/xpropertyset.cxx')
-rw-r--r-- | test/source/beans/xpropertyset.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/source/beans/xpropertyset.cxx b/test/source/beans/xpropertyset.cxx index 387710226c9d..f7bd4e1d7849 100644 --- a/test/source/beans/xpropertyset.cxx +++ b/test/source/beans/xpropertyset.cxx @@ -108,7 +108,7 @@ void XPropertySet::testRemoveVetoableChangeListener() // TODO: implement this. } -bool XPropertySet::isPropertyValueChangeable(const rtl::OUString& rName) +bool XPropertySet::isPropertyValueChangeable(const OUString& rName) { uno::Reference<beans::XPropertySet> xPropSet(init(), UNO_QUERY_THROW); try @@ -163,11 +163,11 @@ bool XPropertySet::isPropertyValueChangeable(const rtl::OUString& rName) double fNew = fOld + 1.3; xPropSet->setPropertyValue(rName, makeAny(fNew)); } - else if (type == getCppuType<rtl::OUString>()) + else if (type == getCppuType<OUString>()) { // string type - rtl::OUString aOld = any.get<rtl::OUString>(); - rtl::OUString aNew = aOld + rtl::OUString("foo"); + OUString aOld = any.get<OUString>(); + OUString aNew = aOld + OUString("foo"); xPropSet->setPropertyValue(rName, makeAny(aNew)); } else if (type == getCppuType<util::DateTime>()) @@ -203,7 +203,7 @@ void XPropertySet::fillPropsToTest(const uno::Reference<beans::XPropertySetInfo> // some properties should not be changed in a unspecific way. // TODO: Maybe we should mark these properties read-only, instead of // giving them a special treatment here? - std::set<rtl::OUString> aSkip; + std::set<OUString> aSkip; aSkip.insert("PrinterName"); aSkip.insert("CharRelief"); aSkip.insert("IsLayerMode"); @@ -241,7 +241,7 @@ void XPropertySet::fillPropsToTest(const uno::Reference<beans::XPropertySetInfo> } bool XPropertySet::getSinglePropertyValue( - const uno::Reference<beans::XPropertySet>& xPropSet, const rtl::OUString& rName) + const uno::Reference<beans::XPropertySet>& xPropSet, const OUString& rName) { try { |