Kaydet (Commit) f488aed4 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#706150 Copy into fixed size buffer

Change-Id: Iee86d6233771a9e07a037257786e928c6f18addd
üst df29ac90
...@@ -127,17 +127,12 @@ public: ...@@ -127,17 +127,12 @@ public:
void incError( const char* pStr ) const; void incError( const char* pStr ) const;
// ++nError with output to stderr // ++nError with output to stderr
void incError( const OUString& rStr ) const; void incError( const OUString& rStr ) const;
// ++nError with output to stderr, pStr should contain "%d", otherwise appended // ++nError with output to stderr, pStr should contain "%d"
void incErrorInt( const char* pStr, int nVal ) const; void incErrorInt( const char* pStr, int nVal ) const;
// ++nError with output to stderr, pStr should contain "%s", otherwise appended // ++nError with output to stderr, pStr should contain "%s"
void incErrorStr( const char* pStr, const OUString& rVal ) const; void incErrorStr( const char* pStr, const OUString& rVal ) const;
// ++nError with output to stderr, pStr should contain "%s %s", otherwise // ++nError with output to stderr, pStr should contain "%s %s"
// appended
void incErrorStrStr( const char* pStr, const OUString& rVal1, const OUString& rVal2 ) const; void incErrorStrStr( const char* pStr, const OUString& rVal1, const OUString& rVal2 ) const;
// used by incError...(), returns a pointer to a static buffer,
// pDefaultConversion is appended if pFormat doesn't contain a %
// specification and should be something like ": %d" or ": %s" or similar.
char* prepareErrorFormat( const char* pFormat, const char* pDefaultConversion ) const;
static LocaleNode* createNode (const OUString& name,const Reference< XAttributeList > & attr); static LocaleNode* createNode (const OUString& name,const Reference< XAttributeList > & attr);
}; };
......
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