Kaydet (Commit) 861c90c0 authored tarafından Caolán McNamara's avatar Caolán McNamara

cppcheck: this method can be const

üst ef9d0fe5
......@@ -107,7 +107,7 @@ void MasterPageDescriptor::SetToken (MasterPageContainer::Token aToken)
Image MasterPageDescriptor::GetPreview (MasterPageContainer::PreviewSize eSize)
Image MasterPageDescriptor::GetPreview (MasterPageContainer::PreviewSize eSize) const
{
if (eSize == MasterPageContainer::SMALL)
return maSmallPreview;
......
......@@ -78,7 +78,7 @@ public:
@return
The returned preview may be empty.
*/
Image GetPreview (MasterPageContainer::PreviewSize ePreviewSize);
Image GetPreview (MasterPageContainer::PreviewSize ePreviewSize) const;
/** Use the PreviewProvider to get access to a preview of the master
page.
......
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