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:
Miklos Vajna
2016-06-23 08:47:05 +02:00
parent 4d1118e5cc
commit ed2d342e97
9 changed files with 0 additions and 31 deletions

View File

@@ -316,7 +316,6 @@ certain functionality.
@li @c sfx.doc @li @c sfx.doc
@li @c sfx.notify @li @c sfx.notify
@li @c sfx.sidebar @li @c sfx.sidebar
@li @c sfx.tiledrendering
@li @c sfx.view @li @c sfx.view
@section slideshow @section slideshow

View File

@@ -722,13 +722,6 @@ public:
SAL_DLLPRIVATE void CancelCheckOut( ); SAL_DLLPRIVATE void CancelCheckOut( );
SAL_DLLPRIVATE void CheckIn( ); SAL_DLLPRIVATE void CheckIn( );
SAL_DLLPRIVATE css::uno::Sequence< css::document::CmisVersion > GetCmisVersions(); 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 \ #define SFX_GLOBAL_CLASSID \

View File

@@ -3220,8 +3220,4 @@ bool ScDocShell::GetProtectionHash( /*out*/ css::uno::Sequence< sal_Int8 > &rPas
return bRes; return bRes;
} }
void ScDocShell::libreOfficeKitCallback(int /*nType*/, const char* /*pPayload*/) const
{
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -422,8 +422,6 @@ public:
virtual bool GetProtectionHash( /*out*/ css::uno::Sequence< sal_Int8 > &rPasswordHash ) override; virtual bool GetProtectionHash( /*out*/ css::uno::Sequence< sal_Int8 > &rPasswordHash ) override;
void SnapVisArea( Rectangle& rRect ) const; void SnapVisArea( Rectangle& rRect ) const;
virtual void libreOfficeKitCallback(int nType, const char* pPayload) const override;
}; };
void UpdateAcceptChangesDialog(); void UpdateAcceptChangesDialog();

View File

@@ -478,10 +478,6 @@ void DrawDocShell::ClearUndoBuffer()
pUndoManager->Clear(); pUndoManager->Clear();
} }
void DrawDocShell::libreOfficeKitCallback(int /*nType*/, const char* /*pPayload*/) const
{
}
} // end of namespace sd } // end of namespace sd
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -201,8 +201,6 @@ public:
void ClearUndoBuffer(); void ClearUndoBuffer();
virtual void libreOfficeKitCallback(int nType, const char* pPayload) const override;
protected: protected:
SdDrawDocument* mpDoc; SdDrawDocument* mpDoc;

View File

@@ -651,9 +651,4 @@ bool SfxObjectShell::IsModifyPasswordEntered()
return pImpl->m_bModifyPasswordEntered; 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: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -307,8 +307,6 @@ public:
virtual void SetChangeRecording( bool bActivate ) override; virtual void SetChangeRecording( bool bActivate ) override;
virtual void SetProtectionPassword( const OUString &rPassword ) override; virtual void SetProtectionPassword( const OUString &rPassword ) override;
virtual bool GetProtectionHash( /*out*/ css::uno::Sequence< sal_Int8 > &rPasswordHash ) 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: /** Find the right DocShell and create a new one:

View File

@@ -1338,8 +1338,4 @@ bool SwDocShell::GetProtectionHash( /*out*/ css::uno::Sequence< sal_Int8 > &rPas
return bRes; return bRes;
} }
void SwDocShell::libreOfficeKitCallback(int /*nType*/, const char* /*pPayload*/) const
{
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */