diff options
-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 ) |