summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeMoyne Castle <lemoyne.castle@gmail.com>2013-01-03 23:06:42 -0700
committerTor Lillqvist <tml@iki.fi>2013-01-04 07:12:43 +0000
commit65deb382fb2bc45192f3b9224bf0fca00955ee71 (patch)
tree62ff6061f4b864d7b0a1c7faf3633a18e2ba9acd
parentec6b0cb9da208d520972b3f305ecd79fdddb9023 (diff)
Minimal fix fdo#58766 Macro Recorder opt not saved
Load of the last Misc. config item is skipped due to its index == # of strings in array in GetPropertyNames. Omission in middle drops last item - loop never gets to the Enable Macro Recorder option. Change-Id: Ic405387248071ac2f5b47601eb1364bf0d7ea5d6 Reviewed-on: https://gerrit.libreoffice.org/1540 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
-rw-r--r--svtools/source/config/miscopt.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svtools/source/config/miscopt.cxx b/svtools/source/config/miscopt.cxx
index c3666d03c4a2..547fae654ced 100644
--- a/svtools/source/config/miscopt.cxx
+++ b/svtools/source/config/miscopt.cxx
@@ -56,15 +56,15 @@ using namespace ::com::sun::star;
#define PROPERTYNAME_USESYSTEMPRINTDIALOG ASCII_STR("UseSystemPrintDialog")
#define PROPERTYHANDLE_USESYSTEMPRINTDIALOG 5
#define PROPERTYNAME_SHOWLINKWARNINGDIALOG ASCII_STR("ShowLinkWarningDialog")
-#define PROPERTYHANDLE_SHOWLINKWARNINGDIALOG 7
+#define PROPERTYHANDLE_SHOWLINKWARNINGDIALOG 6
#define PROPERTYNAME_DISABLEUICUSTOMIZATION ASCII_STR("DisableUICustomization")
-#define PROPERTYHANDLE_DISABLEUICUSTOMIZATION 8
+#define PROPERTYHANDLE_DISABLEUICUSTOMIZATION 7
#define PROPERTYNAME_ALWAYSALLOWSAVE ASCII_STR("AlwaysAllowSave")
-#define PROPERTYHANDLE_ALWAYSALLOWSAVE 9
+#define PROPERTYHANDLE_ALWAYSALLOWSAVE 8
#define PROPERTYNAME_EXPERIMENTALMODE ASCII_STR("ExperimentalMode")
-#define PROPERTYHANDLE_EXPERIMENTALMODE 10
+#define PROPERTYHANDLE_EXPERIMENTALMODE 9
#define PROPERTYNAME_MACRORECORDERMODE ASCII_STR("MacroRecorderMode")
-#define PROPERTYHANDLE_MACRORECORDERMODE 11
+#define PROPERTYHANDLE_MACRORECORDERMODE 10
#define VCL_TOOLBOX_STYLE_FLAT ((sal_uInt16)0x0004) // from <vcl/toolbox.hxx>