[Libreoffice-commits] core.git: vcl/workben
Michael Meeks
michael.meeks at collabora.com
Tue Jan 27 09:21:00 PST 2015
vcl/workben/vcldemo.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit d3ac5c2d68fe6affc03e200ff985b4da1d4cf2d0
Author: Michael Meeks <michael.meeks at collabora.com>
Date: Tue Jan 27 17:21:04 2015 +0000
vcldemo: revert argument parsing breakage.
Change-Id: I0b8ecf19d71ba3151b3e61c4cf22524cc0852c5c
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index e6f923b..c32f570 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")
{
More information about the Libreoffice-commits
mailing list