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
1122c8b9
Kaydet (Commit)
1122c8b9
authored
Tem 11, 2012
tarafından
Cédric Bosdonnat
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fpicker: don't edit local places with double-click
Change-Id: Ibb8330dd088f6b630058fc023ad7efdea59e08bf
üst
d75061c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
23 deletions
+23
-23
PlacesListBox.cxx
fpicker/source/office/PlacesListBox.cxx
+23
-23
No files found.
fpicker/source/office/PlacesListBox.cxx
Dosyayı görüntüle @
1122c8b9
...
...
@@ -168,30 +168,30 @@ IMPL_LINK( PlacesListBox, Selection, void* , EMPTYARG )
IMPL_LINK
(
PlacesListBox
,
DoubleClick
,
void
*
,
EMPTYARG
)
{
sal_uInt16
nSelected
=
mpImpl
->
GetCurrRow
();
PlacePtr
pPlace
=
maPlaces
[
nSelected
];
if
(
pPlace
->
IsEditable
()
==
true
)
{
PlaceEditDialog
aDlg
(
mpDlg
,
pPlace
);
short
aRetCode
=
aDlg
.
Execute
();
switch
(
aRetCode
)
{
case
RET_OK
:
{
pPlace
->
SetName
(
aDlg
.
GetServerName
()
);
pPlace
->
SetUrl
(
aDlg
.
GetServerUrl
()
);
sal_uInt16
nSelected
=
mpImpl
->
GetCurrRow
();
PlacePtr
pPlace
=
maPlaces
[
nSelected
];
if
(
pPlace
->
IsEditable
()
==
true
&&
!
pPlace
->
IsLocal
(
)
)
{
PlaceEditDialog
aDlg
(
mpDlg
,
pPlace
);
short
aRetCode
=
aDlg
.
Execute
();
switch
(
aRetCode
)
{
case
RET_OK
:
{
pPlace
->
SetName
(
aDlg
.
GetServerName
()
);
pPlace
->
SetUrl
(
aDlg
.
GetServerUrl
()
);
mbUpdated
=
true
;
break
;
}
case
RET_NO
:
{
RemovePlace
(
nSelected
);
break
;
}
default
:
break
;
};
}
return
0
;
break
;
}
case
RET_NO
:
{
RemovePlace
(
nSelected
);
break
;
}
default
:
break
;
};
}
return
0
;
}
void
PlacesListBox
::
updateView
(
)
...
...
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