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
7304f974
Kaydet (Commit)
7304f974
authored
Kas 22, 2014
tarafından
Chris Sherlock
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vcl: remove unnecessary typedef VCLXGraphicsList_impl
Change-Id: Iaaf2f0edf721567f88ffc948501548fddd648428
üst
471ce7b5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
11 deletions
+9
-11
outdev.hxx
include/vcl/outdev.hxx
+3
-5
vclxgraphics.cxx
toolkit/source/awt/vclxgraphics.cxx
+3
-3
unowrapper.cxx
toolkit/source/helper/unowrapper.cxx
+1
-1
outdev.cxx
vcl/source/outdev/outdev.cxx
+2
-2
No files found.
include/vcl/outdev.hxx
Dosyayı görüntüle @
7304f974
...
...
@@ -242,8 +242,6 @@ namespace vcl {
class
FontInfo
;
}
typedef
::
std
::
vector
<
VCLXGraphics
*
>
VCLXGraphicsList_impl
;
sal_uLong
AdjustTwoRect
(
SalTwoRect
&
rTwoRect
,
const
Size
&
rSizePix
);
void
AdjustTwoRect
(
SalTwoRect
&
rTwoRect
,
const
Rectangle
&
rValidSrcRect
);
...
...
@@ -275,7 +273,7 @@ private:
mutable
ImplGetDevSizeList
*
mpGetDevSizeList
;
boost
::
ptr_deque
<
OutDevState
>*
mpOutDevStateStack
;
ImplOutDevData
*
mpOutDevData
;
VCLXGraphicsList_impl
*
mpUnoGraphicsList
;
std
::
vector
<
VCLXGraphics
*
>*
mpUnoGraphicsList
;
vcl
::
PDFWriterImpl
*
mpPDFWriter
;
vcl
::
ExtOutDevData
*
mpExtOutDevData
;
...
...
@@ -406,8 +404,8 @@ public:
css
::
uno
::
Reference
<
css
::
awt
::
XGraphics
>
CreateUnoGraphics
();
VCLXGraphicsList_impl
*
GetUnoGraphicsList
()
const
{
return
mpUnoGraphicsList
;
}
VCLXGraphicsList_impl
*
CreateUnoGraphicsList
();
std
::
vector
<
VCLXGraphics
*
>
*
GetUnoGraphicsList
()
const
{
return
mpUnoGraphicsList
;
}
std
::
vector
<
VCLXGraphics
*
>
*
CreateUnoGraphicsList
();
protected
:
...
...
toolkit/source/awt/vclxgraphics.cxx
Dosyayı görüntüle @
7304f974
...
...
@@ -66,10 +66,10 @@ VCLXGraphics::VCLXGraphics()
VCLXGraphics
::~
VCLXGraphics
()
{
VCLXGraphicsList_impl
*
pLst
=
mpOutputDevice
?
mpOutputDevice
->
GetUnoGraphicsList
()
:
NULL
;
std
::
vector
<
VCLXGraphics
*
>
*
pLst
=
mpOutputDevice
?
mpOutputDevice
->
GetUnoGraphicsList
()
:
NULL
;
if
(
pLst
)
{
for
(
VCLXGraphicsList_impl
::
iterator
it
=
pLst
->
begin
();
it
!=
pLst
->
end
();
++
it
)
for
(
std
::
vector
<
VCLXGraphics
*
>
::
iterator
it
=
pLst
->
begin
();
it
!=
pLst
->
end
();
++
it
)
{
if
(
*
it
==
this
)
{
pLst
->
erase
(
it
);
...
...
@@ -97,7 +97,7 @@ void VCLXGraphics::Init( OutputDevice* pOutDev )
mpClipRegion
=
NULL
;
// Register at OutputDevice
VCLXGraphicsList_impl
*
pLst
=
mpOutputDevice
->
GetUnoGraphicsList
();
std
::
vector
<
VCLXGraphics
*
>
*
pLst
=
mpOutputDevice
->
GetUnoGraphicsList
();
if
(
!
pLst
)
pLst
=
mpOutputDevice
->
CreateUnoGraphicsList
();
pLst
->
push_back
(
this
);
...
...
toolkit/source/helper/unowrapper.cxx
Dosyayı görüntüle @
7304f974
...
...
@@ -194,7 +194,7 @@ void UnoWrapper::SetWindowInterface( vcl::Window* pWindow, ::com::sun::star::uno
void
UnoWrapper
::
ReleaseAllGraphics
(
OutputDevice
*
pOutDev
)
{
VCLXGraphicsList_impl
*
pLst
=
pOutDev
->
GetUnoGraphicsList
();
std
::
vector
<
VCLXGraphics
*
>
*
pLst
=
pOutDev
->
GetUnoGraphicsList
();
if
(
pLst
)
{
for
(
size_t
n
=
0
;
n
<
pLst
->
size
();
n
++
)
...
...
vcl/source/outdev/outdev.cxx
Dosyayı görüntüle @
7304f974
...
...
@@ -379,9 +379,9 @@ css::uno::Reference< css::awt::XGraphics > OutputDevice::CreateUnoGraphics()
return
pWrapper
?
pWrapper
->
CreateGraphics
(
this
)
:
css
::
uno
::
Reference
<
css
::
awt
::
XGraphics
>
();
}
VCLXGraphicsList_impl
*
OutputDevice
::
CreateUnoGraphicsList
()
std
::
vector
<
VCLXGraphics
*
>
*
OutputDevice
::
CreateUnoGraphicsList
()
{
mpUnoGraphicsList
=
new
VCLXGraphicsList_impl
();
mpUnoGraphicsList
=
new
std
::
vector
<
VCLXGraphics
*
>
();
return
mpUnoGraphicsList
;
}
...
...
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