summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-10-09 09:38:12 +0300
committerTor Lillqvist <tml@collabora.com>2014-10-10 09:33:04 +0300
commit9e0d79b0d99c62a79256a792c7ac76825c74578c (patch)
tree45c3eaad51cb5a80bf8c7d5cb94abcc145c6e1c2 /vcl
parentc7c2b4b54d8ab81150e9b71433970c2f338ed063 (diff)
Add informative comment, and use 'auto' in a couple of places where sensible
Change-Id: Ia01404f8d0a5e5aa94d8a9b3f45421950831c5cb
Diffstat (limited to 'vcl')
-rw-r--r--vcl/workben/icontest.cxx13
1 files changed, 11 insertions, 2 deletions
diff --git a/vcl/workben/icontest.cxx b/vcl/workben/icontest.cxx
index 208864bf6b1c..42634ffe816b 100644
--- a/vcl/workben/icontest.cxx
+++ b/vcl/workben/icontest.cxx
@@ -7,6 +7,15 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
+/*
+ * =======================================================================
+ *
+ * This is a quick hack to test some stuff. Work in progress. Don't touch.
+ *
+ * =======================================================================
+ */
+
+
#include <GL/glew.h>
#include <com/sun/star/lang/XComponent.hpp>
@@ -236,7 +245,7 @@ void IconTestApp::DoItWithVcl(std::vector<OUString>& aImageFiles)
Point aPos(10, 10);
- for (std::vector<OUString>::const_iterator i = aImageFiles.cbegin(); i != aImageFiles.end(); ++i)
+ for (auto i = aImageFiles.cbegin(); i != aImageFiles.end(); ++i)
{
SvFileStream aFileStream( *i, STREAM_READ );
GraphicFilter aGraphicFilter(false);
@@ -308,7 +317,7 @@ void IconTestApp::DoItWithOpenGL(std::vector<OUString>& aImageFiles)
CHECK_GL_ERROR();
int n = 0;
- for (std::vector<OUString>::const_iterator i = aImageFiles.cbegin(); i != aImageFiles.end(); ++i)
+ for (auto i = aImageFiles.cbegin(); i != aImageFiles.end(); ++i)
{
SvFileStream aFileStream( *i, STREAM_READ );
GraphicFilter aGraphicFilter(false);