From 3fed9f3b46ecf5e7bcccb6a04311621860fbafbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Mon, 29 Aug 2011 00:59:53 +0100 Subject: [PATCH] fix typos and includes --- sc/source/core/tool/compiler.cxx | 2 +- xmlhelp/source/treeview/tvread.cxx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index f8199a6ecadc..3f227b4d08a9 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -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! } diff --git a/xmlhelp/source/treeview/tvread.cxx b/xmlhelp/source/treeview/tvread.cxx index b07c2421f05f..0640ee7dfe03 100644 --- a/xmlhelp/source/treeview/tvread.cxx +++ b/xmlhelp/source/treeview/tvread.cxx @@ -47,6 +47,7 @@ #include #include #include +#include namespace treeview {