diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-04-12 17:40:11 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-04-12 19:12:31 +0200 |
commit | 9617741fdfc0b22ff39d2195af5a2966f4fe51e2 (patch) | |
tree | 7d3eedbccd21ddde6f98c804db9d8efba0335b86 /basic | |
parent | e348c88d3d8db2b6a443a4811d815f40ac17fb44 (diff) |
basic: SbCompare_UString_PropertyValue_Impl MSVC workaround
MSVC 2008 with _DEBUG calls this with parameters in wrong order so needs
another overload to make it happy.
Change-Id: I906483ecf5325d7aa742e3d93afb151501374abb
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/classes/propacc.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/basic/source/classes/propacc.cxx b/basic/source/classes/propacc.cxx index bbde71325960..67cd65a8d729 100644 --- a/basic/source/classes/propacc.cxx +++ b/basic/source/classes/propacc.cxx @@ -60,6 +60,12 @@ struct SbCompare_UString_PropertyValue_Impl { return lhs.Name.compareTo(rhs) < 0; } +#ifdef DBG_UTIL + bool operator() (PropertyValue const & lhs, const PropertyValue& rhs) + { + return lhs.Name.compareTo(rhs.Name) < 0; + } +#endif }; int CDECL SbCompare_Properties_Impl( const void *arg1, const void *arg2 ) |