Upcoming improved loplugin:staticanonymous -> redundantstatic: sax
Change-Id: I9f6a90d41d33350d0ebb72b1bf67527d24ab1dd2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97649 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
@@ -140,7 +140,7 @@ struct Entity
|
||||
};
|
||||
|
||||
|
||||
static constexpr OUStringLiteral gsCDATA = "CDATA";
|
||||
constexpr OUStringLiteral gsCDATA = "CDATA";
|
||||
|
||||
class SaxExpatParser_Impl
|
||||
{
|
||||
|
@@ -42,11 +42,11 @@ using namespace ::com::sun::star::i18n;
|
||||
|
||||
namespace sax {
|
||||
|
||||
static const char* const gpsMM = "mm";
|
||||
static const char* const gpsCM = "cm";
|
||||
static const char* const gpsPT = "pt";
|
||||
static const char* const gpsINCH = "in";
|
||||
static const char* const gpsPC = "pc";
|
||||
const char* const gpsMM = "mm";
|
||||
const char* const gpsCM = "cm";
|
||||
const char* const gpsPT = "pt";
|
||||
const char* const gpsINCH = "in";
|
||||
const char* const gpsPC = "pc";
|
||||
|
||||
const sal_Int8 XML_MAXDIGITSCOUNT_TIME = 14;
|
||||
|
||||
@@ -492,7 +492,7 @@ bool Converter::convertColor( sal_Int32& rColor, const OUString& rValue )
|
||||
return true;
|
||||
}
|
||||
|
||||
static const char aHexTab[] = "0123456789abcdef";
|
||||
const char aHexTab[] = "0123456789abcdef";
|
||||
|
||||
/** convert color to string */
|
||||
void Converter::convertColor( OUStringBuffer& rBuffer, sal_Int32 nColor )
|
||||
|
@@ -42,15 +42,15 @@ using ::com::sun::star::io::XOutputStream;
|
||||
// number of characters without terminating 0
|
||||
#define N_CHARS(string) (SAL_N_ELEMENTS(string) - 1)
|
||||
|
||||
static const char sClosingBracket[] = ">";
|
||||
static const char sSlashAndClosingBracket[] = "/>";
|
||||
static const char sColon[] = ":";
|
||||
static const char sOpeningBracket[] = "<";
|
||||
static const char sOpeningBracketAndSlash[] = "</";
|
||||
static const char sQuote[] = "\"";
|
||||
static const char sEqualSignAndQuote[] = "=\"";
|
||||
static const char sSpace[] = " ";
|
||||
static const char sXmlHeader[] = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n";
|
||||
const char sClosingBracket[] = ">";
|
||||
const char sSlashAndClosingBracket[] = "/>";
|
||||
const char sColon[] = ":";
|
||||
const char sOpeningBracket[] = "<";
|
||||
const char sOpeningBracketAndSlash[] = "</";
|
||||
const char sQuote[] = "\"";
|
||||
const char sEqualSignAndQuote[] = "=\"";
|
||||
const char sSpace[] = " ";
|
||||
const char sXmlHeader[] = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n";
|
||||
|
||||
namespace sax_fastparser {
|
||||
FastSaxSerializer::FastSaxSerializer( const css::uno::Reference< css::io::XOutputStream >& xOutputStream )
|
||||
|
Reference in New Issue
Block a user