Commit 1a255e6a authored by Thomas Zander's avatar Thomas Zander

fix EBN issues

svn path=/trunk/koffice/; revision=681563
parent 9d23e2ef
......@@ -691,7 +691,7 @@ QMatrix KoShape::parseOdfTransform( const QString &transform )
QRegExp reg("[,( ]");
QStringList params = subtransform[1].split(reg, QString::SkipEmptyParts);
if(subtransform[0].startsWith(";") || subtransform[0].startsWith(","))
if(subtransform[0].startsWith(';') || subtransform[0].startsWith(','))
subtransform[0] = subtransform[0].right(subtransform[0].length() - 1);
if(subtransform[0] == "rotate")
......
......@@ -329,7 +329,7 @@ KoCharacterStyle::LineType KoCharacterStyle::strikeOutType () const {
return (KoCharacterStyle::LineType) d->propertyInt(StrikeOutType);
}
void KoCharacterStyle::setStrikeOutColor (QColor color) {
void KoCharacterStyle::setStrikeOutColor (const QColor &color) {
d->setProperty(StrikeOutColor, color);
}
......@@ -354,7 +354,7 @@ KoCharacterStyle::LineType KoCharacterStyle::underlineType () const {
return (KoCharacterStyle::LineType) d->propertyInt(UnderlineType);
}
void KoCharacterStyle::setUnderlineColor (QColor color) {
void KoCharacterStyle::setUnderlineColor (const QColor &color) {
d->setProperty(UnderlineColor, color);
}
......
......@@ -152,7 +152,7 @@ public:
/// Get the current font strike out style of this KoCharacterStyle
LineStyle strikeOutStyle () const;
/// Apply a font strike out color to this KoCharacterStyle
void setStrikeOutColor (QColor color);
void setStrikeOutColor (const QColor &color);
/// Get the current font strike out color of this KoCharacterStyle
QColor strikeOutColor () const;
/// Apply a font strike out color to this KoCharacterStyle
......@@ -165,7 +165,7 @@ public:
/// Get the current font underline style of this KoCharacterStyle
LineStyle underlineStyle () const;
/// Apply a font underline color to this KoCharacterStyle
void setUnderlineColor (QColor color);
void setUnderlineColor (const QColor &color);
/// Get the current font underline color of this KoCharacterStyle
QColor underlineColor () const;
/// Apply a font underline color to this KoCharacterStyle
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment