Make OUStringLiteral1 a wrapper around UTF-16 instead of just ASCII
...not merely an ASCII character Change-Id: Id2b381b35fe3a15574728ed973d60263dfef7249 Reviewed-on: https://gerrit.libreoffice.org/28446 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
@@ -66,13 +66,6 @@ bool StringStatic::VisitVarDecl(VarDecl const* varDecl)
|
||||
if (ignoreLocation(varDecl)) {
|
||||
return true;
|
||||
}
|
||||
// We could use OUStringLiteral1 here, but we'd need to update OUStringLiteral1 to allow BMP chars first:
|
||||
if (compiler.getSourceManager().getFilename(varDecl->getLocation())
|
||||
== SRCDIR "/chart2/inc/SpecialUnicodes.hxx")
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
QualType qt = varDecl->getType();
|
||||
if (!varDecl->hasGlobalStorage()
|
||||
|| !varDecl->isThisDeclarationADefinition()
|
||||
|
Reference in New Issue
Block a user