Commit 69847a93 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Make documentPart() getter const since it doesn't change anything

parent adce16b9
......@@ -230,7 +230,7 @@ KoDocument::~KoDocument()
}
KoPart *KoDocument::documentPart()
KoPart *KoDocument::documentPart() const
{
return d->parentPart;
}
......
......@@ -98,7 +98,7 @@ public:
virtual ~KoDocument();
/// XXX: Temporary!
KoPart *documentPart();
KoPart *documentPart() const;
/**
* Reimplemented from KParts::ReadWritePart for internal reasons
......
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