GetCommandLineParamCount() returns sal_uInt16
Change-Id: Ie85f3a44034ffcfe08493256bc65e49b63a28013
This commit is contained in:
@@ -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 );
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@ protected:
|
||||
{
|
||||
try
|
||||
{
|
||||
sal_uInt32 nCmdParams = GetCommandLineParamCount();
|
||||
const sal_uInt16 nCmdParams = GetCommandLineParamCount();
|
||||
|
||||
if (nCmdParams == 0)
|
||||
showHelp();
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user