diff options
author | Laurent Godard <lgodard.libre@laposte.net> | 2015-01-13 15:27:59 +0100 |
---|---|---|
committer | Laurent Godard <lgodard.libre@laposte.net> | 2015-01-19 15:07:22 +0100 |
commit | de900ebdd4fec0fb06d56583ae22b2adc3608a65 (patch) | |
tree | 506316455f67a26b3bba3f5b297eb9f7d2b411a6 | |
parent | 2015654cd60014b72fac1337dc77c5e8f07934de (diff) |
convert-to : display error messages in console fdo#88326
- source file does not exist
- requested export filter does not exist and we use default filter (still process though)
Change-Id: I92031ea305e81927357acfc352dbe5a5da205b0d
-rw-r--r-- | desktop/source/app/dispatchwatcher.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/source/app/dispatchwatcher.cxx b/desktop/source/app/dispatchwatcher.cxx index 0cc179bc99d2..2480c69d792a 100644 --- a/desktop/source/app/dispatchwatcher.cxx +++ b/desktop/source/app/dispatchwatcher.cxx @@ -139,7 +139,7 @@ const SfxFilter* impl_getExportFilterFromUrl( const rtl::OUString& rUrl, const r pFilter = impl_lookupExportFilterForUrl( rUrl, rFactory ); if ( !pFilter ) { - SAL_INFO( "desktop.app", "no export filter for " << rUrl << "found, using the default filter for " << rFactory ); + std::cerr << "Error: no export filter for " << rUrl << " found, now using the default filter for " << rFactory << "\n"; pFilter = SfxFilter::GetDefaultFilterFromFactory( rFactory ); } @@ -565,7 +565,7 @@ bool DispatchWatcher::executeDispatchRequests( const DispatchList& aDispatchRequ } catch (const Exception& rException) { - std::cerr << "Error: Please reverify input parameters..."; + std::cerr << "Error: Please verify input parameters..."; if (!rException.Message.isEmpty()) std::cerr << " (" << rException.Message << ")"; std::cerr << std::endl; @@ -663,7 +663,7 @@ bool DispatchWatcher::executeDispatchRequests( const DispatchList& aDispatchRequ } else { - // place error message here ... + std::cerr << ("Error: source file could not be loaded\n"); } // remove the document |