Blob Blame History Raw
From b8303a3e58f0b8d50574126998228d7d71c94728 Mon Sep 17 00:00:00 2001
From: Julien Nabet <serval2412@yahoo.fr>
Date: Wed, 1 Jan 2014 21:39:13 +0100
Subject: [PATCH 095/109] Resolves: fdo#72464 Character line break is set to 0
 Options/.../Writing Aids
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Change-Id: I9f3d1c64fde064fc7ba9bdfcb9e35032a0c40255
Reviewed-on: https://gerrit.libreoffice.org/7253
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
---
 linguistic/source/lngopt.hxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/linguistic/source/lngopt.hxx b/linguistic/source/lngopt.hxx
index c4bbc6c..c6d0bc6 100644
--- a/linguistic/source/lngopt.hxx
+++ b/linguistic/source/lngopt.hxx
@@ -149,7 +149,7 @@ public:
     virtual void SAL_CALL setIsSpellCapitalization(sal_Bool p1) throw (css::uno::RuntimeException)
         { setProperty(UPN_IS_SPELL_CAPITALIZATION, p1); }
     virtual sal_Int16 SAL_CALL getHyphMinLeading() throw (css::uno::RuntimeException)
-        { return getPropertyBool(UPN_HYPH_MIN_LEADING); }
+        { return getPropertyInt16(UPN_HYPH_MIN_LEADING); }
     virtual void SAL_CALL setHyphMinLeading(sal_Int16 p1) throw (css::uno::RuntimeException)
         { setProperty(UPN_HYPH_MIN_LEADING, p1); }
     virtual sal_Int16 SAL_CALL getHyphMinTrailing() throw (css::uno::RuntimeException)
-- 
1.8.4.2