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
410c06be
Kaydet (Commit)
410c06be
authored
Agu 28, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert Link<> to typed
and remove some dead code Change-Id: I608ed684fafb33390d869f7ebd4000c53d7fb28d
üst
32673845
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
34 deletions
+14
-34
iconcdlg.cxx
cui/source/dialogs/iconcdlg.cxx
+1
-3
iconcdlg.hxx
cui/source/inc/iconcdlg.hxx
+5
-5
AppSwapWindow.cxx
dbaccess/source/ui/app/AppSwapWindow.cxx
+1
-3
AppSwapWindow.hxx
dbaccess/source/ui/app/AppSwapWindow.hxx
+1
-1
ivctrl.hxx
include/svtools/ivctrl.hxx
+6
-10
imivctl1.cxx
svtools/source/contnr/imivctl1.cxx
+0
-2
ivctrl.cxx
svtools/source/contnr/ivctrl.cxx
+0
-10
No files found.
cui/source/dialogs/iconcdlg.cxx
Dosyayı görüntüle @
410c06be
...
@@ -356,7 +356,7 @@ void IconChoiceDialog::ShowPage(sal_uInt16 nId)
...
@@ -356,7 +356,7 @@ void IconChoiceDialog::ShowPage(sal_uInt16 nId)
| select a page
| select a page
|
|
\**********************************************************************/
\**********************************************************************/
IMPL_LINK_NOARG
(
IconChoiceDialog
,
ChosePageHdl_Impl
)
IMPL_LINK_NOARG
_TYPED
(
IconChoiceDialog
,
ChosePageHdl_Impl
,
SvtIconChoiceCtrl
*
,
void
)
{
{
SvxIconChoiceCtrlEntry
*
pEntry
=
m_pIconCtrl
->
GetSelectedEntry
();
SvxIconChoiceCtrlEntry
*
pEntry
=
m_pIconCtrl
->
GetSelectedEntry
();
if
(
!
pEntry
)
if
(
!
pEntry
)
...
@@ -368,8 +368,6 @@ IMPL_LINK_NOARG(IconChoiceDialog , ChosePageHdl_Impl)
...
@@ -368,8 +368,6 @@ IMPL_LINK_NOARG(IconChoiceDialog , ChosePageHdl_Impl)
{
{
ShowPage
(
*
pId
);
ShowPage
(
*
pId
);
}
}
return
0L
;
}
}
/**********************************************************************
/**********************************************************************
...
...
cui/source/inc/iconcdlg.hxx
Dosyayı görüntüle @
410c06be
...
@@ -141,11 +141,11 @@ private:
...
@@ -141,11 +141,11 @@ private:
bool
bInOK
;
bool
bInOK
;
bool
bItemsReset
;
bool
bItemsReset
;
DECL_LINK
(
ChosePageHdl_Impl
,
void
*
);
DECL_LINK
_TYPED
(
ChosePageHdl_Impl
,
SvtIconChoiceCtrl
*
,
void
);
DECL_LINK_TYPED
(
OkHdl
,
Button
*
,
void
);
DECL_LINK_TYPED
(
OkHdl
,
Button
*
,
void
);
DECL_LINK_TYPED
(
ApplyHdl
,
Button
*
,
void
)
;
DECL_LINK_TYPED
(
ApplyHdl
,
Button
*
,
void
)
;
DECL_LINK_TYPED
(
ResetHdl
,
Button
*
,
void
)
;
DECL_LINK_TYPED
(
ResetHdl
,
Button
*
,
void
)
;
DECL_LINK_TYPED
(
CancelHdl
,
Button
*
,
void
);
DECL_LINK_TYPED
(
CancelHdl
,
Button
*
,
void
);
IconChoicePageData
*
GetPageData
(
sal_uInt16
nId
);
IconChoicePageData
*
GetPageData
(
sal_uInt16
nId
);
void
Start_Impl
();
void
Start_Impl
();
...
...
dbaccess/source/ui/app/AppSwapWindow.cxx
Dosyayı görüntüle @
410c06be
...
@@ -157,7 +157,7 @@ bool OApplicationSwapWindow::onContainerSelected( ElementType _eType )
...
@@ -157,7 +157,7 @@ bool OApplicationSwapWindow::onContainerSelected( ElementType _eType )
return
false
;
return
false
;
}
}
IMPL_LINK
(
OApplicationSwapWindow
,
OnContainerSelectHdl
,
SvtIconChoiceCtrl
*
,
_pControl
)
IMPL_LINK
_TYPED
(
OApplicationSwapWindow
,
OnContainerSelectHdl
,
SvtIconChoiceCtrl
*
,
_pControl
,
void
)
{
{
SvxIconChoiceCtrlEntry
*
pEntry
=
_pControl
->
GetSelectedEntry
();
SvxIconChoiceCtrlEntry
*
pEntry
=
_pControl
->
GetSelectedEntry
();
ElementType
eType
=
E_NONE
;
ElementType
eType
=
E_NONE
;
...
@@ -166,8 +166,6 @@ IMPL_LINK(OApplicationSwapWindow, OnContainerSelectHdl, SvtIconChoiceCtrl*, _pCo
...
@@ -166,8 +166,6 @@ IMPL_LINK(OApplicationSwapWindow, OnContainerSelectHdl, SvtIconChoiceCtrl*, _pCo
eType
=
*
static_cast
<
ElementType
*>
(
pEntry
->
GetUserData
());
eType
=
*
static_cast
<
ElementType
*>
(
pEntry
->
GetUserData
());
onContainerSelected
(
eType
);
// i87582
onContainerSelected
(
eType
);
// i87582
}
}
return
1L
;
}
}
IMPL_LINK_NOARG_TYPED
(
OApplicationSwapWindow
,
ChangeToLastSelected
,
void
*
,
void
)
IMPL_LINK_NOARG_TYPED
(
OApplicationSwapWindow
,
ChangeToLastSelected
,
void
*
,
void
)
...
...
dbaccess/source/ui/app/AppSwapWindow.hxx
Dosyayı görüntüle @
410c06be
...
@@ -37,7 +37,7 @@ namespace dbaui
...
@@ -37,7 +37,7 @@ namespace dbaui
void
ImplInitSettings
(
bool
bFont
,
bool
bForeground
,
bool
bBackground
);
void
ImplInitSettings
(
bool
bFont
,
bool
bForeground
,
bool
bBackground
);
DECL_LINK
(
OnContainerSelectHdl
,
SvtIconChoiceCtrl
*
);
DECL_LINK
_TYPED
(
OnContainerSelectHdl
,
SvtIconChoiceCtrl
*
,
void
);
DECL_LINK_TYPED
(
ChangeToLastSelected
,
void
*
,
void
);
DECL_LINK_TYPED
(
ChangeToLastSelected
,
void
*
,
void
);
protected
:
protected
:
virtual
void
DataChanged
(
const
DataChangedEvent
&
rDCEvt
)
SAL_OVERRIDE
;
virtual
void
DataChanged
(
const
DataChangedEvent
&
rDCEvt
)
SAL_OVERRIDE
;
...
...
include/svtools/ivctrl.hxx
Dosyayı görüntüle @
410c06be
...
@@ -206,18 +206,14 @@ class SVT_DLLPUBLIC SvtIconChoiceCtrl : public Control
...
@@ -206,18 +206,14 @@ class SVT_DLLPUBLIC SvtIconChoiceCtrl : public Control
{
{
friend
class
SvxIconChoiceCtrl_Impl
;
friend
class
SvxIconChoiceCtrl_Impl
;
Link
<>
_aClickIconHdl
;
Link
<
SvtIconChoiceCtrl
*
,
void
>
_aClickIconHdl
;
Link
<>
_aDocRectChangedHdl
;
KeyEvent
*
_pCurKeyEvent
;
Link
<>
_aVisRectChangedHdl
;
SvxIconChoiceCtrl_Impl
*
_pImp
;
KeyEvent
*
_pCurKeyEvent
;
bool
_bAutoFontColor
;
SvxIconChoiceCtrl_Impl
*
_pImp
;
bool
_bAutoFontColor
;
protected
:
protected
:
virtual
void
KeyInput
(
const
KeyEvent
&
rKEvt
)
SAL_OVERRIDE
;
virtual
void
KeyInput
(
const
KeyEvent
&
rKEvt
)
SAL_OVERRIDE
;
void
DocumentRectChanged
();
void
VisibleRectChanged
();
virtual
void
Command
(
const
CommandEvent
&
rCEvt
)
SAL_OVERRIDE
;
virtual
void
Command
(
const
CommandEvent
&
rCEvt
)
SAL_OVERRIDE
;
virtual
void
Paint
(
vcl
::
RenderContext
&
rRenderContext
,
const
Rectangle
&
rRect
)
SAL_OVERRIDE
;
virtual
void
Paint
(
vcl
::
RenderContext
&
rRenderContext
,
const
Rectangle
&
rRect
)
SAL_OVERRIDE
;
virtual
void
MouseButtonDown
(
const
MouseEvent
&
rMEvt
)
SAL_OVERRIDE
;
virtual
void
MouseButtonDown
(
const
MouseEvent
&
rMEvt
)
SAL_OVERRIDE
;
...
@@ -257,8 +253,8 @@ public:
...
@@ -257,8 +253,8 @@ public:
void
SetFont
(
const
vcl
::
Font
&
rFont
);
void
SetFont
(
const
vcl
::
Font
&
rFont
);
void
SetPointFont
(
const
vcl
::
Font
&
rFont
);
void
SetPointFont
(
const
vcl
::
Font
&
rFont
);
void
SetClickHdl
(
const
Link
<>&
rLink
)
{
_aClickIconHdl
=
rLink
;
}
void
SetClickHdl
(
const
Link
<
SvtIconChoiceCtrl
*
,
void
>&
rLink
)
{
_aClickIconHdl
=
rLink
;
}
const
Link
<
>&
GetClickHdl
()
const
{
return
_aClickIconHdl
;
}
const
Link
<
SvtIconChoiceCtrl
*
,
void
>&
GetClickHdl
()
const
{
return
_aClickIconHdl
;
}
using
OutputDevice
::
SetBackground
;
using
OutputDevice
::
SetBackground
;
void
SetBackground
(
const
Wallpaper
&
rWallpaper
);
void
SetBackground
(
const
Wallpaper
&
rWallpaper
);
...
...
svtools/source/contnr/imivctl1.cxx
Dosyayı görüntüle @
410c06be
...
@@ -2751,13 +2751,11 @@ IMPL_LINK_NOARG_TYPED(SvxIconChoiceCtrl_Impl, AutoArrangeHdl, Idle *, void)
...
@@ -2751,13 +2751,11 @@ IMPL_LINK_NOARG_TYPED(SvxIconChoiceCtrl_Impl, AutoArrangeHdl, Idle *, void)
IMPL_LINK_NOARG_TYPED
(
SvxIconChoiceCtrl_Impl
,
VisRectChangedHdl
,
Idle
*
,
void
)
IMPL_LINK_NOARG_TYPED
(
SvxIconChoiceCtrl_Impl
,
VisRectChangedHdl
,
Idle
*
,
void
)
{
{
aVisRectChangedIdle
.
Stop
();
aVisRectChangedIdle
.
Stop
();
pView
->
VisibleRectChanged
();
}
}
IMPL_LINK_NOARG_TYPED
(
SvxIconChoiceCtrl_Impl
,
DocRectChangedHdl
,
Idle
*
,
void
)
IMPL_LINK_NOARG_TYPED
(
SvxIconChoiceCtrl_Impl
,
DocRectChangedHdl
,
Idle
*
,
void
)
{
{
aDocRectChangedIdle
.
Stop
();
aDocRectChangedIdle
.
Stop
();
pView
->
DocumentRectChanged
();
}
}
bool
SvxIconChoiceCtrl_Impl
::
IsTextHit
(
SvxIconChoiceCtrlEntry
*
pEntry
,
const
Point
&
rDocPos
)
bool
SvxIconChoiceCtrl_Impl
::
IsTextHit
(
SvxIconChoiceCtrlEntry
*
pEntry
,
const
Point
&
rDocPos
)
...
...
svtools/source/contnr/ivctrl.cxx
Dosyayı görüntüle @
410c06be
...
@@ -194,16 +194,6 @@ Point SvtIconChoiceCtrl::GetPixelPos( const Point& rPosLogic ) const
...
@@ -194,16 +194,6 @@ Point SvtIconChoiceCtrl::GetPixelPos( const Point& rPosLogic ) const
return
aPos
;
return
aPos
;
}
}
void
SvtIconChoiceCtrl
::
DocumentRectChanged
()
{
_aDocRectChangedHdl
.
Call
(
this
);
}
void
SvtIconChoiceCtrl
::
VisibleRectChanged
()
{
_aVisRectChangedHdl
.
Call
(
this
);
}
void
SvtIconChoiceCtrl
::
GetFocus
()
void
SvtIconChoiceCtrl
::
GetFocus
()
{
{
_pImp
->
GetFocus
();
_pImp
->
GetFocus
();
...
...
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