From 2c10714426cc813c36aa82e4870b7b51c5c03050 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sun, 28 Aug 2016 09:47:27 +0200 Subject: 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 Reviewed-by: Stephan Bergmann --- compilerplugins/clang/stringstatic.cxx | 7 ------- 1 file changed, 7 deletions(-) (limited to 'compilerplugins/clang/stringstatic.cxx') diff --git a/compilerplugins/clang/stringstatic.cxx b/compilerplugins/clang/stringstatic.cxx index 4ddac65d7e07..823fc7bab4b3 100644 --- a/compilerplugins/clang/stringstatic.cxx +++ b/compilerplugins/clang/stringstatic.cxx @@ -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() -- cgit