Kaydet (Commit) c2e8470f authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: 'argument' : conversion from 'sal_Int32' to 'sal_uInt16'

Just disable the warning then instead to avoid ugly casts.
üst 588a0d58
...@@ -62,7 +62,15 @@ rtl::OString SimpleConfig::getNext() ...@@ -62,7 +62,15 @@ rtl::OString SimpleConfig::getNext()
return rtl::OString(); return rtl::OString();
rtl::OString aString = comphelper::string::getToken(aStringBuffer, 0, '\t'); 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' ); aStringBuffer.EraseLeadingChars( '\t' );
......
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