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

Noel Grandin noel at peralex.com
Wed May 6 02:43:45 PDT 2015


 unotools/source/config/fontcfg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0a825b9aae390dc426261e873ffbacc867814e53
Author: Noel Grandin <noel at peralex.com>
Date:   Wed May 6 11:40:38 2015 +0200

    fix windows build
    
    warning C4334: '<<' : result of 32-bit shift implicitly converted to 64
    bits (was 64-bit shift intended?)
    
    after my commit 60e659ae355d073b05b3b9c8d2ac3bdc5f76020d
    "convert IMPL_FONT_ATTR constants to scoped enum"
    
    Change-Id: I83f1ea5869fa60c89dbc706020f68cc2c4277f48

diff --git a/unotools/source/config/fontcfg.cxx b/unotools/source/config/fontcfg.cxx
index 967794e..8053d95 100644
--- a/unotools/source/config/fontcfg.cxx
+++ b/unotools/source/config/fontcfg.cxx
@@ -988,7 +988,7 @@ FontWidth FontSubstConfiguration::getSubstWidth( const com::sun::star::uno::Refe
 ImplFontAttrs FontSubstConfiguration::getSubstType( const com::sun::star::uno::Reference< XNameAccess >& rFont,
                                                     const OUString& rType ) const
 {
-    sal_uLong type = 0;
+    unsigned long type = 0;
     try
     {
         Any aAny = rFont->getByName( rType );


More information about the Libreoffice-commits mailing list