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
fddd41eb
Kaydet (Commit)
fddd41eb
authored
Eyl 16, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert Link<> to typed
Change-Id: I9705eccf8238cf0dc6c5a429c89a2cd3d8331d08
üst
f0c658e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
14 deletions
+13
-14
gridcell.cxx
svx/source/fmcomp/gridcell.cxx
+5
-6
gridcell.hxx
svx/source/inc/gridcell.hxx
+8
-8
No files found.
svx/source/fmcomp/gridcell.cxx
Dosyayı görüntüle @
fddd41eb
...
...
@@ -2891,7 +2891,7 @@ bool DbFilterField::commitControl()
if
(
m_aText
!=
aText
)
{
m_aText
=
aText
;
m_aCommitLink
.
Call
(
this
);
m_aCommitLink
.
Call
(
*
this
);
}
return
true
;
default
:
...
...
@@ -2943,7 +2943,7 @@ bool DbFilterField::commitControl()
m_aText
=
aText
;
m_pWindow
->
SetText
(
m_aText
);
m_aCommitLink
.
Call
(
this
);
m_aCommitLink
.
Call
(
*
this
);
}
return
true
;
}
...
...
@@ -3134,7 +3134,7 @@ IMPL_LINK_NOARG_TYPED(DbFilterField, OnClick, VclPtr<CheckBox>, void)
if
(
m_aText
!=
aText
)
{
m_aText
=
aText
;
m_aCommitLink
.
Call
(
this
);
m_aCommitLink
.
Call
(
*
this
);
}
}
...
...
@@ -4588,7 +4588,7 @@ void FmXFilterCell::disposing()
::
com
::
sun
::
star
::
lang
::
EventObject
aEvt
(
*
this
);
m_aTextListeners
.
disposeAndClear
(
aEvt
);
static_cast
<
DbFilterField
*>
(
m_pCellControl
)
->
SetCommitHdl
(
Link
<>
());
static_cast
<
DbFilterField
*>
(
m_pCellControl
)
->
SetCommitHdl
(
Link
<
DbFilterField
&
,
void
>
());
FmXGridCell
::
disposing
();
}
...
...
@@ -4688,14 +4688,13 @@ void SAL_CALL FmXFilterCell::setMaxTextLen( sal_Int16 /*nLen*/ ) throw( RuntimeE
}
IMPL_LINK_NOARG
(
FmXFilterCell
,
OnCommit
)
IMPL_LINK_NOARG
_TYPED
(
FmXFilterCell
,
OnCommit
,
DbFilterField
&
,
void
)
{
::
cppu
::
OInterfaceIteratorHelper
aIt
(
m_aTextListeners
);
::
com
::
sun
::
star
::
awt
::
TextEvent
aEvt
;
aEvt
.
Source
=
*
this
;
while
(
aIt
.
hasMoreElements
()
)
static_cast
<
::
com
::
sun
::
star
::
awt
::
XTextListener
*>
(
aIt
.
next
())
->
textChanged
(
aEvt
);
return
1
;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
svx/source/inc/gridcell.hxx
Dosyayı görüntüle @
fddd41eb
...
...
@@ -677,13 +677,13 @@ class DbFilterField
:
public
DbCellControl
,
public
::
svxform
::
OSQLParserClient
{
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
m_aValueList
;
OUString
m_aText
;
Link
<
>
m_aCommitLink
;
css
::
uno
::
Sequence
<
OUString
>
m_aValueList
;
OUString
m_aText
;
Link
<
DbFilterField
&
,
void
>
m_aCommitLink
;
sal_Int16
m_nControlClass
;
bool
m_bFilterList
:
1
;
bool
m_bFilterListFilled
:
1
;
bool
m_bBound
:
1
;
bool
m_bFilterList
:
1
;
bool
m_bFilterListFilled
:
1
;
bool
m_bBound
:
1
;
public
:
TYPEINFO_OVERRIDE
();
...
...
@@ -700,7 +700,7 @@ public:
const
OUString
&
GetText
()
const
{
return
m_aText
;}
void
SetText
(
const
OUString
&
rText
);
void
SetCommitHdl
(
const
Link
<>&
rLink
)
{
m_aCommitLink
=
rLink
;
}
void
SetCommitHdl
(
const
Link
<
DbFilterField
&
,
void
>&
rLink
)
{
m_aCommitLink
=
rLink
;
}
protected
:
...
...
@@ -1126,7 +1126,7 @@ public:
virtual
sal_Int16
SAL_CALL
getMaxTextLen
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
protected
:
DECL_LINK
(
OnCommit
,
void
*
);
DECL_LINK
_TYPED
(
OnCommit
,
DbFilterField
&
,
void
);
};
#endif // INCLUDED_SVX_SOURCE_INC_GRIDCELL_HXX
...
...
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