diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-08-16 01:18:21 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-08-16 21:22:45 -0400 |
commit | 60d60caf99a40ca0c3891bf230c5a1fdbae5f49c (patch) | |
tree | 68dd8bced3df8fd52ff56842ca5b7e0f19c0a8a1 /sc | |
parent | 11207ae93191fb966676423e6d377c8292a8cf0b (diff) |
Renamed XPropertySet2 to XPropertySetOption.
To avoid making it appear to be a derived interface of XPropertySet
when it's not.
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/ftools/fapihelper.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sc/source/filter/ftools/fapihelper.cxx b/sc/source/filter/ftools/fapihelper.cxx index 23caa369faa8..dba3480e4861 100644 --- a/sc/source/filter/ftools/fapihelper.cxx +++ b/sc/source/filter/ftools/fapihelper.cxx @@ -34,7 +34,7 @@ #include <com/sun/star/lang/XServiceName.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/beans/XPropertyState.hpp> -#include <com/sun/star/beans/XPropertySet2.hpp> +#include <com/sun/star/beans/XPropertySetOption.hpp> #include <comphelper/docpasswordhelper.hxx> #include <comphelper/processfactory.hxx> #include <tools/urlobj.hxx> @@ -169,18 +169,18 @@ uno::Sequence< beans::NamedValue > ScfApiHelper::QueryEncryptionDataForMedium( S ScfPropertySet::~ScfPropertySet() { - Reference<beans::XPropertySet2> xPropSet2(mxPropSet, UNO_QUERY); - if (xPropSet2.is()) - xPropSet2->enableChangeListenerNotification(true); + Reference<beans::XPropertySetOption> xPropSetOpt(mxPropSet, UNO_QUERY); + if (xPropSetOpt.is()) + xPropSetOpt->enableChangeListenerNotification(true); } void ScfPropertySet::Set( Reference< XPropertySet > xPropSet ) { mxPropSet = xPropSet; mxMultiPropSet.set( mxPropSet, UNO_QUERY ); - Reference<beans::XPropertySet2> xPropSet2(mxPropSet, UNO_QUERY); - if (xPropSet2.is()) - xPropSet2->enableChangeListenerNotification(false); + Reference<beans::XPropertySetOption> xPropSetOpt(mxPropSet, UNO_QUERY); + if (xPropSetOpt.is()) + xPropSetOpt->enableChangeListenerNotification(false); } OUString ScfPropertySet::GetServiceName() const |