summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/wrtww8.cxx
diff options
context:
space:
mode:
authorRajashri <rajashri.udhoji@synerzip.com>2014-03-12 10:44:57 +0530
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-03-13 09:56:50 +0100
commit3075b062261435d568d0680c3405ca61a7a40f39 (patch)
tree09918acd5a914582d44d15bc681da602d127ae4f /sw/source/filter/ww8/wrtww8.cxx
parentaa6fe2a0e62bdde897697c4e254d4256ff2accde (diff)
fdo#74772 : File Corruption - Issue related to List Bullet Numbering
- A File containing a graphic shape bullet is captured as a numPictBullet in MS office[in numbering.xml]. - Currently LO has support for graphic bullet as Image. Graphic bullet as Shape needs to be preserved in LO. - Since the numPictBullet is not exported in LO, but in <abstractNum> <lvlPicBulletId> was exported which lead to corruption. - Fixed the corruption caused due to lvlPicBulletId. - However the shape is not getting retained. Need to add implementation for gprahic bullet as a shape. Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Change-Id: I2fc2b1ab4b75e8a050e66837a64578b235059473
Diffstat (limited to 'sw/source/filter/ww8/wrtww8.cxx')
-rw-r--r--sw/source/filter/ww8/wrtww8.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx
index 82b0fbd56cc1..9832e183801e 100644
--- a/sw/source/filter/ww8/wrtww8.cxx
+++ b/sw/source/filter/ww8/wrtww8.cxx
@@ -1423,7 +1423,9 @@ int MSWordExportBase::CollectGrfsOfBullets()
}
if (!bHas)
{
- m_vecBulletPic.push_back(pGraf);
+ Size aSize(pGraf->GetPrefSize());
+ if (0 != aSize.Height() && 0 != aSize.Width())
+ m_vecBulletPic.push_back(pGraf);
}
}
}