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
42b80f4e
Kaydet (Commit)
42b80f4e
authored
Ock 16, 2018
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:useuniqueptr in EMFPRegion
Change-Id: I19107173318180ec08864e523f4065181eac00cc
üst
6f2db2c1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
emfpregion.cxx
cppcanvas/source/mtfrenderer/emfpregion.cxx
+1
-5
emfpregion.hxx
cppcanvas/source/mtfrenderer/emfpregion.hxx
+1
-1
No files found.
cppcanvas/source/mtfrenderer/emfpregion.cxx
Dosyayı görüntüle @
42b80f4e
...
...
@@ -58,10 +58,6 @@ namespace cppcanvas
EMFPRegion
::~
EMFPRegion
()
{
if
(
combineMode
)
{
delete
[]
combineMode
;
combineMode
=
nullptr
;
}
}
void
EMFPRegion
::
Read
(
SvStream
&
s
)
...
...
@@ -77,7 +73,7 @@ namespace cppcanvas
if
(
parts
<
0
||
sal_uInt32
(
parts
)
>
SAL_MAX_INT32
/
sizeof
(
sal_Int32
))
parts
=
SAL_MAX_INT32
/
sizeof
(
sal_Int32
);
combineMode
=
new
sal_Int32
[
parts
]
;
combineMode
.
reset
(
new
sal_Int32
[
parts
]
)
;
for
(
int
i
=
0
;
i
<
parts
;
i
++
)
{
s
.
ReadInt32
(
combineMode
[
i
]);
...
...
cppcanvas/source/mtfrenderer/emfpregion.hxx
Dosyayı görüntüle @
42b80f4e
...
...
@@ -27,7 +27,7 @@ namespace cppcanvas
struct
EMFPRegion
:
public
EMFPObject
{
sal_Int32
parts
;
s
al_Int32
*
combineMode
;
s
td
::
unique_ptr
<
sal_Int32
[]
>
combineMode
;
sal_Int32
initialState
;
float
ix
,
iy
,
iw
,
ih
;
...
...
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