Ran script to remove trailing spaces and tabs

This commit is contained in:
Robert Osfield
2012-03-21 17:36:20 +00:00
parent 1e35f8975d
commit 14a563dc9f
1495 changed files with 21873 additions and 21873 deletions

View File

@@ -1,6 +1,6 @@
/* -*-c++-*- Copyright (C) 2008 Miguel Escriva Gregori
*
* This library is open source and may be redistributed and/or modified under
* This library is open source and may be redistributed and/or modified under
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
* (at your option) any later version. The full license is in LICENSE file
* included with this distribution, and on the openscenegraph.org website.
@@ -32,7 +32,7 @@ class ReaderWriterSVG : public osgDB::ReaderWriter
ReaderWriterSVG()
{
supportsExtension("svg","Scalar Vector Graphics format");
supportsExtension("svg","Scalar Vector Graphics format");
rsvg_init();
}
@@ -59,7 +59,7 @@ class ReaderWriterSVG : public osgDB::ReaderWriter
if (options)
{
unsigned int w=0, h=0;
std::string op = options->getOptionString();
std::string op = options->getOptionString();
size_t i = op.find("x");
std::stringstream ss1(op.substr(0, i));
@@ -100,7 +100,7 @@ class ReaderWriterSVG : public osgDB::ReaderWriter
cairo_t *cr = cairo_create(cairo_surface);
cairo_scale(cr,((float)width)/dimensionData.width, ((float)height)/dimensionData.height);
rsvg_handle_render_cairo(handle, cr);
cairo_destroy(cr);
cairo_surface_destroy(cairo_surface);