|
@@ -162,7 +162,7 @@ Zeichnung *UIMLView::parseElement( XML::Element *e )
|
|
t->setStyle( TextFeld::Style::TextGebiet );
|
|
t->setStyle( TextFeld::Style::TextGebiet );
|
|
t->setText( e->getText() );
|
|
t->setText( e->getText() );
|
|
if( e->hasAttribute( "font-size" ) )
|
|
if( e->hasAttribute( "font-size" ) )
|
|
- t->setSchriftSize( (int)e->getAttributeValue( "font-size" ) );
|
|
|
|
|
|
+ t->setSchriftSize( (unsigned char)(int)e->getAttributeValue( "font-size" ) );
|
|
if( e->hasAttribute( "text-align-horizontal" ) )
|
|
if( e->hasAttribute( "text-align-horizontal" ) )
|
|
{
|
|
{
|
|
if( e->getAttributeValue( "text-align-horizontal" ).istGleich( "center" ) )
|
|
if( e->getAttributeValue( "text-align-horizontal" ).istGleich( "center" ) )
|
|
@@ -180,7 +180,7 @@ Zeichnung *UIMLView::parseElement( XML::Element *e )
|
|
Knopf *k = init.createKnopf( init.initParam );
|
|
Knopf *k = init.createKnopf( init.initParam );
|
|
k->setText( e->getText() );
|
|
k->setText( e->getText() );
|
|
if( e->hasAttribute( "font-size" ) )
|
|
if( e->hasAttribute( "font-size" ) )
|
|
- k->setSchriftSize( (int)e->getAttributeValue( "font-size" ) );
|
|
|
|
|
|
+ k->setSchriftSize( (unsigned char)(int)e->getAttributeValue( "font-size" ) );
|
|
z = k;
|
|
z = k;
|
|
}
|
|
}
|
|
if( e->getName().istGleich( "table" ) )
|
|
if( e->getName().istGleich( "table" ) )
|