summaryrefslogtreecommitdiffstats
path: root/officecfg
diff options
context:
space:
mode:
authorVasily Melenchuk <vasily.melenchuk@cib.de>2018-08-09 15:37:00 +0300
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2018-08-31 13:03:47 +0200
commiteb199c1b5e8d6039a1969cc6ddb3d627bedf5bd8 (patch)
tree64d652b9d0103ac53e7f096e36d09a7c9dab10ae /officecfg
parentUse tools::Time::GetClock() in number formatter for wall clock time (diff)
downloadcore-eb199c1b5e8d6039a1969cc6ddb3d627bedf5bd8.tar.gz
core-eb199c1b5e8d6039a1969cc6ddb3d627bedf5bd8.zip
presentation minimizer: report possible errors
In process bunch of different problems can occur, but they are not reported to user. IO errors are now shown with message dialog, other exceptions (if any) are passed to upper level. Change-Id: Idc15cb5b7f97de296e095d71ae1f3b2700fc0fa7 Reviewed-on: https://gerrit.libreoffice.org/58765 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/registry/data/org/openoffice/Office/PresentationMinimizer.xcu3
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/PresentationMinimizer.xcs4
2 files changed, 7 insertions, 0 deletions
diff --git a/officecfg/registry/data/org/openoffice/Office/PresentationMinimizer.xcu b/officecfg/registry/data/org/openoffice/Office/PresentationMinimizer.xcu
index 1a2bbe315267..82b0307791ce 100644
--- a/officecfg/registry/data/org/openoffice/Office/PresentationMinimizer.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/PresentationMinimizer.xcu
@@ -196,6 +196,9 @@ The current presentation contains no OLE objects.</value>
<prop oor:name="STR_FILESIZESEPARATOR">
<value xml:lang="en-US">.</value>
</prop>
+ <prop oor:name="STR_ERROR_IO">
+ <value xml:lang="en-US">Writing output file failed!</value>
+ </prop>
</node>
<node oor:name="LastUsedSettings">
<prop oor:name="Name">
diff --git a/officecfg/registry/schema/org/openoffice/Office/PresentationMinimizer.xcs b/officecfg/registry/schema/org/openoffice/Office/PresentationMinimizer.xcs
index 5a9758139b1f..24266c087b88 100644
--- a/officecfg/registry/schema/org/openoffice/Office/PresentationMinimizer.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/PresentationMinimizer.xcs
@@ -361,6 +361,10 @@ The current presentation contains no OLE objects.</value>
<info><desc>String STR_FILESIZESEPARATOR.</desc></info>
<value>.</value>
</prop>
+ <prop oor:name="STR_ERROR_IO" oor:type="xs:string" oor:localized="true">
+ <info><desc>String STR_ERROR_IO.</desc></info>
+ <value>Writing output file failed!</value>
+ </prop>
</group>
<node-ref oor:name="LastUsedSettings" oor:node-type="OptimizerSettings">
<info>