diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-09-12 23:24:07 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-17 10:46:27 +0100 |
commit | c20ba023c738c0c76a07c94cb43c0a6d06f12374 (patch) | |
tree | e35855ce7fd3c777a4b12fe6356dc9c46ec99ddb /sc | |
parent | 44aa7df623e7cc113fd81f84e4a0d3de786f311f (diff) |
XubString->OUString
Change-Id: Ic8b191dfb0d14e129dc804aeb4ac14c732e72e6b
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/interpr1.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx index 2fa0bb27aa06..876748cd14a2 100644 --- a/sc/source/core/tool/interpr1.cxx +++ b/sc/source/core/tool/interpr1.cxx @@ -2154,7 +2154,7 @@ inline bool lcl_FormatHasNegColor( const SvNumberformat* pFormat ) inline bool lcl_FormatHasOpenPar( const SvNumberformat* pFormat ) { - return pFormat && (pFormat->GetFormatstring().Search( '(' ) != STRING_NOTFOUND); + return pFormat && (pFormat->GetFormatstring().indexOf('(') != -1); } namespace { |