fix typos and includes

This commit is contained in:
Caolán McNamara 2011-08-29 00:59:53 +01:00
parent 3829892dbc
commit 3fed9f3b46
2 changed files with 2 additions and 1 deletions

View File

@ -2712,7 +2712,7 @@ bool ScCompiler::IsPredetectedReference( const String& rName )
return false; // :#REF!.AB42 or :#REF!42 or :#REF!#REF!
break;
default:
if (comphelper::string::isalpha(c) &&
if (comphelper::string::isalphaAscii(c) &&
((mnPredetectedReference > 1 && ':' == c2) || 0 == c2))
return false; // AB#REF!: or AB#REF!
}

View File

@ -47,6 +47,7 @@
#include <com/sun/star/uri/XUriReferenceFactory.hpp>
#include <com/sun/star/uri/XVndSunStarExpandUrl.hpp>
#include <comphelper/locale.hxx>
#include <comphelper/string.hxx>
namespace treeview {