WaE: 'argument' : conversion from 'sal_Int32' to 'sal_uInt16'
Just disable the warning then instead to avoid ugly casts.
This commit is contained in:
parent
588a0d58d2
commit
c2e8470f17
1 changed files with 9 additions and 1 deletions
|
@ -62,7 +62,15 @@ rtl::OString SimpleConfig::getNext()
|
|||
return rtl::OString();
|
||||
|
||||
rtl::OString aString = comphelper::string::getToken(aStringBuffer, 0, '\t');
|
||||
aStringBuffer.Erase(0, (sal_uInt16)aString.getLength()+1);
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning (push)
|
||||
#pragma warning (disable:4244)
|
||||
#endif
|
||||
aStringBuffer.Erase(0, aString.getLength()+1);
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning (pop)
|
||||
#endif
|
||||
|
||||
aStringBuffer.EraseLeadingChars( '\t' );
|
||||
|
||||
|
|
Loading…
Reference in a new issue