[Libreoffice-commits] core.git: mdds/0001-Fix-it-here-too.patch

Luboš Luňák l.lunak at suse.cz
Tue Jun 25 07:48:05 PDT 2013


 mdds/0001-Fix-it-here-too.patch |   10 ++++++++++
 1 file changed, 10 insertions(+)

New commits:
commit 9aafef1baea2cbdd73fa0c1f0a33684ac9f35216
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Tue Jun 25 16:47:35 2013 +0200

    one more fix for mdds with msvc
    
    Change-Id: I49dfc1b3efcd00547764159fc9ce3dcc1339f7d2

diff --git a/mdds/0001-Fix-it-here-too.patch b/mdds/0001-Fix-it-here-too.patch
index 9884ff0..5f99a3d 100644
--- a/mdds/0001-Fix-it-here-too.patch
+++ b/mdds/0001-Fix-it-here-too.patch
@@ -21,6 +21,16 @@ index 685899b..cea8ae0 100644
              block* blk = m_blocks[block_index+1];
              blk->mp_data = dst_data.release();
          }
+@@ -2713,8 +2713,7 @@
+         else
+         {
+             // Insert a new block to store the new elements.
+-            m_blocks.insert(m_blocks.begin()+dst_index+1, NULL);
+-            m_blocks[dst_index+1] = new block(len);
++            m_blocks.insert(m_blocks.begin()+dst_index+1, new block(len));
+             blk = m_blocks[dst_index+1];
+             blk->mp_data = element_block_func::create_new_block(cat_src, 0);
+             assert(blk->mp_data);
 -- 
 1.8.0
 


More information about the Libreoffice-commits mailing list