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
e57d4e3c
Kaydet (Commit)
e57d4e3c
authored
Eki 12, 2011
tarafından
Julien Nabet
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some cppcheck cleaning
üst
aaa6e597
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
svtreebx.cxx
svtools/source/contnr/svtreebx.cxx
+3
-2
winmtf.hxx
svtools/source/filter/wmf/winmtf.hxx
+1
-1
No files found.
svtools/source/contnr/svtreebx.cxx
Dosyayı görüntüle @
e57d4e3c
...
@@ -1281,6 +1281,7 @@ void SvTreeListBox::ImplEditEntry( SvLBoxEntry* pEntry )
...
@@ -1281,6 +1281,7 @@ void SvTreeListBox::ImplEditEntry( SvLBoxEntry* pEntry )
SvLBoxString
*
pItem
=
NULL
;
SvLBoxString
*
pItem
=
NULL
;
sal_uInt16
nCount
=
pEntry
->
ItemCount
();
sal_uInt16
nCount
=
pEntry
->
ItemCount
();
long
nTabPos
,
nNextTabPos
=
0
;
for
(
sal_uInt16
i
=
0
;
i
<
nCount
;
i
++
)
for
(
sal_uInt16
i
=
0
;
i
<
nCount
;
i
++
)
{
{
SvLBoxItem
*
pTmpItem
=
pEntry
->
GetItem
(
i
);
SvLBoxItem
*
pTmpItem
=
pEntry
->
GetItem
(
i
);
...
@@ -1288,8 +1289,7 @@ void SvTreeListBox::ImplEditEntry( SvLBoxEntry* pEntry )
...
@@ -1288,8 +1289,7 @@ void SvTreeListBox::ImplEditEntry( SvLBoxEntry* pEntry )
continue
;
continue
;
SvLBoxTab
*
pTab
=
GetTab
(
pEntry
,
pTmpItem
);
SvLBoxTab
*
pTab
=
GetTab
(
pEntry
,
pTmpItem
);
long
nTabPos
=
pTab
->
GetPos
();
nNextTabPos
=
-
1
;
long
nNextTabPos
=
-
1
;
if
(
i
<
nCount
-
1
)
if
(
i
<
nCount
-
1
)
{
{
SvLBoxItem
*
pNextItem
=
pEntry
->
GetItem
(
i
+
1
);
SvLBoxItem
*
pNextItem
=
pEntry
->
GetItem
(
i
+
1
);
...
@@ -1299,6 +1299,7 @@ void SvTreeListBox::ImplEditEntry( SvLBoxEntry* pEntry )
...
@@ -1299,6 +1299,7 @@ void SvTreeListBox::ImplEditEntry( SvLBoxEntry* pEntry )
if
(
pTab
&&
pTab
->
IsEditable
()
)
if
(
pTab
&&
pTab
->
IsEditable
()
)
{
{
nTabPos
=
pTab
->
GetPos
();
if
(
!
bIsMouseTriggered
||
(
nClickX
>
nTabPos
&&
(
nNextTabPos
==
-
1
||
nClickX
<
nNextTabPos
)
)
)
if
(
!
bIsMouseTriggered
||
(
nClickX
>
nTabPos
&&
(
nNextTabPos
==
-
1
||
nClickX
<
nNextTabPos
)
)
)
{
{
pItem
=
static_cast
<
SvLBoxString
*>
(
pTmpItem
);
pItem
=
static_cast
<
SvLBoxString
*>
(
pTmpItem
);
...
...
svtools/source/filter/wmf/winmtf.hxx
Dosyayı görüntüle @
e57d4e3c
...
@@ -432,7 +432,7 @@ struct WinMtfLineStyle
...
@@ -432,7 +432,7 @@ struct WinMtfLineStyle
aLineColor
(
rColor
),
aLineColor
(
rColor
),
bTransparent
(
bTrans
)
{}
bTransparent
(
bTrans
)
{}
WinMtfLineStyle
(
const
Color
&
rColor
,
const
LineInfo
rStyle
,
sal_Bool
bTrans
=
sal_False
)
:
WinMtfLineStyle
(
const
Color
&
rColor
,
const
LineInfo
&
rStyle
,
sal_Bool
bTrans
=
sal_False
)
:
aLineColor
(
rColor
),
aLineColor
(
rColor
),
aLineInfo
(
rStyle
),
aLineInfo
(
rStyle
),
bTransparent
(
bTrans
)
{}
bTransparent
(
bTrans
)
{}
...
...
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