GetCommandLineParamCount() returns sal_uInt16

Change-Id: Ie85f3a44034ffcfe08493256bc65e49b63a28013
This commit is contained in:
Matteo Casalin
2015-09-12 14:18:47 +02:00
parent 1ea153bb32
commit 815126b685
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -281,7 +281,7 @@ int GalApp::Main()
OUString aName( "Default name" );
std::vector<INetURLObject> aFiles;
for( sal_uInt32 i = 0; i < GetCommandLineParamCount(); i++ )
for( sal_uInt16 i = 0; i < GetCommandLineParamCount(); ++i )
{
OUString aParam = GetCommandLineParam( i );
+1 -1
View File
@@ -114,7 +114,7 @@ protected:
{
try
{
sal_uInt32 nCmdParams = GetCommandLineParamCount();
const sal_uInt16 nCmdParams = GetCommandLineParamCount();
if (nCmdParams == 0)
showHelp();
+1 -1
View File
@@ -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);