Kaydet (Commit) c7ce08fb authored tarafından Miklos Vajna's avatar Miklos Vajna

sw: missing consts

Change-Id: I052c8dfb668cbc31ba03d9b68bc21be58fce0e2a
üst e57a6494
......@@ -580,11 +580,11 @@ public:
/// The actual implementation of the vcl::ITiledRenderable::registerCallback() API for Writer.
void registerLibreOfficeKitCallback(LibreOfficeKitCallback pCallback, void* pLibreOfficeKitData);
/// Invokes the registered callback, if there are any.
void libreOfficeKitCallback(int nType, const char* pPayload);
void libreOfficeKitCallback(int nType, const char* pPayload) const;
/// Set if we are doing tiled rendering.
void setTiledRendering(bool bTiledRendering);
/// Are we doing tiled rendering?
bool isTiledRendering();
bool isTiledRendering() const;
};
......
......@@ -123,7 +123,7 @@ void SwViewShell::registerLibreOfficeKitCallback(LibreOfficeKitCallback pCallbac
mpLibreOfficeKitData = pData;
}
void SwViewShell::libreOfficeKitCallback(int nType, const char* pPayload)
void SwViewShell::libreOfficeKitCallback(int nType, const char* pPayload) const
{
if (mpLibreOfficeKitCallback)
mpLibreOfficeKitCallback(nType, pPayload, mpLibreOfficeKitData);
......@@ -134,7 +134,7 @@ void SwViewShell::setTiledRendering(bool bTiledRendering)
mbTiledRendering = bTiledRendering;
}
bool SwViewShell::isTiledRendering()
bool SwViewShell::isTiledRendering() const
{
return mbTiledRendering;
}
......
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