diff options
author | Noel Grandin <noel@peralex.com> | 2013-12-03 12:09:30 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-12-04 08:55:34 +0200 |
commit | 39c8524f7d9180fe500e1b5d9a272cabd72399e9 (patch) | |
tree | 79d760584089b46063d3655d6813b405f9230588 /vcl/workben | |
parent | aa4a39c9d754d0f7e953a3a642db5ad15053c63f (diff) |
remove some STRING_NOTFOUND usage
from old, probably dead code. Completely untested. But at
least it's not in my grep results anymore.
Change-Id: I9d917d0558bcab25a48fa36140beaa92150b62c9
Diffstat (limited to 'vcl/workben')
-rw-r--r-- | vcl/workben/svpclient.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/workben/svpclient.cxx b/vcl/workben/svpclient.cxx index 54a51d9cbcff..9125cb1120ca 100644 --- a/vcl/workben/svpclient.cxx +++ b/vcl/workben/svpclient.cxx @@ -231,9 +231,9 @@ IMPL_LINK( MyWin, QuitHdl, Button*, ) IMPL_LINK( MyWin, SelectHdl, ListBox*, ) { - String aEntry = m_aSvpBitmaps.GetSelectEntry(); - sal_uInt16 nPos = aEntry.SearchAscii( ": " ); - if( nPos != STRING_NOTFOUND ) + OUString aEntry = m_aSvpBitmaps.GetSelectEntry(); + sal_Int32 nPos = aEntry.indexOf( ": " ); + if( nPos != -1 ) { OStringBuffer aCommand( 64 ); aCommand.append( "get " ); |