-/* $Id$
-
-This file is part of libmspgltk
-Copyright © 2009-2010 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
#include <msp/gl/immediate.h>
#include <msp/gl/matrix.h>
#include "style.h"
unsigned Text::get_line_length(unsigned i) const
{
if(i>=lines.size())
- throw InvalidParameterValue("Invalid line number");
+ throw out_of_range("Text::get_line_length");
return lines[i].length;
}