[Libreoffice-commits] .: svx/source

Takeshi Abe tabe at kemper.freedesktop.org
Wed Apr 25 18:54:56 PDT 2012


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

New commits:
commit c1c023c67b84dac239013d1788137efd4c683e21
Author: Takeshi Abe <tabe at fixedpoint.jp>
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;
 }


More information about the Libreoffice-commits mailing list