[Libreoffice-commits] .: Branch 'libreoffice-3-4' - sw/source

Lubos Lunak llunak at kemper.freedesktop.org
Thu May 5 09:40:42 PDT 2011


 sw/source/core/txtnode/fntcap.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 264038600c197d747c7a601d08a8df727a6ca2ea
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Thu May 5 18:39:03 2011 +0200

    fix incorrect merge and remove a useless cast

diff --git a/sw/source/core/txtnode/fntcap.cxx b/sw/source/core/txtnode/fntcap.cxx
index 160aaca..4ee0af6 100644
--- a/sw/source/core/txtnode/fntcap.cxx
+++ b/sw/source/core/txtnode/fntcap.cxx
@@ -623,7 +623,7 @@ void SwSubFont::DoOnCapitals( SwDoCapitals &rDo )
         pBigFont = pLastFont;
 
     // Hier entsteht der Kleinbuchstabenfont:
-    aFont.SetProportion( sal_uInt8 (aFont.GetPropr() * SMALL_CAPS_PERCENTAGE ) / 100L);
+    aFont.SetProportion( (aFont.GetPropr() * SMALL_CAPS_PERCENTAGE ) / 100L );
     pMagic2 = NULL;
     nIndex2 = 0;
     SwFntAccess *pSmallFontAccess = new SwFntAccess( pMagic2, nIndex2, &aFont,


More information about the Libreoffice-commits mailing list