diff options
Diffstat (limited to 'tools/bootstrp')
-rw-r--r-- | tools/bootstrp/prj.cxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tools/bootstrp/prj.cxx b/tools/bootstrp/prj.cxx index 0f15bb7265d5..d6432e9f3f79 100644 --- a/tools/bootstrp/prj.cxx +++ b/tools/bootstrp/prj.cxx @@ -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' ); |