summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2020-10-20 22:05:11 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2020-10-21 10:48:27 +0200
commit1a463987633bfdd58aac60a39ce6eb09ff8c500d (patch)
tree0508cabf01d231a890d251a6f83933f2f410ce5c /vcl
parent4c08e879a8624c820138f6e58cfca324b4480b48 (diff)
lok: Log save errors and avoid infinite loop
Don't create synchronous dialogs on errors which were causing infinite loops. Just send error for logging purposes. Change-Id: I88e57ae34502a6f82e44051033c91ca41c1a7b8c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104579 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Ashod Nakashian <ash@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/errinf.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/vcl/source/window/errinf.cxx b/vcl/source/window/errinf.cxx
index 31bec6e085a0..19b01c0e1a4a 100644
--- a/vcl/source/window/errinf.cxx
+++ b/vcl/source/window/errinf.cxx
@@ -30,12 +30,6 @@
class ErrorHandler;
class TheErrorRegistry: public rtl::Static<ErrorRegistry, TheErrorRegistry> {};
-class ErrorStringFactory
-{
-public:
- static bool CreateString(const ErrorInfo*, OUString&);
-};
-
bool ErrorStringFactory::CreateString(const ErrorInfo* pInfo, OUString& rStr)
{
for(const ErrorHandler *pHdlr : TheErrorRegistry::get().errorHandlers)