[Libreoffice-commits] core.git: linguistic/source

Julien Nabet serval2412 at yahoo.fr
Wed Jan 1 12:40:21 PST 2014


 linguistic/source/lngopt.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6a82f67223bf8dd6d417b442e4f895496232a742
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Wed Jan 1 21:39:13 2014 +0100

    Resolves: fdo#72464 Character line break is set to 0 Options/.../Writing Aids
    
    Change-Id: I9f3d1c64fde064fc7ba9bdfcb9e35032a0c40255

diff --git a/linguistic/source/lngopt.hxx b/linguistic/source/lngopt.hxx
index 4e3df8e..791e242 100644
--- a/linguistic/source/lngopt.hxx
+++ b/linguistic/source/lngopt.hxx
@@ -145,7 +145,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)


More information about the Libreoffice-commits mailing list