diff options
Diffstat (limited to 'toolkit/source/controls/unocontrols.cxx')
-rw-r--r-- | toolkit/source/controls/unocontrols.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx index bf131832726e..a173d18afb39 100644 --- a/toolkit/source/controls/unocontrols.cxx +++ b/toolkit/source/controls/unocontrols.cxx @@ -59,7 +59,6 @@ #include <tools/time.hxx> #include <algorithm> -#include <functional> #include "helper/imagealign.hxx" #include "helper/unopropertyarrayhelper.hxx" @@ -2067,7 +2066,7 @@ struct ListItem typedef beans::Pair< OUString, OUString > UnoListItem; -struct StripItemData : public ::std::unary_function< ListItem, UnoListItem > +struct StripItemData { UnoListItem operator()( const ListItem& i_rItem ) { @@ -2221,7 +2220,7 @@ uno::Reference< beans::XPropertySetInfo > UnoControlListBoxModel::getPropertySet namespace { - struct CreateListItem : public ::std::unary_function< OUString, ListItem > + struct CreateListItem { ListItem operator()( const OUString& i_rItemText ) { |