]> git.lyx.org Git - lyx.git/blobdiff - src/TextMetrics.cpp
Revert commenting the file format warnings
[lyx.git] / src / TextMetrics.cpp
index ecc9e5219487d3015fde15ecb0d6aaf336fcb139..50f6062275a685b238031c94eb8c02cccc8bf8f5 100644 (file)
@@ -598,6 +598,11 @@ void TextMetrics::computeRowMetrics(pit_type const pit,
                        }
                }
 
+               // Has the user requested we not justify stuff?
+               if (!bv_->buffer().params().justification
+                   && align == LYX_ALIGN_BLOCK)
+                       align = LYX_ALIGN_LEFT;
+
                switch (align) {
                case LYX_ALIGN_BLOCK: {
                        int const ns = numberOfSeparators(par, row);