Cmb: Remove white spaces around operators

Change-Id: Icad10f930a5e67b90fc2addcf9625116069ff7a6
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
Marco Bubke
2015-06-10 13:52:45 +02:00
parent 7309e8bb64
commit 29b96af1cb
48 changed files with 170 additions and 170 deletions

View File

@@ -195,29 +195,29 @@ Utf8String::operator QString() const
return toString();
}
const Utf8String operator +(const Utf8String &first, const Utf8String &second)
const Utf8String operator+(const Utf8String &first, const Utf8String &second)
{
return Utf8String(first.byteArray + second.byteArray);
}
bool operator !=(const Utf8String &first, const Utf8String &second)
bool operator!=(const Utf8String &first, const Utf8String &second)
{
return first.byteArray != second.byteArray;
}
bool operator ==(const Utf8String &first, const Utf8String &second)
bool operator==(const Utf8String &first, const Utf8String &second)
{
return first.byteArray == second.byteArray;
}
bool operator ==(const Utf8String &first, const char *second)
bool operator==(const Utf8String &first, const char *second)
{
return first.byteArray == second;
}
bool operator <(const Utf8String &first, const Utf8String &second)
bool operator<(const Utf8String &first, const Utf8String &second)
{
if (first.byteSize() == second.byteSize())
return first.byteArray < second.byteArray;