blob: b18c28226b9539c2889e0d8cae31c6f36aacd95b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
extern "C" {
typedef unsigned char sal_Bool;
typedef struct _rtl_uString {
} rtl_uString;
void rtl_uString_release( rtl_uString * str ) throw ();
}
class OUString {
rtl_uString * pData;
public:
OUString() {}
~OUString() {
rtl_uString_release( pData );
}
sal_Bool equalsIgnoreAsciiCase( const OUString & str ) const;
};
bool findAndRemove();
long getAttributeProps()
{
long nAttrs = 0;
OUString aValue;
if (findAndRemove()
&& aValue.equalsIgnoreAsciiCase(OUString()))
;
else
nAttrs |= 1;
return nAttrs;
}
|