Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Attached is a small patch for libmspub.

Greetings,
Franz Schmid
From 1c2461ca573b83cb34a368723d12aa84d90638bf Mon Sep 17 00:00:00 2001
From: Franz Schmid <franz@linux-hp-i7.site>
Date: Fri, 19 Apr 2013 20:49:01 +0200
Subject: [PATCH 2/2] First Line left indent is signed not unsigned.

---
 src/lib/MSPUBCollector.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/lib/MSPUBCollector.cpp b/src/lib/MSPUBCollector.cpp
index 4af4969..7cd6fa7 100644
--- a/src/lib/MSPUBCollector.cpp
+++ b/src/lib/MSPUBCollector.cpp
@@ -1167,7 +1167,7 @@ WPXPropertyList libmspub::MSPUBCollector::getParaStyleProps(const 
ParagraphStyle
                              defaultStyle.m_spaceAfterEmu.get_value_or(0));
   unsigned spaceBeforeEmu = style.m_spaceBeforeEmu.get_value_or(
                               defaultStyle.m_spaceBeforeEmu.get_value_or(0));
-  unsigned firstLineIndentEmu = style.m_firstLineIndentEmu.get_value_or(
+  signed firstLineIndentEmu = style.m_firstLineIndentEmu.get_value_or(
                                   defaultStyle.m_firstLineIndentEmu.get_value_or(0));
   unsigned leftIndentEmu = style.m_leftIndentEmu.get_value_or(
                              defaultStyle.m_leftIndentEmu.get_value_or(0));
-- 
1.7.1


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.