diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-03-29 02:08:01 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-03-29 02:08:32 +0200 |
commit | 9eeee5466fba5a3ff1de6d47b6341d83cf14c275 (patch) | |
tree | 954ed8aed74bcde1b1efb3c481825e336c90ae61 /include/comphelper/property.hxx | |
parent | 5215ae54437d2cdc017e49b5b518c4e6a8fb2d50 (diff) |
Bin superfluous whitespace, ASCII art and useless comments
Change-Id: Ic70fe69f407e49604b056cdcb92aa3d656e1aeaf
Diffstat (limited to 'include/comphelper/property.hxx')
-rw-r--r-- | include/comphelper/property.hxx | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/comphelper/property.hxx b/include/comphelper/property.hxx index 56c0f6a019b8..7be8761fb128 100644 --- a/include/comphelper/property.hxx +++ b/include/comphelper/property.hxx @@ -28,17 +28,9 @@ #include <comphelper/comphelperdllapi.h> #include <cppu/unotype.hxx> - -//= property helper classes - - -//... namespace comphelper ....................................................... namespace comphelper { -/** compare two properties by name -*/ - // comparing two property instances struct PropertyCompareByName : public ::std::binary_function< ::com::sun::star::beans::Property, ::com::sun::star::beans::Property, bool > { @@ -48,9 +40,6 @@ namespace comphelper } }; - - /** compare two properties by name - */ struct PropertyStringEqualFunctor : ::std::binary_function< ::com::sun::star::beans::Property, OUString, bool > { @@ -65,7 +54,6 @@ namespace comphelper } }; - // comparing two property instances struct PropertyEqualByName : public ::std::binary_function< ::com::sun::star::beans::Property, ::com::sun::star::beans::Property, bool > { bool operator() (const ::com::sun::star::beans::Property& x, const ::com::sun::star::beans::Property& y) const @@ -74,11 +62,9 @@ namespace comphelper } }; - /// remove the property with the given name from the given sequence COMPHELPER_DLLPUBLIC void RemoveProperty(css::uno::Sequence<css::beans::Property>& seqProps, const OUString& _rPropName); - /** within the given property sequence, modify attributes of a special property @param _rProps the sequence of properties to search in @param _sPropName the name of the property which's attributes should be modified @@ -87,22 +73,16 @@ COMPHELPER_DLLPUBLIC void RemoveProperty(css::uno::Sequence<css::beans::Property */ COMPHELPER_DLLPUBLIC void ModifyPropertyAttributes(css::uno::Sequence<css::beans::Property>& _rProps, const OUString& _sPropName, sal_Int16 _nAddAttrib, sal_Int16 _nRemoveAttrib); - /** check if the given set has the given property. */ COMPHELPER_DLLPUBLIC bool hasProperty(const OUString& _rName, const css::uno::Reference<css::beans::XPropertySet>& _rxSet); - /** copy properties between property sets, in compliance with the property attributes of the target object */ COMPHELPER_DLLPUBLIC void copyProperties(const css::uno::Reference<css::beans::XPropertySet>& _rxSource, const css::uno::Reference<css::beans::XPropertySet>& _rxDest); - -//= property conversion helpers - - /** helper for implementing ::cppu::OPropertySetHelper::convertFastPropertyValue @param _rConvertedValue the conversion result (if successful) @param _rOldValue the old value of the property, calculated from _rCurrentValue @@ -192,9 +172,7 @@ inline bool tryPropertyValue(css::uno::Any& /*out*/_rConvertedValue, css::uno::A */ COMPHELPER_DLLPUBLIC bool tryPropertyValue(css::uno::Any& _rConvertedValue, css::uno::Any& _rOldValue, const css::uno::Any& _rValueToSet, const css::uno::Any& _rCurrentValue, const css::uno::Type& _rExpectedType); - } -//... namespace comphelper ....................................................... #endif // INCLUDED_COMPHELPER_PROPERTY_HXX |