summaryrefslogtreecommitdiff
path: root/cppuhelper/source/propshlp.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-09-20 13:25:51 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-09-20 13:25:51 +0000
commit3e2478bdc6368a6f851f999c23a01fd13cc5b33b (patch)
tree5a7e1239a6edc9c4391e6cd3c4f805b026aa2c0a /cppuhelper/source/propshlp.cxx
parent5d2646798457910b7d1fb521cc4f1fd10a0ae6ea (diff)
INTEGRATION: CWS os2port01 (1.14.16); FILE MERGED
2007/07/13 14:14:51 obr 1.14.16.2: RESYNC: (1.14-1.17); FILE MERGED 2006/12/28 14:53:53 ydario 1.14.16.1: OS/2 initial import.
Diffstat (limited to 'cppuhelper/source/propshlp.cxx')
-rw-r--r--cppuhelper/source/propshlp.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/cppuhelper/source/propshlp.cxx b/cppuhelper/source/propshlp.cxx
index fb89aba15ad0..acd1ea5b6999 100644
--- a/cppuhelper/source/propshlp.cxx
+++ b/cppuhelper/source/propshlp.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: propshlp.cxx,v $
*
- * $Revision: 1.17 $
+ * $Revision: 1.18 $
*
- * last change: $Author: kz $ $Date: 2007-05-15 12:18:23 $
+ * last change: $Author: vg $ $Date: 2007-09-20 14:25:51 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -983,9 +983,11 @@ void OPropertyArrayHelper::init( sal_Bool bSorted ) SAL_THROW( () )
{
if( pProperties[i-1].Name >= pProperties[i].Name )
{
+#ifndef OS2 // YD disabled, too many troubles with debug builds!
if (bSorted) {
OSL_ENSURE( false, "Property array is not sorted" );
}
+#endif
// not sorted
qsort( aInfos.getArray(), nElements, sizeof( Property ),
compare_Property_Impl );