diff options
Diffstat (limited to 'unotools/source/config/dynamicmenuoptions.cxx')
-rw-r--r-- | unotools/source/config/dynamicmenuoptions.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/config/dynamicmenuoptions.cxx b/unotools/source/config/dynamicmenuoptions.cxx index 98c8aac403de..3872d5a92120 100644 --- a/unotools/source/config/dynamicmenuoptions.cxx +++ b/unotools/source/config/dynamicmenuoptions.cxx @@ -293,8 +293,8 @@ static void lcl_SortAndExpandPropertyNames( const Sequence< OUString >& lSource // Get order numbers from entry name without prefix. // e.g. "m10" => 10 // "m5" => 5 - sal_Int32 n1 = comphelper::string::toInt32(s1.substr( 1 )); - sal_Int32 n2 = comphelper::string::toInt32(s2.substr( 1 )); + sal_Int32 n1 = o3tl::toInt32(s1.substr( 1 )); + sal_Int32 n2 = o3tl::toInt32(s2.substr( 1 )); // MUST be in [0,1] ... because it's a difference between // insert-positions of given entries in sorted list! return( n1<n2 ); |