aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.opendocument2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/default.opendocument b/data/templates/default.opendocument
index e34c8d500..2eff86d7b 100644
--- a/data/templates/default.opendocument
+++ b/data/templates/default.opendocument
@@ -31,7 +31,7 @@ $include-before$
$endfor$
$if(toc)$
<text:table-of-content>
- <text:table-of-content-source text:outline-level="10">
+ <text:table-of-content-source text:outline-level="$toc-depth$">
<text:index-title-template text:style-name="Contents_20_Heading">$toc-title$</text:index-title-template>
<text:table-of-content-entry-template text:outline-level="1"
text:style-name="Contents_20_1">