diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-08-29 23:55:46 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-09-12 14:18:47 +0200 |
commit | 815126b685efdb117fa02f2627414bfbd07d0e5b (patch) | |
tree | f03cffa1603ef4f297bd42abadfa96275cef9ba1 /vcl/workben | |
parent | 1ea153bb320142622427cbc8d637ddb40c822f4a (diff) |
GetCommandLineParamCount() returns sal_uInt16
Change-Id: Ie85f3a44034ffcfe08493256bc65e49b63a28013
Diffstat (limited to 'vcl/workben')
-rw-r--r-- | vcl/workben/mtfdemo.cxx | 2 | ||||
-rw-r--r-- | vcl/workben/vcldemo.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/workben/mtfdemo.cxx b/vcl/workben/mtfdemo.cxx index 8f5171ea064c..dd17a571d006 100644 --- a/vcl/workben/mtfdemo.cxx +++ b/vcl/workben/mtfdemo.cxx @@ -114,7 +114,7 @@ protected: { try { - sal_uInt32 nCmdParams = GetCommandLineParamCount(); + const sal_uInt16 nCmdParams = GetCommandLineParamCount(); if (nCmdParams == 0) showHelp(); diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx index a323ab4156e3..ff79a6e125b9 100644 --- a/vcl/workben/vcldemo.cxx +++ b/vcl/workben/vcldemo.cxx @@ -1785,7 +1785,7 @@ public: bool bPopup = false, bGLTest = false; DemoRenderer aRenderer; - for (sal_Int32 i = 0; i < GetCommandLineParamCount(); i++) + for (sal_uInt16 i = 0; i < GetCommandLineParamCount(); ++i) { bool bLast = i == GetCommandLineParamCount() - 1; OUString aArg = GetCommandLineParam(i); |