summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-01-27 17:21:04 +0000
committerMichael Meeks <michael.meeks@collabora.com>2015-01-27 17:22:32 +0000
commitd3ac5c2d68fe6affc03e200ff985b4da1d4cf2d0 (patch)
treed39374c3d68c473db7bfb99f0c3acab715ddc26b /vcl
parente8d3dfd9c4c2674ac759fda2a5546e89a34d728b (diff)
vcldemo: revert argument parsing breakage.
Change-Id: I0b8ecf19d71ba3151b3e61c4cf22524cc0852c5c
Diffstat (limited to 'vcl')
-rw-r--r--vcl/workben/vcldemo.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index e6f923b229fd..c32f5703730f 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -1258,7 +1258,7 @@ void DemoRenderer::addTime(int i, double t)
maRenderers[i]->countTime++;
}
-void DemoRenderer::selectRenderer(const OUString &rName )
+void DemoRenderer::selectRenderer(const OUString &rName)
{
for (size_t i = 0; i < maRenderers.size(); i++)
{
@@ -1470,7 +1470,7 @@ public:
if (bLast)
return showHelp(aRenderer);
else
- aRenderer.selectRenderer(GetCommandLineParam(i));
+ aRenderer.selectRenderer(GetCommandLineParam(++i));
}
else if (aArg == "--test")
{