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
5ec3ee2c
Kaydet (Commit)
5ec3ee2c
authored
Haz 15, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: indentation fixes
Change-Id: I495c8bd4ee24832573cb56b6ffe4533263eb39f0
üst
d0bedaf9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
41 deletions
+41
-41
rtfsdrexport.cxx
sw/source/filter/ww8/rtfsdrexport.cxx
+37
-37
dbui.cxx
sw/source/uibase/dbui/dbui.cxx
+4
-4
No files found.
sw/source/filter/ww8/rtfsdrexport.cxx
Dosyayı görüntüle @
5ec3ee2c
...
@@ -288,51 +288,51 @@ void RtfSdrExport::Commit(EscherPropertyContainer& rProps, const Rectangle& rRec
...
@@ -288,51 +288,51 @@ void RtfSdrExport::Commit(EscherPropertyContainer& rProps, const Rectangle& rRec
aSegmentInfo
.
append
(
';'
).
append
((
sal_Int32
)
nSeg
);
aSegmentInfo
.
append
(
';'
).
append
((
sal_Int32
)
nSeg
);
switch
(
nSegmentType
)
switch
(
nSegmentType
)
{
{
case
msopathLineTo
:
case
msopathLineTo
:
for
(
unsigned
short
i
=
0
;
i
<
nSegmentCount
;
++
i
)
for
(
unsigned
short
i
=
0
;
i
<
nSegmentCount
;
++
i
)
{
sal_Int32
nX
=
impl_GetPointComponent
(
pVerticesIt
,
nVerticesPos
,
nPointSize
);
sal_Int32
nY
=
impl_GetPointComponent
(
pVerticesIt
,
nVerticesPos
,
nPointSize
);
aVerticies
.
append
(
";("
).
append
(
nX
).
append
(
","
).
append
(
nY
).
append
(
")"
);
nVertices
++
;
}
break
;
case
msopathMoveTo
:
{
{
sal_Int32
nX
=
impl_GetPointComponent
(
pVerticesIt
,
nVerticesPos
,
nPointSize
);
sal_Int32
nX
=
impl_GetPointComponent
(
pVerticesIt
,
nVerticesPos
,
nPointSize
);
sal_Int32
nY
=
impl_GetPointComponent
(
pVerticesIt
,
nVerticesPos
,
nPointSize
);
sal_Int32
nY
=
impl_GetPointComponent
(
pVerticesIt
,
nVerticesPos
,
nPointSize
);
aVerticies
.
append
(
";("
).
append
(
nX
).
append
(
","
).
append
(
nY
).
append
(
")"
);
aVerticies
.
append
(
";("
).
append
(
nX
).
append
(
","
).
append
(
nY
).
append
(
")"
);
nVertices
++
;
nVertices
++
;
break
;
}
}
case
msopathCurveTo
:
break
;
for
(
unsigned
short
j
=
0
;
j
<
nSegmentCount
;
++
j
)
case
msopathMoveTo
:
{
sal_Int32
nX
=
impl_GetPointComponent
(
pVerticesIt
,
nVerticesPos
,
nPointSize
);
sal_Int32
nY
=
impl_GetPointComponent
(
pVerticesIt
,
nVerticesPos
,
nPointSize
);
aVerticies
.
append
(
";("
).
append
(
nX
).
append
(
","
).
append
(
nY
).
append
(
")"
);
nVertices
++
;
break
;
}
case
msopathCurveTo
:
for
(
unsigned
short
j
=
0
;
j
<
nSegmentCount
;
++
j
)
{
for
(
int
i
=
0
;
i
<
3
;
i
++
)
{
{
for
(
int
i
=
0
;
i
<
3
;
i
++
)
sal_Int32
nX
=
impl_GetPointComponent
(
pVerticesIt
,
nVerticesPos
,
nPointSize
);
{
sal_Int32
nY
=
impl_GetPointComponent
(
pVerticesIt
,
nVerticesPos
,
nPointSize
);
sal_Int32
nX
=
impl_GetPointComponent
(
pVerticesIt
,
nVerticesPos
,
nPointSize
);
aVerticies
.
append
(
";("
).
append
(
nX
).
append
(
","
).
append
(
nY
).
append
(
")"
);
sal_Int32
nY
=
impl_GetPointComponent
(
pVerticesIt
,
nVerticesPos
,
nPointSize
);
nVertices
++
;
aVerticies
.
append
(
";("
).
append
(
nX
).
append
(
","
).
append
(
nY
).
append
(
")"
);
nVertices
++
;
}
}
}
break
;
case
msopathEscape
:
{
// If the segment type is msopathEscape, the lower 13 bits are
// divided in a 5 bit escape code and 8 bit
// vertex count (not segment count!)
unsigned
char
nVertexCount
=
nSegmentCount
&
0x00FF
;
nVerticesPos
+=
nVertexCount
;
break
;
}
}
case
msopathClientEscape
:
break
;
case
msopathClose
:
case
msopathEscape
:
case
msopathEnd
:
{
break
;
// If the segment type is msopathEscape, the lower 13 bits are
default
:
// divided in a 5 bit escape code and 8 bit
SAL_WARN
(
"oox"
,
"Totally b0rked
\n
"
);
// vertex count (not segment count!)
break
;
unsigned
char
nVertexCount
=
nSegmentCount
&
0x00FF
;
nVerticesPos
+=
nVertexCount
;
break
;
}
case
msopathClientEscape
:
case
msopathClose
:
case
msopathEnd
:
break
;
default
:
SAL_WARN
(
"oox"
,
"Totally b0rked
\n
"
);
break
;
}
}
}
}
...
...
sw/source/uibase/dbui/dbui.cxx
Dosyayı görüntüle @
5ec3ee2c
...
@@ -134,10 +134,10 @@ void CancelableDialog::SetCancelHdl( const Link<>& rLink )
...
@@ -134,10 +134,10 @@ void CancelableDialog::SetCancelHdl( const Link<>& rLink )
void
CancelableDialog
::
Show
()
void
CancelableDialog
::
Show
()
{
{
if
(
mbModal
)
if
(
mbModal
)
StartExecuteModal
(
Link
<>
()
);
StartExecuteModal
(
Link
<>
()
);
else
else
Dialog
::
Show
();
Dialog
::
Show
();
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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