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
4d1d6071
Kaydet (Commit)
4d1d6071
authored
Eyl 21, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove unused Link<> field
Change-Id: Ia07a1db94bacad8c1d9c108ee6e2ac2f82b6581f
üst
1c061348
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
12 deletions
+2
-12
gdimtf.hxx
include/vcl/gdimtf.hxx
+0
-3
gdimtf.cxx
vcl/source/gdi/gdimtf.cxx
+2
-9
No files found.
include/vcl/gdimtf.hxx
Dosyayı görüntüle @
4d1d6071
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
#include <vcl/dllapi.h>
#include <vcl/dllapi.h>
#include <tools/gen.hxx>
#include <tools/gen.hxx>
#include <tools/link.hxx>
#include <vcl/mapmod.hxx>
#include <vcl/mapmod.hxx>
#include <vcl/bitmap.hxx>
#include <vcl/bitmap.hxx>
#include <vcl/vclptr.hxx>
#include <vcl/vclptr.hxx>
...
@@ -69,7 +68,6 @@ private:
...
@@ -69,7 +68,6 @@ private:
MapMode
aPrefMapMode
;
MapMode
aPrefMapMode
;
Size
aPrefSize
;
Size
aPrefSize
;
Link
<>
aHookHdlLink
;
GDIMetaFile
*
pPrev
;
GDIMetaFile
*
pPrev
;
GDIMetaFile
*
pNext
;
GDIMetaFile
*
pNext
;
VclPtr
<
OutputDevice
>
pOutDev
;
VclPtr
<
OutputDevice
>
pOutDev
;
...
@@ -111,7 +109,6 @@ private:
...
@@ -111,7 +109,6 @@ private:
protected
:
protected
:
void
Linker
(
OutputDevice
*
pOut
,
bool
bLink
);
void
Linker
(
OutputDevice
*
pOut
,
bool
bLink
);
long
Hook
();
public
:
public
:
GDIMetaFile
();
GDIMetaFile
();
...
...
vcl/source/gdi/gdimtf.cxx
Dosyayı görüntüle @
4d1d6071
...
@@ -126,7 +126,6 @@ GDIMetaFile::GDIMetaFile( const GDIMetaFile& rMtf ) :
...
@@ -126,7 +126,6 @@ GDIMetaFile::GDIMetaFile( const GDIMetaFile& rMtf ) :
nCurrentActionElement
(
rMtf
.
nCurrentActionElement
),
nCurrentActionElement
(
rMtf
.
nCurrentActionElement
),
aPrefMapMode
(
rMtf
.
aPrefMapMode
),
aPrefMapMode
(
rMtf
.
aPrefMapMode
),
aPrefSize
(
rMtf
.
aPrefSize
),
aPrefSize
(
rMtf
.
aPrefSize
),
aHookHdlLink
(
rMtf
.
aHookHdlLink
),
pPrev
(
rMtf
.
pPrev
),
pPrev
(
rMtf
.
pPrev
),
pNext
(
rMtf
.
pNext
),
pNext
(
rMtf
.
pNext
),
pOutDev
(
NULL
),
pOutDev
(
NULL
),
...
@@ -206,7 +205,6 @@ GDIMetaFile& GDIMetaFile::operator=( const GDIMetaFile& rMtf )
...
@@ -206,7 +205,6 @@ GDIMetaFile& GDIMetaFile::operator=( const GDIMetaFile& rMtf )
aPrefMapMode
=
rMtf
.
aPrefMapMode
;
aPrefMapMode
=
rMtf
.
aPrefMapMode
;
aPrefSize
=
rMtf
.
aPrefSize
;
aPrefSize
=
rMtf
.
aPrefSize
;
aHookHdlLink
=
rMtf
.
aHookHdlLink
;
pPrev
=
rMtf
.
pPrev
;
pPrev
=
rMtf
.
pPrev
;
pNext
=
rMtf
.
pNext
;
pNext
=
rMtf
.
pNext
;
pOutDev
=
NULL
;
pOutDev
=
NULL
;
...
@@ -295,11 +293,6 @@ void GDIMetaFile::Linker( OutputDevice* pOut, bool bLink )
...
@@ -295,11 +293,6 @@ void GDIMetaFile::Linker( OutputDevice* pOut, bool bLink )
}
}
}
}
long
GDIMetaFile
::
Hook
()
{
return
aHookHdlLink
.
Call
(
this
);
}
void
GDIMetaFile
::
Record
(
OutputDevice
*
pOut
)
void
GDIMetaFile
::
Record
(
OutputDevice
*
pOut
)
{
{
if
(
bRecord
)
if
(
bRecord
)
...
@@ -325,7 +318,7 @@ void GDIMetaFile::Play( GDIMetaFile& rMtf, size_t nPos )
...
@@ -325,7 +318,7 @@ void GDIMetaFile::Play( GDIMetaFile& rMtf, size_t nPos )
for
(
size_t
nCurPos
=
nCurrentActionElement
;
nCurPos
<
nPos
;
nCurPos
++
)
for
(
size_t
nCurPos
=
nCurrentActionElement
;
nCurPos
<
nPos
;
nCurPos
++
)
{
{
if
(
!
Hook
()
&&
pAction
)
if
(
pAction
)
{
{
pAction
->
Duplicate
();
pAction
->
Duplicate
();
rMtf
.
AddAction
(
pAction
);
rMtf
.
AddAction
(
pAction
);
...
@@ -361,7 +354,7 @@ void GDIMetaFile::Play( OutputDevice* pOut, size_t nPos )
...
@@ -361,7 +354,7 @@ void GDIMetaFile::Play( OutputDevice* pOut, size_t nPos )
size_t
i
=
0
;
size_t
i
=
0
;
for
(
size_t
nCurPos
=
nCurrentActionElement
;
nCurPos
<
nPos
;
nCurPos
++
)
for
(
size_t
nCurPos
=
nCurrentActionElement
;
nCurPos
<
nPos
;
nCurPos
++
)
{
{
if
(
!
Hook
()
&&
pAction
)
if
(
pAction
)
{
{
if
(
pAction
->
GetType
()
==
MetaActionType
::
COMMENT
&&
if
(
pAction
->
GetType
()
==
MetaActionType
::
COMMENT
&&
static_cast
<
MetaCommentAction
*>
(
pAction
)
->
GetComment
()
==
"DELEGATE_PLUGGABLE_RENDERER"
)
static_cast
<
MetaCommentAction
*>
(
pAction
)
->
GetComment
()
==
"DELEGATE_PLUGGABLE_RENDERER"
)
...
...
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