Kaydet (Commit) 11792080 authored tarafından Jan Holesovsky's avatar Jan Holesovsky
......@@ -1252,6 +1252,14 @@ int HTMLParser::_GetNextToken()
if( '>' != nNextCh && IsParserWorking() )
{
ScanText( '>' );
// fdo#34666: closing "/>"?:
// return HTML_UNKNOWNCONTROL_OFF instead of
// HTML_UNKNOWNCONTROL_ON
if (aToken.Len() >= 1 && '/' == aToken.GetChar(aToken.Len()-1)) {
if (HTML_UNKNOWNCONTROL_ON == nRet)
nRet = HTML_UNKNOWNCONTROL_OFF;
}
if( sal_Unicode(EOF) == nNextCh && rInput.IsEof() )
{
// zurueck hinter die < gehen und dort neu
......
......@@ -145,32 +145,6 @@ inline void DoubleToSVBT64( double n, SVBT64 p ) { p[0] = ((sal_uInt8*)&n)[7
#endif
#endif
/*** standard floating point definitions *******************************/
#ifndef F_PI
#define F_PI 3.14159265358979323846
#endif
#ifndef F_PI2
#define F_PI2 1.57079632679489661923
#endif
#ifndef F_PI4
#define F_PI4 0.785398163397448309616
#endif
#ifndef F_PI180
#define F_PI180 0.01745329251994
#endif
#ifndef F_PI1800
#define F_PI1800 0.001745329251994
#endif
#ifndef F_PI18000
#define F_PI18000 0.0001745329251994
#endif
#ifndef F_2PI
#define F_2PI 6.28318530717958647694
#endif
/*** standard macros *****************************************/
#define SWAPSHORT(x) ((((x) >> 8) & 0x00FF) | (((x) & 0x00FF) << 8))
......
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