Probably makes more sense to return DONTKNOW if the element is DONTKNOW ...
... and not the namespace token without any element token ORed in. DONTKNOW is what the two callers look for. Does not break any unit test. (Does not fix the bug I am investigating either, though.) Change-Id: Ibd75ee06797d7b62476d4bf2302338b2bb3266d4
This commit is contained in:
@@ -120,7 +120,9 @@ namespace DOM
|
||||
{
|
||||
nNamespaceToken = aIter->mnToken;
|
||||
sal_Int32 nNameToken = getToken( rContext, pName );
|
||||
if( nNameToken != FastToken::DONTKNOW )
|
||||
if( nNameToken == FastToken::DONTKNOW )
|
||||
nNamespaceToken = FastToken::DONTKNOW;
|
||||
else
|
||||
nNamespaceToken |= nNameToken;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user