diff options
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxtoolkit.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index 622a2981e73a..682d4365e217 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -761,10 +761,12 @@ static ComponentInfo const aComponentInfos [] = { OUStringLiteral("workwindow"), WindowType::WORKWINDOW } }; +#if !defined NDEBUG bool ComponentInfoCompare( const ComponentInfo & lhs, const ComponentInfo & rhs) { return rtl_str_compare_WithLength(lhs.sName.data, lhs.sName.size, rhs.sName.data, rhs.sName.size) < 0; } +#endif bool ComponentInfoFindCompare( const ComponentInfo & lhs, const OUString & s) { |