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
791037c5
Kaydet (Commit)
791037c5
authored
Şub 15, 2011
tarafından
Cédric Bosdonnat
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed some rebase problems
üst
9f4c66cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
ctrlbox.cxx
svtools/source/control/ctrlbox.cxx
+7
-9
No files found.
svtools/source/control/ctrlbox.cxx
Dosyayı görüntüle @
791037c5
...
@@ -482,8 +482,6 @@ sal_uInt16 ImpLineListData::GetStyle( )
...
@@ -482,8 +482,6 @@ sal_uInt16 ImpLineListData::GetStyle( )
return
m_nStyle
;
return
m_nStyle
;
}
}
DECLARE_LIST
(
ImpLineList
,
ImpLineListData
*
)
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
void
lclDrawPolygon
(
OutputDevice
&
rDev
,
const
basegfx
::
B2DPolygon
&
rPolygon
,
long
nWidth
,
sal_uInt16
nDashing
)
void
lclDrawPolygon
(
OutputDevice
&
rDev
,
const
basegfx
::
B2DPolygon
&
rPolygon
,
long
nWidth
,
sal_uInt16
nDashing
)
...
@@ -718,10 +716,10 @@ sal_uInt16 LineListBox::GetStylePos( sal_uInt16 nListPos, long nWidth )
...
@@ -718,10 +716,10 @@ sal_uInt16 LineListBox::GetStylePos( sal_uInt16 nListPos, long nWidth )
sal_uInt16
i
=
0
;
sal_uInt16
i
=
0
;
sal_uInt16
n
=
0
;
sal_uInt16
n
=
0
;
sal_uInt16
nCount
=
pLineList
->
Count
(
);
sal_uInt16
nCount
=
pLineList
->
size
(
);
while
(
nPos
==
LISTBOX_ENTRY_NOTFOUND
&&
i
<
nCount
)
while
(
nPos
==
LISTBOX_ENTRY_NOTFOUND
&&
i
<
nCount
)
{
{
ImpLineListData
*
pData
=
pLineList
->
GetObject
(
i
)
;
ImpLineListData
*
pData
=
(
*
pLineList
)[
i
]
;
if
(
pData
&&
pData
->
GetMinWidth
()
<=
nWidth
)
if
(
pData
&&
pData
->
GetMinWidth
()
<=
nWidth
)
{
{
if
(
nListPos
==
n
)
if
(
nListPos
==
n
)
...
@@ -887,10 +885,10 @@ void LineListBox::UpdateEntries( long nOldWidth )
...
@@ -887,10 +885,10 @@ void LineListBox::UpdateEntries( long nOldWidth )
ListBox
::
InsertEntry
(
m_sNone
,
LISTBOX_APPEND
);
ListBox
::
InsertEntry
(
m_sNone
,
LISTBOX_APPEND
);
sal_uInt16
n
=
0
;
sal_uInt16
n
=
0
;
sal_uInt16
nCount
=
pLineList
->
Count
(
);
sal_uInt16
nCount
=
pLineList
->
size
(
);
while
(
n
<
nCount
)
while
(
n
<
nCount
)
{
{
ImpLineListData
*
pData
=
pLineList
->
GetObject
(
n
)
;
ImpLineListData
*
pData
=
(
*
pLineList
)[
n
]
;
if
(
pData
&&
pData
->
GetMinWidth
()
<=
m_nWidth
)
if
(
pData
&&
pData
->
GetMinWidth
()
<=
m_nWidth
)
{
{
Bitmap
aBmp
;
Bitmap
aBmp
;
...
@@ -921,7 +919,7 @@ Color LineListBox::GetColorLine1( sal_uInt16 nPos )
...
@@ -921,7 +919,7 @@ Color LineListBox::GetColorLine1( sal_uInt16 nPos )
Color
rResult
=
GetPaintColor
(
);
Color
rResult
=
GetPaintColor
(
);
sal_uInt16
nStyle
=
GetStylePos
(
nPos
,
m_nWidth
);
sal_uInt16
nStyle
=
GetStylePos
(
nPos
,
m_nWidth
);
ImpLineListData
*
pData
=
pLineList
->
GetObject
(
nStyle
)
;
ImpLineListData
*
pData
=
(
*
pLineList
)[
nStyle
]
;
if
(
pData
)
if
(
pData
)
rResult
=
pData
->
GetColorLine1
(
GetColor
(
)
);
rResult
=
pData
->
GetColorLine1
(
GetColor
(
)
);
...
@@ -933,7 +931,7 @@ Color LineListBox::GetColorLine2( sal_uInt16 nPos )
...
@@ -933,7 +931,7 @@ Color LineListBox::GetColorLine2( sal_uInt16 nPos )
Color
rResult
=
GetPaintColor
(
);
Color
rResult
=
GetPaintColor
(
);
sal_uInt16
nStyle
=
GetStylePos
(
nPos
,
m_nWidth
);
sal_uInt16
nStyle
=
GetStylePos
(
nPos
,
m_nWidth
);
ImpLineListData
*
pData
=
pLineList
->
GetObject
(
nStyle
)
;
ImpLineListData
*
pData
=
(
*
pLineList
)[
nStyle
]
;
if
(
pData
)
if
(
pData
)
rResult
=
pData
->
GetColorLine2
(
GetColor
(
)
);
rResult
=
pData
->
GetColorLine2
(
GetColor
(
)
);
...
@@ -945,7 +943,7 @@ Color LineListBox::GetColorDist( sal_uInt16 nPos )
...
@@ -945,7 +943,7 @@ Color LineListBox::GetColorDist( sal_uInt16 nPos )
Color
rResult
=
GetSettings
().
GetStyleSettings
().
GetFieldColor
();
Color
rResult
=
GetSettings
().
GetStyleSettings
().
GetFieldColor
();
sal_uInt16
nStyle
=
GetStylePos
(
nPos
,
m_nWidth
);
sal_uInt16
nStyle
=
GetStylePos
(
nPos
,
m_nWidth
);
ImpLineListData
*
pData
=
pLineList
->
GetObject
(
nStyle
)
;
ImpLineListData
*
pData
=
(
*
pLineList
)[
nStyle
]
;
if
(
pData
)
if
(
pData
)
rResult
=
pData
->
GetColorDist
(
GetColor
(
),
rResult
);
rResult
=
pData
->
GetColorDist
(
GetColor
(
),
rResult
);
...
...
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