Kaydet (Commit) 63d94a6c authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Fix check for aMinusSign in chart2/inc/SpecialUnicodes.hxx

Change-Id: I15e344874d90cc38acb219e7c07579d68af89043
üst aff3d8db
......@@ -47,9 +47,6 @@ void StringStatic::run()
// has a mix of literals and and refs to external OUStrings
if (fn == SRCDIR "/ucb/source/ucp/webdav-neon/ContentProperties.cxx")
return;
// we could use OUStringLiteral1 here, but we'd need to update OUStringLiteral1 to allow BMP chars first
if (fn == SRCDIR "/include/chart2/SpecialUnicodes.hxx")
return;
TraverseDecl(compiler.getASTContext().getTranslationUnitDecl());
......@@ -69,6 +66,12 @@ 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()
......
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