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
da88c8b7
Kaydet (Commit)
da88c8b7
authored
Eki 20, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert Link<> to typed
Change-Id: I9453beedfa059d4f260ca136c02a6104fc4d4829
üst
516b5115
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
8 deletions
+6
-8
indexdialog.cxx
dbaccess/source/ui/dlg/indexdialog.cxx
+2
-4
indexfieldscontrol.cxx
dbaccess/source/ui/dlg/indexfieldscontrol.cxx
+1
-1
indexdialog.hxx
dbaccess/source/ui/inc/indexdialog.hxx
+1
-1
indexfieldscontrol.hxx
dbaccess/source/ui/inc/indexfieldscontrol.hxx
+2
-2
No files found.
dbaccess/source/ui/dlg/indexdialog.cxx
Dosyayı görüntüle @
da88c8b7
...
...
@@ -733,17 +733,15 @@ namespace dbaui
IMPL_LINK_NOARG_TYPED
(
DbaIndexDialog
,
OnModifiedClick
,
Button
*
,
void
)
{
OnModified
(
NULL
);
OnModified
(
*
m_pFields
);
}
IMPL_LINK_NOARG
(
DbaIndexDialog
,
OnModifie
d
)
IMPL_LINK_NOARG
_TYPED
(
DbaIndexDialog
,
OnModified
,
IndexFieldsControl
&
,
voi
d
)
{
OSL_ENSURE
(
m_pPreviousSelection
,
"DbaIndexDialog, OnModified: invalid call!"
);
Indexes
::
iterator
aPosition
=
m_pIndexes
->
begin
()
+
reinterpret_cast
<
sal_IntPtr
>
(
m_pPreviousSelection
->
GetUserData
());
aPosition
->
setModified
(
true
);
updateToolbox
();
return
1L
;
}
void
DbaIndexDialog
::
updateControls
(
const
SvTreeListEntry
*
_pEntry
)
...
...
dbaccess/source/ui/dlg/indexfieldscontrol.cxx
Dosyayı görüntüle @
da88c8b7
...
...
@@ -387,7 +387,7 @@ namespace dbaui
{
ListBoxControl
&
rListBox
=
rController
.
GetListBox
();
if
(
!
rListBox
.
IsTravelSelect
())
m_aModifyHdl
.
Call
(
this
);
m_aModifyHdl
.
Call
(
*
this
);
if
(
&
rListBox
==
m_pFieldNameCell
.
get
())
{
// a field has been selected
...
...
dbaccess/source/ui/inc/indexdialog.hxx
Dosyayı görüntüle @
da88c8b7
...
...
@@ -132,7 +132,7 @@ namespace dbaui
DECL_LINK_TYPED
(
OnIndexAction
,
ToolBox
*
,
void
);
DECL_LINK_TYPED
(
OnEntryEdited
,
SvTreeListEntry
*
,
bool
);
DECL_LINK_TYPED
(
OnModifiedClick
,
Button
*
,
void
);
DECL_LINK
(
OnModified
,
void
*
);
DECL_LINK
_TYPED
(
OnModified
,
IndexFieldsControl
&
,
void
);
DECL_LINK_TYPED
(
OnCloseDialog
,
Button
*
,
void
);
DECL_LINK_TYPED
(
OnEditIndexAgain
,
void
*
,
void
);
...
...
dbaccess/source/ui/inc/indexfieldscontrol.hxx
Dosyayı görüntüle @
da88c8b7
...
...
@@ -40,7 +40,7 @@ namespace dbaui
IndexFields
m_aFields
;
// !! order matters !!
IndexFields
::
const_iterator
m_aSeekRow
;
// !!
Link
<
>
m_aModifyHdl
;
Link
<
IndexFieldsControl
&
,
void
>
m_aModifyHdl
;
VclPtr
<
::
svt
::
ListBoxControl
>
m_pSortingCell
;
VclPtr
<
::
svt
::
ListBoxControl
>
m_pFieldNameCell
;
...
...
@@ -67,7 +67,7 @@ namespace dbaui
const
IndexFields
&
GetSavedValue
()
const
{
return
m_aSavedValue
;
}
void
SaveValue
()
{
m_aSavedValue
=
m_aFields
;
}
void
SetModifyHdl
(
const
Link
<>&
_rHdl
)
{
m_aModifyHdl
=
_rHdl
;
}
void
SetModifyHdl
(
const
Link
<
IndexFieldsControl
&
,
void
>&
_rHdl
)
{
m_aModifyHdl
=
_rHdl
;
}
virtual
OUString
GetCellText
(
long
_nRow
,
sal_uInt16
nColId
)
const
override
;
protected
:
...
...
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