diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-04 12:01:57 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-04 12:03:15 +0300 |
commit | d0889dd36be48a02d4042f6b29ec7e477d95fd19 (patch) | |
tree | b6ace03e888303062229ce6fe07c4354fa0f1c21 /l10ntools | |
parent | b58151b34794b9c2f980310d7e32236652de4a1e (diff) |
WaE: return: conversion from sal_uInt32 to sal_uInt16, possible loss of data
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/inc/l10ntools/vosapp.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/l10ntools/inc/l10ntools/vosapp.hxx b/l10ntools/inc/l10ntools/vosapp.hxx index e8e97fb71fef..ee7d3a49c9b9 100644 --- a/l10ntools/inc/l10ntools/vosapp.hxx +++ b/l10ntools/inc/l10ntools/vosapp.hxx @@ -18,7 +18,15 @@ public: // Urg: Cut & Paste from svapp.cxx: we don't want to depend on vcl 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(); +#ifdef _MSC_VER +#pragma warning (pop) +#endif } XubString Application::GetCommandLineParam( sal_uInt16 nParam ) |