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
e96eaea0
Kaydet (Commit)
e96eaea0
authored
Ock 19, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
-Werror=misleading-indentation (GCC 6)
Change-Id: Idcb4386f37d4f945301934e4f2e65d81cf1db2bd
üst
ef219e71
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
5 deletions
+20
-5
msdffimp.cxx
filter/source/msfilter/msdffimp.cxx
+20
-5
No files found.
filter/source/msfilter/msdffimp.cxx
Dosyayı görüntüle @
e96eaea0
...
...
@@ -2215,11 +2215,26 @@ void DffPropertyReader::ApplyCustomShapeGeometryAttributes( SvStream& rIn, SfxIt
nCnt = (sal_Int16)( nTmp & 0x1fff );//Last 13 bits for segment points number
switch( nTmp >> 13 )//First 3 bits for command type
{
case
0x0
:
nCommand
=
EnhancedCustomShapeSegmentCommand
::
LINETO
;
if
(
!
nCnt
)
nCnt
=
1
;
break
;
case
0x1
:
nCommand
=
EnhancedCustomShapeSegmentCommand
::
CURVETO
;
if
(
!
nCnt
)
nCnt
=
1
;
break
;
case
0x2
:
nCommand
=
EnhancedCustomShapeSegmentCommand
::
MOVETO
;
if
(
!
nCnt
)
nCnt
=
1
;
break
;
case
0x3
:
nCommand
=
EnhancedCustomShapeSegmentCommand
::
CLOSESUBPATH
;
nCnt
=
0
;
break
;
case
0x4
:
nCommand
=
EnhancedCustomShapeSegmentCommand
::
ENDSUBPATH
;
nCnt
=
0
;
break
;
case 0x0:
nCommand = EnhancedCustomShapeSegmentCommand::LINETO;
if ( !nCnt ) nCnt = 1;
break;
case 0x1:
nCommand = EnhancedCustomShapeSegmentCommand::CURVETO;
if ( !nCnt ) nCnt = 1;
break;
case 0x2:
nCommand = EnhancedCustomShapeSegmentCommand::MOVETO;
if ( !nCnt ) nCnt = 1;
break;
case 0x3:
nCommand = EnhancedCustomShapeSegmentCommand::CLOSESUBPATH;
nCnt = 0;
break;
case 0x4:
nCommand = EnhancedCustomShapeSegmentCommand::ENDSUBPATH;
nCnt = 0;
break;
case 0x5:
case 0x6:
{
...
...
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