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

Jochen Nitschke j.nitschke+logerrit at ok.de
Sun Feb 25 15:19:15 UTC 2018


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

New commits:
commit 5fb3a3ef3ec37926c715c0944873f8612eb25519
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date:   Sun Feb 25 12:08:54 2018 +0100

    amend Sequence size
    
    Change-Id: Ib5fd612c2cba6190f414aca261415b3b977971c0
    Reviewed-on: https://gerrit.libreoffice.org/50300
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
    Tested-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/svx/source/xoutdev/xattrbmp.cxx b/svx/source/xoutdev/xattrbmp.cxx
index fa318829e613..0687628bf84c 100644
--- a/svx/source/xoutdev/xattrbmp.cxx
+++ b/svx/source/xoutdev/xattrbmp.cxx
@@ -277,7 +277,7 @@ bool XFillBitmapItem::QueryValue(css::uno::Any& rVal, sal_uInt8 nMemberId) const
     {
         // member-id 0 => complete item (e.g. for toolbars)
         DBG_ASSERT( nMemberId == 0, "invalid member-id" );
-        uno::Sequence< beans::PropertyValue > aPropSeq( 3 );
+        uno::Sequence< beans::PropertyValue > aPropSeq( 2 );
 
         aPropSeq[0].Name  = "Name";
         aPropSeq[0].Value <<= aInternalName;


More information about the Libreoffice-commits mailing list