[PATCH] Change in core[libreoffice-4-0]: Minimal fix fdo#58766 Macro Recorder opt not saved

LeMoyne Castle (via Code Review) gerrit at gerrit.libreoffice.org
Thu Jan 3 22:37:37 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1540

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/40/1540/1

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
---
M svtools/source/config/miscopt.cxx
1 file changed, 5 insertions(+), 5 deletions(-)



diff --git a/svtools/source/config/miscopt.cxx b/svtools/source/config/miscopt.cxx
index c3666d0..547fae6 100644
--- a/svtools/source/config/miscopt.cxx
+++ b/svtools/source/config/miscopt.cxx
@@ -56,15 +56,15 @@
 #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>
 

-- 
To view, visit https://gerrit.libreoffice.org/1540
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic405387248071ac2f5b47601eb1364bf0d7ea5d6
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: LeMoyne Castle <lemoyne.castle at gmail.com>



More information about the LibreOffice mailing list