diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-12-16 14:31:16 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-12-16 14:58:44 +0100 |
commit | 0946e2da2a310d9cfb5feeed94a6b2ad9f829751 (patch) | |
tree | b3738d3d7e22dcad1b7367f5216f5ff9ab71ea8d /sw | |
parent | 270fdd6b788974fa5d8e1ce01cc5358a0824fb99 (diff) |
LOK: let doc_getDocumentType() use supportsService()
css::frame::XModel::getArgs() may or may not return a Sequence that
contains a DocumentService key, while
css::lang::XServiceInfo::supportsService() can always determine the
document type.
This fixes the problem that doc_getDocumentType() returned
LOK_DOCTYPE_OTHER for Writer documents on Android.
Change-Id: I380d59a963553fb30a3eb20fbe84dcfc6a1bbd61
Diffstat (limited to 'sw')
0 files changed, 0 insertions, 0 deletions