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

WaE: return: conversion from sal_uInt32 to sal_uInt16, possible loss of data

üst b58151b3
...@@ -18,7 +18,15 @@ public: ...@@ -18,7 +18,15 @@ public:
// Urg: Cut & Paste from svapp.cxx: we don't want to depend on vcl // Urg: Cut & Paste from svapp.cxx: we don't want to depend on vcl
sal_uInt16 Application::GetCommandLineParamCount() sal_uInt16 Application::GetCommandLineParamCount()
{ {
#ifdef _MSC_VER
// Avoid using a cast, instead just disable the warning, sigh...
#pragma warning (push)
#pragma warning (disable:4244)
#endif
return osl_getCommandArgCount(); return osl_getCommandArgCount();
#ifdef _MSC_VER
#pragma warning (pop)
#endif
} }
XubString Application::GetCommandLineParam( sal_uInt16 nParam ) XubString Application::GetCommandLineParam( sal_uInt16 nParam )
......
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