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
9bb2c28a
Kaydet (Commit)
9bb2c28a
authored
Agu 17, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
make Link<> typed
Change-Id: I50e2b05131604a6073a9234d4319f12b3906ea6d
üst
23fbcf7d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
editbrowsebox.hxx
include/svtools/editbrowsebox.hxx
+5
-4
gridcell.cxx
svx/source/fmcomp/gridcell.cxx
+3
-4
gridcell.hxx
svx/source/inc/gridcell.hxx
+1
-1
No files found.
include/svtools/editbrowsebox.hxx
Dosyayı görüntüle @
9bb2c28a
...
@@ -277,9 +277,10 @@ namespace svt
...
@@ -277,9 +277,10 @@ namespace svt
class
SVT_DLLPUBLIC
CheckBoxControl
:
public
Control
class
SVT_DLLPUBLIC
CheckBoxControl
:
public
Control
{
{
VclPtr
<
CheckBox
>
pBox
;
VclPtr
<
CheckBox
>
pBox
;
Rectangle
aFocusRect
;
Rectangle
aFocusRect
;
Link
<>
m_aClickLink
,
m_aModifyLink
;
Link
<
VclPtr
<
CheckBox
>
,
void
>
m_aClickLink
;
Link
<>
m_aModifyLink
;
public
:
public
:
CheckBoxControl
(
vcl
::
Window
*
pParent
,
WinBits
nWinStyle
=
0
);
CheckBoxControl
(
vcl
::
Window
*
pParent
,
WinBits
nWinStyle
=
0
);
...
@@ -294,7 +295,7 @@ namespace svt
...
@@ -294,7 +295,7 @@ namespace svt
virtual
void
DataChanged
(
const
DataChangedEvent
&
_rEvent
)
SAL_OVERRIDE
;
virtual
void
DataChanged
(
const
DataChangedEvent
&
_rEvent
)
SAL_OVERRIDE
;
virtual
void
Resize
()
SAL_OVERRIDE
;
virtual
void
Resize
()
SAL_OVERRIDE
;
void
SetClickHdl
(
const
Link
<>&
rHdl
)
{
m_aClickLink
=
rHdl
;}
void
SetClickHdl
(
const
Link
<
VclPtr
<
CheckBox
>
,
void
>&
rHdl
)
{
m_aClickLink
=
rHdl
;}
void
SetModifyHdl
(
const
Link
<>&
rHdl
)
{
m_aModifyLink
=
rHdl
;}
void
SetModifyHdl
(
const
Link
<>&
rHdl
)
{
m_aModifyLink
=
rHdl
;}
...
...
svx/source/fmcomp/gridcell.cxx
Dosyayı görüntüle @
9bb2c28a
...
@@ -2692,7 +2692,7 @@ DbFilterField::DbFilterField(const Reference< XComponentContext >& rxContext,DbG
...
@@ -2692,7 +2692,7 @@ DbFilterField::DbFilterField(const Reference< XComponentContext >& rxContext,DbG
DbFilterField
::~
DbFilterField
()
DbFilterField
::~
DbFilterField
()
{
{
if
(
m_nControlClass
==
::
com
::
sun
::
star
::
form
::
FormComponentType
::
CHECKBOX
)
if
(
m_nControlClass
==
::
com
::
sun
::
star
::
form
::
FormComponentType
::
CHECKBOX
)
static_cast
<
CheckBoxControl
*>
(
m_pWindow
.
get
())
->
SetClickHdl
(
Link
<>
()
);
static_cast
<
CheckBoxControl
*>
(
m_pWindow
.
get
())
->
SetClickHdl
(
Link
<
VclPtr
<
CheckBox
>
,
void
>
()
);
}
}
...
@@ -3114,7 +3114,7 @@ void DbFilterField::UpdateFromField(const Reference< XColumn >& /*_rxField*/, co
...
@@ -3114,7 +3114,7 @@ void DbFilterField::UpdateFromField(const Reference< XColumn >& /*_rxField*/, co
}
}
IMPL_LINK_NOARG
(
DbFilterField
,
OnClick
)
IMPL_LINK_NOARG
_TYPED
(
DbFilterField
,
OnClick
,
VclPtr
<
CheckBox
>
,
void
)
{
{
TriState
eState
=
static_cast
<
CheckBoxControl
*>
(
m_pWindow
.
get
())
->
GetBox
().
GetState
();
TriState
eState
=
static_cast
<
CheckBoxControl
*>
(
m_pWindow
.
get
())
->
GetBox
().
GetState
();
OUString
aText
;
OUString
aText
;
...
@@ -3136,7 +3136,6 @@ IMPL_LINK_NOARG(DbFilterField, OnClick)
...
@@ -3136,7 +3136,6 @@ IMPL_LINK_NOARG(DbFilterField, OnClick)
m_aText
=
aText
;
m_aText
=
aText
;
m_aCommitLink
.
Call
(
this
);
m_aCommitLink
.
Call
(
this
);
}
}
return
1
;
}
}
TYPEINIT0
(
FmXGridCell
);
TYPEINIT0
(
FmXGridCell
);
...
@@ -3857,7 +3856,7 @@ void FmXCheckBoxCell::disposing()
...
@@ -3857,7 +3856,7 @@ void FmXCheckBoxCell::disposing()
m_aItemListeners
.
disposeAndClear
(
aEvt
);
m_aItemListeners
.
disposeAndClear
(
aEvt
);
m_aActionListeners
.
disposeAndClear
(
aEvt
);
m_aActionListeners
.
disposeAndClear
(
aEvt
);
static_cast
<
CheckBoxControl
&
>
(
m_pCellControl
->
GetWindow
()
).
SetClickHdl
(
Link
<>
());
static_cast
<
CheckBoxControl
&
>
(
m_pCellControl
->
GetWindow
()
).
SetClickHdl
(
Link
<
VclPtr
<
CheckBox
>
,
void
>
());
m_pBox
=
NULL
;
m_pBox
=
NULL
;
FmXDataCell
::
disposing
();
FmXDataCell
::
disposing
();
...
...
svx/source/inc/gridcell.hxx
Dosyayı görüntüle @
9bb2c28a
...
@@ -711,7 +711,7 @@ protected:
...
@@ -711,7 +711,7 @@ protected:
protected
:
protected
:
void
SetList
(
const
::
com
::
sun
::
star
::
uno
::
Any
&
rItems
,
bool
bComboBox
);
void
SetList
(
const
::
com
::
sun
::
star
::
uno
::
Any
&
rItems
,
bool
bComboBox
);
void
CreateControl
(
vcl
::
Window
*
pParent
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>&
xModel
);
void
CreateControl
(
vcl
::
Window
*
pParent
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>&
xModel
);
DECL_LINK
(
OnClick
,
void
*
);
DECL_LINK
_TYPED
(
OnClick
,
VclPtr
<
CheckBox
>
,
void
);
};
};
...
...
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