From b538357b67cc79ecf807cbc022dd9e30cde3a530 Mon Sep 17 00:00:00 2001
From: Bartosz Ciesla <bartosz.ciesla@nokia.com>
Date: Thu, 18 Jul 2019 12:59:00 +0200
Subject: Change DoxyParagraph to use DoxyDesc inside in latex style

This solves the problem where header of the paragraph in pdf output
generated from latex has different indent than other sections (like
param or retval).
---
 templates/latex/doxygen.sty | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/templates/latex/doxygen.sty b/templates/latex/doxygen.sty
index bd5fdba..2644c08 100644
--- a/templates/latex/doxygen.sty
+++ b/templates/latex/doxygen.sty
@@ -306,16 +306,9 @@
 
 % Used by @par and @paragraph
 \newenvironment{DoxyParagraph}[1]{%
-  \begin{list}{}{%
-    \settowidth{\labelwidth}{40pt}%
-    \setlength{\leftmargin}{\labelwidth+\labelsep}%
-    \setlength{\parsep}{0pt}%
-    \setlength{\itemsep}{-4pt}%
-    \renewcommand{\makelabel}{\entrylabel}%
-  }%
-  \item[#1]%
+  \begin{DoxyDesc}{#1}%
 }{%
-  \end{list}%
+  \end{DoxyDesc}%
 }
 
 % Used by parameter lists
-- 
cgit v0.12

