diff --git a/plugins/openoffice/openoffice-write.c b/plugins/openoffice/openoffice-write.c
index 0271897..1f87937 100644
--- a/plugins/openoffice/openoffice-write.c
+++ b/plugins/openoffice/openoffice-write.c
@@ -827,11 +827,12 @@ xl_find_conditional_format (GnmOOExport *state, GOFormat const *format)
 		found = new_found;
 		xl_find_format (state, format, 0);
 		/* We cannot be guaranteed to have a second part. See #705421 */
-		condition = go_format_odf_style_map (format, 1);
+		condition = go_format_odf_style_map (format, 1, state->conv->output.decimal_digits);
 		if (condition != NULL) {
 			xl_find_format (state, format, 1);
 			g_free (condition);
-			condition = go_format_odf_style_map (format, 2);
+			condition = go_format_odf_style_map
+				(format, 2, state->conv->output.decimal_digits);
 			if (condition != NULL) {
 				xl_find_format (state, format, 2);
 				g_free (condition);
@@ -4934,7 +4935,7 @@ odf_write_map (GnmOOExport *state, char const *xl, int i)
 {
 	GHashTable *xl_styles;
 	GOFormat *format = go_format_new_from_XL (xl);
-	char *condition = go_format_odf_style_map (format, i);
+	char *condition = go_format_odf_style_map (format, i, state->conv->output.decimal_digits);
 	go_format_unref (format);
 	if (condition == NULL)
 		return FALSE;
