[Libreoffice-commits] core.git: Branch 'feature/formula-core-rework' - mdds/0001-Fix-it-here-too.patch

Luboš Luňák l.lunak at suse.cz
Tue Jun 25 08:16:16 PDT 2013


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

New commits:
commit f77744e5ef9a3855c07b559077b51c5456999738
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