Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
1eb67b0d
Kaydet (Commit)
1eb67b0d
authored
Şub 07, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
ww8 export: indentation fixes
Change-Id: I0416b782ff04e060a03b4e0494513f16bda14d6b
üst
105ebb9c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
16 deletions
+15
-16
docxattributeoutput.cxx
sw/source/filter/ww8/docxattributeoutput.cxx
+13
-14
rtfsdrexport.cxx
sw/source/filter/ww8/rtfsdrexport.cxx
+2
-2
No files found.
sw/source/filter/ww8/docxattributeoutput.cxx
Dosyayı görüntüle @
1eb67b0d
...
...
@@ -4285,19 +4285,19 @@ bool DocxAttributeOutput::WriteOLEChart( const SdrObject* pSdrObj, const Size& r
*/
void DocxAttributeOutput::WritePostponedChart()
{
if(m_postponedChart == NULL)
return;
uno::Reference< chart2::XChartDocument > xChartDoc;
uno::Reference< drawing::XShape > xShape( const_cast<SdrObject*>(m_postponedChart)->getUnoShape(), uno::UNO_QUERY );
if( xShape.is() )
{
uno::Reference< beans::XPropertySet > xPropSet( xShape, uno::UNO_QUERY );
if( xPropSet.is() )
xChartDoc.set( xPropSet->getPropertyValue( "Model" ), uno::UNO_QUERY );
}
if(m_postponedChart == NULL)
return;
uno::Reference< chart2::XChartDocument > xChartDoc;
uno::Reference< drawing::XShape > xShape( const_cast<SdrObject*>(m_postponedChart)->getUnoShape(), uno::UNO_QUERY );
if( xShape.is() )
{
uno::Reference< beans::XPropertySet > xPropSet( xShape, uno::UNO_QUERY );
if( xPropSet.is() )
xChartDoc.set( xPropSet->getPropertyValue( "Model" ), uno::UNO_QUERY );
}
if( xChartDoc.is() )
{
if( xChartDoc.is() )
{
OSL_TRACE("DocxAttributeOutput::WriteOLE2Obj: export chart ");
m_pSerializer->startElementNS( XML_w, XML_drawing,
FSEND );
...
...
@@ -4360,8 +4360,7 @@ void DocxAttributeOutput::WritePostponedChart()
m_pSerializer->endElementNS( XML_w, XML_drawing );
}
m_postponedChart = NULL;
return;
m_postponedChart = NULL;
}
bool DocxAttributeOutput::WriteOLEMath( const SdrObject*, const SwOLENode& rOLENode, const Size& )
...
...
sw/source/filter/ww8/rtfsdrexport.cxx
Dosyayı görüntüle @
1eb67b0d
...
...
@@ -259,8 +259,8 @@ void RtfSdrExport::Commit(EscherPropertyContainer& rProps, const Rectangle& rRec
EscherPropSortStruct
aSegments
;
if
(
rProps
.
GetOpt
(
ESCHER_Prop_pVertices
,
aVertices
)
&&
rProps
.
GetOpt
(
ESCHER_Prop_pSegmentInfo
,
aSegments
)
&&
aVertices
.
nPropSize
>=
6
&&
aSegments
.
nPropSize
>=
6
)
rProps
.
GetOpt
(
ESCHER_Prop_pSegmentInfo
,
aSegments
)
&&
aVertices
.
nPropSize
>=
6
&&
aSegments
.
nPropSize
>=
6
)
{
const
sal_uInt8
*
pVerticesIt
=
aVertices
.
pBuf
+
6
;
sal_Size
nVerticesPos
=
6
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment