diff options
Diffstat (limited to 'desktop/source')
-rw-r--r-- | desktop/source/app/dispatchwatcher.cxx | 4 | ||||
-rw-r--r-- | desktop/source/lib/init.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/desktop/source/app/dispatchwatcher.cxx b/desktop/source/app/dispatchwatcher.cxx index a3c5bc40d5c4..a0b7e370b1b1 100644 --- a/desktop/source/app/dispatchwatcher.cxx +++ b/desktop/source/app/dispatchwatcher.cxx @@ -364,7 +364,7 @@ bool DispatchWatcher::executeDispatchRequests( const std::vector<DispatchRequest if ( !aDispatchRequest.aPreselectedFactory.isEmpty() ) { - aArgs.emplace_back(utl::MediaDescriptor::PROP_DOCUMENTSERVICE(), 0, + aArgs.emplace_back(utl::MediaDescriptor::PROP_DOCUMENTSERVICE, 0, Any(aDispatchRequest.aPreselectedFactory), PropertyState_DIRECT_VALUE); } @@ -590,7 +590,7 @@ bool DispatchWatcher::executeDispatchRequests( const std::vector<DispatchRequest if ( xModel.is() ) { utl::MediaDescriptor aMediaDesc( xModel->getArgs() ); - aDocService = aMediaDesc.getUnpackedValueOrDefault(utl::MediaDescriptor::PROP_DOCUMENTSERVICE(), OUString() ); + aDocService = aMediaDesc.getUnpackedValueOrDefault(utl::MediaDescriptor::PROP_DOCUMENTSERVICE, OUString() ); } aFilter = impl_GuessFilter( aOutFile, aDocService ); } diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index fe6fd88b1c7b..e748aa006411 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -2931,7 +2931,7 @@ static int doc_saveAs(LibreOfficeKitDocument* pThis, const char* sUrl, const cha auto aFilteredOptionSeq = comphelper::containerToSequence<OUString>(aFilteredOptionVec); aFilterOptions = comphelper::string::convertCommaSeparated(aFilteredOptionSeq); - aSaveMediaDescriptor[MediaDescriptor::PROP_FILTEROPTIONS()] <<= aFilterOptions; + aSaveMediaDescriptor[MediaDescriptor::PROP_FILTEROPTIONS] <<= aFilterOptions; comphelper::SequenceAsHashMap aFilterDataMap; @@ -2956,7 +2956,7 @@ static int doc_saveAs(LibreOfficeKitDocument* pThis, const char* sUrl, const cha new LOKInteractionHandler("saveas", gImpl, pDocument)); uno::Reference<task::XInteractionHandler2> const xInteraction(pInteraction); - aSaveMediaDescriptor[MediaDescriptor::PROP_INTERACTIONHANDLER()] <<= xInteraction; + aSaveMediaDescriptor[MediaDescriptor::PROP_INTERACTIONHANDLER] <<= xInteraction; } |