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
2b63eea0
Kaydet (Commit)
2b63eea0
authored
Ock 16, 2018
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:useuniqueptr in EMFPPen
Change-Id: Icc50b2ff1d6c7490b67d39aed7c3621b74c03bac
üst
42b80f4e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
emfppen.cxx
cppcanvas/source/mtfrenderer/emfppen.cxx
+2
-4
emfppen.hxx
cppcanvas/source/mtfrenderer/emfppen.hxx
+2
-2
No files found.
cppcanvas/source/mtfrenderer/emfppen.cxx
Dosyayı görüntüle @
2b63eea0
...
...
@@ -91,8 +91,6 @@ namespace cppcanvas
EMFPPen
::~
EMFPPen
()
{
delete
customStartCap
;
delete
customEndCap
;
}
void
EMFPPen
::
SetStrokeWidth
(
rendering
::
StrokeAttributes
&
rStrokeAttributes
,
ImplRenderer
const
&
rR
,
const
OutDevState
&
rState
)
...
...
@@ -267,7 +265,7 @@ namespace cppcanvas
SAL_INFO
(
"cppcanvas.emf"
,
"EMF+
\t\t
customStartCapLen: "
<<
customStartCapLen
);
sal_uInt64
const
pos
=
s
.
Tell
();
customStartCap
=
new
EMFPCustomLineCap
(
);
customStartCap
.
reset
(
new
EMFPCustomLineCap
()
);
customStartCap
->
Read
(
s
,
rR
);
// maybe we don't read everything yet, play it safe ;-)
...
...
@@ -282,7 +280,7 @@ namespace cppcanvas
SAL_INFO
(
"cppcanvas.emf"
,
"EMF+
\t\t
customEndCapLen: "
<<
customEndCapLen
);
sal_uInt64
const
pos
=
s
.
Tell
();
customEndCap
=
new
EMFPCustomLineCap
(
);
customEndCap
.
reset
(
new
EMFPCustomLineCap
()
);
customEndCap
->
Read
(
s
,
rR
);
// maybe we don't read everything yet, play it safe ;-)
...
...
cppcanvas/source/mtfrenderer/emfppen.hxx
Dosyayı görüntüle @
2b63eea0
...
...
@@ -52,9 +52,9 @@ namespace cppcanvas
sal_Int32
alignment
;
std
::
vector
<
float
>
compoundArray
;
sal_Int32
customStartCapLen
;
EMFPCustomLineCap
*
customStartCap
;
std
::
unique_ptr
<
EMFPCustomLineCap
>
customStartCap
;
sal_Int32
customEndCapLen
;
EMFPCustomLineCap
*
customEndCap
;
std
::
unique_ptr
<
EMFPCustomLineCap
>
customEndCap
;
EMFPPen
();
...
...
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