Commit 210c3d79 authored by Halla Rempt's avatar Halla Rempt
Browse files

warning--: comment out defined but not used function

parent fc87c7fd
...@@ -498,20 +498,20 @@ void KoChangeTracker::setFormatChangeBgColor(const QColor& bgColor) ...@@ -498,20 +498,20 @@ void KoChangeTracker::setFormatChangeBgColor(const QColor& bgColor)
d->formatChangeBgColor = bgColor; d->formatChangeBgColor = bgColor;
} }
//A convenience function to get a ListIdType from a format ////A convenience function to get a ListIdType from a format
static KoListStyle::ListIdType ListId(const QTextListFormat &format) //static KoListStyle::ListIdType ListId(const QTextListFormat &format)
{ //{
KoListStyle::ListIdType listId; // KoListStyle::ListIdType listId;
if (sizeof(KoListStyle::ListIdType) == sizeof(uint)) { // if (sizeof(KoListStyle::ListIdType) == sizeof(uint)) {
listId = format.property(KoListStyle::ListId).toUInt(); // listId = format.property(KoListStyle::ListId).toUInt();
} // }
else { // else {
listId = format.property(KoListStyle::ListId).toULongLong(); // listId = format.property(KoListStyle::ListId).toULongLong();
} // }
return listId; // return listId;
} //}
QTextDocumentFragment KoChangeTracker::generateDeleteFragment(const QTextCursor &cursor) QTextDocumentFragment KoChangeTracker::generateDeleteFragment(const QTextCursor &cursor)
{ {
......
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