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
c8383757
Kaydet (Commit)
c8383757
authored
Kas 16, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
valgrind: Invalid read from sequence released during assignation
Change-Id: I3bb665e15e6f4ae7ada94a33a58633bd548d34f4
üst
aa2f6cf0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
rtfexport.cxx
sw/qa/extras/rtfexport/rtfexport.cxx
+4
-3
rtfimport.cxx
sw/qa/extras/rtfimport/rtfimport.cxx
+4
-3
No files found.
sw/qa/extras/rtfexport/rtfexport.cxx
Dosyayı görüntüle @
c8383757
...
...
@@ -412,16 +412,17 @@ void Test::testFdo53113()
uno
::
Reference
<
drawing
::
XDrawPageSupplier
>
xDrawPageSupplier
(
mxComponent
,
uno
::
UNO_QUERY
);
uno
::
Reference
<
container
::
XIndexAccess
>
xDraws
(
xDrawPageSupplier
->
getDrawPage
(),
uno
::
UNO_QUERY
);
uno
::
Sequence
<
beans
::
PropertyValue
>
aProps
=
getProperty
<
uno
::
Sequence
<
beans
::
PropertyValue
>
>
(
xDraws
->
getByIndex
(
0
),
"CustomShapeGeometry"
);
uno
::
Sequence
<
beans
::
PropertyValue
>
aPathProps
;
for
(
int
i
=
0
;
i
<
aProps
.
getLength
();
++
i
)
{
const
beans
::
PropertyValue
&
rProp
=
aProps
[
i
];
if
(
rProp
.
Name
==
"Path"
)
rProp
.
Value
>>=
aProps
;
rProp
.
Value
>>=
aP
athP
rops
;
}
uno
::
Sequence
<
drawing
::
EnhancedCustomShapeParameterPair
>
aPairs
;
for
(
int
i
=
0
;
i
<
aProps
.
getLength
();
++
i
)
for
(
int
i
=
0
;
i
<
aP
athP
rops
.
getLength
();
++
i
)
{
const
beans
::
PropertyValue
&
rProp
=
aProps
[
i
];
const
beans
::
PropertyValue
&
rProp
=
aP
athP
rops
[
i
];
if
(
rProp
.
Name
==
"Coordinates"
)
rProp
.
Value
>>=
aPairs
;
}
...
...
sw/qa/extras/rtfimport/rtfimport.cxx
Dosyayı görüntüle @
c8383757
...
...
@@ -775,16 +775,17 @@ void Test::testInk()
uno
::
Reference
<
drawing
::
XDrawPageSupplier
>
xDrawPageSupplier
(
mxComponent
,
uno
::
UNO_QUERY
);
uno
::
Reference
<
container
::
XIndexAccess
>
xDraws
(
xDrawPageSupplier
->
getDrawPage
(),
uno
::
UNO_QUERY
);
uno
::
Sequence
<
beans
::
PropertyValue
>
aProps
=
getProperty
<
uno
::
Sequence
<
beans
::
PropertyValue
>
>
(
xDraws
->
getByIndex
(
0
),
"CustomShapeGeometry"
);
uno
::
Sequence
<
beans
::
PropertyValue
>
aPathProps
;
for
(
int
i
=
0
;
i
<
aProps
.
getLength
();
++
i
)
{
const
beans
::
PropertyValue
&
rProp
=
aProps
[
i
];
if
(
rProp
.
Name
==
"Path"
)
rProp
.
Value
>>=
aProps
;
rProp
.
Value
>>=
aP
athP
rops
;
}
uno
::
Sequence
<
drawing
::
EnhancedCustomShapeSegment
>
aSegments
;
for
(
int
i
=
0
;
i
<
aProps
.
getLength
();
++
i
)
for
(
int
i
=
0
;
i
<
aP
athP
rops
.
getLength
();
++
i
)
{
const
beans
::
PropertyValue
&
rProp
=
aProps
[
i
];
const
beans
::
PropertyValue
&
rProp
=
aP
athP
rops
[
i
];
if
(
rProp
.
Name
==
"Segments"
)
rProp
.
Value
>>=
aSegments
;
}
...
...
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