diff options
Diffstat (limited to 'ucb/source/ucp/tdoc/tdoc_docmgr.cxx')
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_docmgr.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_docmgr.cxx b/ucb/source/ucp/tdoc/tdoc_docmgr.cxx index 2f0602d23dc4..1ecc775204ba 100644 --- a/ucb/source/ucp/tdoc/tdoc_docmgr.cxx +++ b/ucb/source/ucp/tdoc/tdoc_docmgr.cxx @@ -535,9 +535,7 @@ bool OfficeDocumentsManager::isDocumentPreview( if ( !xModel.is() ) return false; - ::comphelper::NamedValueCollection aArgs( - xModel->getArgs() ); - bool bIsPreview = aArgs.getOrDefault( "Preview", false ); + bool bIsPreview = ::comphelper::NamedValueCollection::getOrDefault( xModel->getArgs(), u"Preview", false ); return bIsPreview; } |