Kaydet (Commit) 3fed9f3b authored tarafından Caolán McNamara's avatar Caolán McNamara

fix typos and includes

üst 3829892d
...@@ -2712,7 +2712,7 @@ bool ScCompiler::IsPredetectedReference( const String& rName ) ...@@ -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 @@ ...@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment