svx/source/unodraw/unoshcol.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c1c023c67b84dac239013d1788137efd4c683e21
Author: Takeshi Abe <[email protected]>
Date:   Thu Apr 26 10:52:27 2012 +0900

    Assign com.sun.star.drawing.Shapes at index 0
    
    Thanks to Eike for review.

diff --git a/svx/source/unodraw/unoshcol.cxx b/svx/source/unodraw/unoshcol.cxx
index 1e02c9c..1c45081 100644
--- a/svx/source/unodraw/unoshcol.cxx
+++ b/svx/source/unodraw/unoshcol.cxx
@@ -246,7 +246,7 @@ uno::Sequence< ::rtl::OUString > SAL_CALL 
SvxShapeCollection::getSupportedServic
 uno::Sequence< ::rtl::OUString > 
SvxShapeCollection::getSupportedServiceNames_Static()
 {
     uno::Sequence< ::rtl::OUString > aSeq(2);
-    aSeq.getArray()[1] = ::rtl::OUString( 
RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.Shapes") );
+    aSeq.getArray()[0] = ::rtl::OUString( 
RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.Shapes") );
     aSeq.getArray()[1] = ::rtl::OUString( 
RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.ShapeCollection") );
     return aSeq;
 }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to