diff options
author | Rachit Gupta <rachitgupta1792@gmail.com> | 2014-06-14 21:30:20 +0530 |
---|---|---|
committer | Rachit Gupta <rachitgupta1792@gmail.com> | 2014-06-14 22:46:55 +0530 |
commit | c57b0961cf9337436f14a4d6c51619bfe4924325 (patch) | |
tree | 80ca84b4b5026593f311feee58419b5cbe9abe07 | |
parent | 8cd23b0862cf9de31babd1859b8968c6801d6272 (diff) |
Added error message to the progess label if something goes wrong.
Change-Id: If9e7a76bea49fa681e3fc7b3586b04fbbcbe279d
-rw-r--r-- | cui/source/options/personalization.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx index dadb88f6fe17..2cc6cf8e303a 100644 --- a/cui/source/options/personalization.cxx +++ b/cui/source/options/personalization.cxx @@ -426,6 +426,8 @@ void SearchAndParseThread::execute() } catch (...) { + sProgress = "Something went wrong. Please try again."; + m_pPersonaDialog->SetProgress( sProgress ); return; } @@ -510,6 +512,8 @@ void SearchAndParseThread::execute() } catch ( const uno::Exception & ) { + sProgress = "Something went wrong. Please try again."; + m_pPersonaDialog->SetProgress( sProgress ); return; } @@ -533,6 +537,8 @@ void SearchAndParseThread::getPreviewFile( const OUString& rURL, OUString *pHead } catch (...) { + sProgress = "Something went wrong. Please try again."; + m_pPersonaDialog->SetProgress( sProgress ); return; } if ( !xStream.is() ) |