summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMarco Cecchetti <marco.cecchetti@collabora.com>2019-10-08 12:09:21 +0200
committerAndras Timar <andras.timar@collabora.com>2019-12-10 14:51:11 +0100
commitc00eda32d18eab7fd88606b1c30bfcf05b7ee0a4 (patch)
treead470b8372ea44a01f39f5527f17dbeb03726a74 /sfx2
parent481e686a66e550229ec0b600a785452f0d753342 (diff)
lok: re-enabling chart editing on mobile
Change-Id: I0e05cc2c41ba045e62ad87203f7000f2b568add3 Reviewed-on: https://gerrit.libreoffice.org/81916 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/view/ipclient.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx
index ea73e08b0bfb..289ed49e9194 100644
--- a/sfx2/source/view/ipclient.cxx
+++ b/sfx2/source/view/ipclient.cxx
@@ -952,17 +952,6 @@ ErrCode SfxInPlaceClient::DoVerb( long nVerb )
{
m_xImp->m_xObject->setClientSite( m_xImp->m_xClient );
- // Disable embedded object editing (e.g. chart) on mobile
- if ( comphelper::LibreOfficeKit::isActive() && comphelper::LibreOfficeKit::isMobile(SfxLokHelper::getView())
- && m_xImp->m_xObject->getCurrentState() == embed::EmbedStates::RUNNING )
- {
- // Also check next state
- // Needs to be embed::EmbedStates::UI_ACTIVE or embed::EmbedStates::INPLACE_ACTIVE
- // Conversion table is in embeddedobj/source/commonembedding/miscobj.cxx
- if (nVerb != embed::EmbedVerbs::MS_OLEVERB_OPEN && nVerb != embed::EmbedVerbs::MS_OLEVERB_HIDE)
- return nError;
- }
-
m_xImp->m_xObject->doVerb( nVerb );
}
catch ( embed::UnreachableStateException& )