Remove unused SfxObjectShell::libreOfficeKitCallback()
All clients have been converted to use SfxViewShell::libreOfficeKitViewCallback() instead. Change-Id: I793dad5194769f331037b12a1b1afba96ddea4ba Reviewed-on: https://gerrit.libreoffice.org/26584 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
This commit is contained in:
@@ -316,7 +316,6 @@ certain functionality.
|
||||
@li @c sfx.doc
|
||||
@li @c sfx.notify
|
||||
@li @c sfx.sidebar
|
||||
@li @c sfx.tiledrendering
|
||||
@li @c sfx.view
|
||||
|
||||
@section slideshow
|
||||
|
@@ -722,13 +722,6 @@ public:
|
||||
SAL_DLLPRIVATE void CancelCheckOut( );
|
||||
SAL_DLLPRIVATE void CheckIn( );
|
||||
SAL_DLLPRIVATE css::uno::Sequence< css::document::CmisVersion > GetCmisVersions();
|
||||
|
||||
/**
|
||||
* Interface shared by document shell. Allow LOK calls from sfx.
|
||||
* Default behavior doesn't do anything. relevant SfxObjectShells should override
|
||||
* the default behavior and implements LOK calls.
|
||||
*/
|
||||
virtual void libreOfficeKitCallback(int nType, const char* pPayload) const;
|
||||
};
|
||||
|
||||
#define SFX_GLOBAL_CLASSID \
|
||||
|
@@ -3220,8 +3220,4 @@ bool ScDocShell::GetProtectionHash( /*out*/ css::uno::Sequence< sal_Int8 > &rPas
|
||||
return bRes;
|
||||
}
|
||||
|
||||
void ScDocShell::libreOfficeKitCallback(int /*nType*/, const char* /*pPayload*/) const
|
||||
{
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@@ -422,8 +422,6 @@ public:
|
||||
virtual bool GetProtectionHash( /*out*/ css::uno::Sequence< sal_Int8 > &rPasswordHash ) override;
|
||||
|
||||
void SnapVisArea( Rectangle& rRect ) const;
|
||||
|
||||
virtual void libreOfficeKitCallback(int nType, const char* pPayload) const override;
|
||||
};
|
||||
|
||||
void UpdateAcceptChangesDialog();
|
||||
|
@@ -478,10 +478,6 @@ void DrawDocShell::ClearUndoBuffer()
|
||||
pUndoManager->Clear();
|
||||
}
|
||||
|
||||
void DrawDocShell::libreOfficeKitCallback(int /*nType*/, const char* /*pPayload*/) const
|
||||
{
|
||||
}
|
||||
|
||||
} // end of namespace sd
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@@ -201,8 +201,6 @@ public:
|
||||
|
||||
void ClearUndoBuffer();
|
||||
|
||||
virtual void libreOfficeKitCallback(int nType, const char* pPayload) const override;
|
||||
|
||||
protected:
|
||||
|
||||
SdDrawDocument* mpDoc;
|
||||
|
@@ -651,9 +651,4 @@ bool SfxObjectShell::IsModifyPasswordEntered()
|
||||
return pImpl->m_bModifyPasswordEntered;
|
||||
}
|
||||
|
||||
void SfxObjectShell::libreOfficeKitCallback(int /*nType*/, const char* /*pPayload*/) const
|
||||
{
|
||||
SAL_INFO("sfx.tiledrendering", "SfxObjectShell::libreOfficeKitCallback interface not overridden for SfxObjectShell subclass typeId: " << typeid(*this).name());
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@@ -307,8 +307,6 @@ public:
|
||||
virtual void SetChangeRecording( bool bActivate ) override;
|
||||
virtual void SetProtectionPassword( const OUString &rPassword ) override;
|
||||
virtual bool GetProtectionHash( /*out*/ css::uno::Sequence< sal_Int8 > &rPasswordHash ) override;
|
||||
|
||||
virtual void libreOfficeKitCallback(int nType, const char* pPayload) const override;
|
||||
};
|
||||
|
||||
/** Find the right DocShell and create a new one:
|
||||
|
@@ -1338,8 +1338,4 @@ bool SwDocShell::GetProtectionHash( /*out*/ css::uno::Sequence< sal_Int8 > &rPas
|
||||
return bRes;
|
||||
}
|
||||
|
||||
void SwDocShell::libreOfficeKitCallback(int /*nType*/, const char* /*pPayload*/) const
|
||||
{
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
Reference in New Issue
Block a user