summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-09-12 23:24:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-09-17 10:46:27 +0100
commitc20ba023c738c0c76a07c94cb43c0a6d06f12374 (patch)
treee35855ce7fd3c777a4b12fe6356dc9c46ec99ddb /sc
parent44aa7df623e7cc113fd81f84e4a0d3de786f311f (diff)
XubString->OUString
Change-Id: Ic8b191dfb0d14e129dc804aeb4ac14c732e72e6b
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/interpr1.cxx2
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 {