From cc341255a4bebb5382b4fe2e0deabe3f618e9d49 Mon Sep 17 00:00:00 2001
From: Derek Chen-Becker <oss@chen-becker.org>
Date: Sat, 9 May 2026 06:31:08 -0600
Subject: [PATCH] Fix paragraph centering in ODT export

* lisp/org/ox-odt.el (org-odt--paragraph-style): According to the function
documentation, we should use symbol `centered', not `center' for centering
paragraph.
---
 lisp/ox-odt.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/ox-odt.el b/lisp/ox-odt.el
index a9ccc7862..0697a4d9a 100644
--- a/lisp/ox-odt.el
+++ b/lisp/ox-odt.el
@@ -2869,7 +2869,7 @@ Style is a symbol among `quoted', `centered' and nil."
             (org-element-lineage
              paragraph
              '(center-block quote-block section)))
-    (center-block 'center)
+    (center-block 'centered)
     (quote-block 'quoted)))
 
 (defun org-odt--format-paragraph (paragraph contents info default center quote)
-- 
2.43.0

