fix typos and includes
This commit is contained in:
@@ -2712,7 +2712,7 @@ bool ScCompiler::IsPredetectedReference( const String& rName )
|
|||||||
return false; // :#REF!.AB42 or :#REF!42 or :#REF!#REF!
|
return false; // :#REF!.AB42 or :#REF!42 or :#REF!#REF!
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if (comphelper::string::isalpha(c) &&
|
if (comphelper::string::isalphaAscii(c) &&
|
||||||
((mnPredetectedReference > 1 && ':' == c2) || 0 == c2))
|
((mnPredetectedReference > 1 && ':' == c2) || 0 == c2))
|
||||||
return false; // AB#REF!: or AB#REF!
|
return false; // AB#REF!: or AB#REF!
|
||||||
}
|
}
|
||||||
|
@@ -47,6 +47,7 @@
|
|||||||
#include <com/sun/star/uri/XUriReferenceFactory.hpp>
|
#include <com/sun/star/uri/XUriReferenceFactory.hpp>
|
||||||
#include <com/sun/star/uri/XVndSunStarExpandUrl.hpp>
|
#include <com/sun/star/uri/XVndSunStarExpandUrl.hpp>
|
||||||
#include <comphelper/locale.hxx>
|
#include <comphelper/locale.hxx>
|
||||||
|
#include <comphelper/string.hxx>
|
||||||
|
|
||||||
namespace treeview {
|
namespace treeview {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user