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

udareechk udareeck at gmail.com
Mon Oct 23 12:50:29 UTC 2017


 xmloff/source/core/unoatrcn.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1fe94cb6152737632e543ef8f8534f15203dc747
Author: udareechk <udareeck at gmail.com>
Date:   Thu Sep 21 21:58:22 2017 +0530

    tdf#96505 Get rid of cargo cult long integer literals
    
    Removed 1L and 0L in xmloff file
    
    Change-Id: I58c2f909495c6255be8ddc8105c2ddbfea24f543
    Reviewed-on: https://gerrit.libreoffice.org/42604
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    Tested-by: Michael Stahl <mstahl at redhat.com>

diff --git a/xmloff/source/core/unoatrcn.cxx b/xmloff/source/core/unoatrcn.cxx
index 8ab927f9ce3d..01a3d1ff6ba4 100644
--- a/xmloff/source/core/unoatrcn.cxx
+++ b/xmloff/source/core/unoatrcn.cxx
@@ -243,7 +243,7 @@ OUString SAL_CALL SvUnoAttributeContainer::getImplementationName()
 uno::Sequence< OUString > SvUnoAttributeContainer::getSupportedServiceNames()
 {
     OUString aSN( "com.sun.star.xml.AttributeContainer" );
-    uno::Sequence< OUString > aNS( &aSN, 1L );
+    uno::Sequence< OUString > aNS( &aSN, 1 );
     return aNS;
 }
 


More information about the Libreoffice-commits mailing list