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
f0c658e4
Kaydet (Commit)
f0c658e4
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: I8ffca89e5b1b495452efebf8f57d04ada1bfdf1c
üst
036ee345
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
9 deletions
+8
-9
border.hxx
cui/source/inc/border.hxx
+1
-1
border.cxx
cui/source/tabpages/border.cxx
+1
-2
frmsel.hxx
include/svx/frmsel.hxx
+2
-2
frmsel.cxx
svx/source/dialog/frmsel.cxx
+3
-3
frmselimpl.hxx
svx/source/inc/frmselimpl.hxx
+1
-1
No files found.
cui/source/inc/border.hxx
Dosyayı görüntüle @
f0c658e4
...
@@ -121,7 +121,7 @@ private:
...
@@ -121,7 +121,7 @@ private:
DECL_LINK
(
SelColHdl_Impl
,
ListBox
*
);
DECL_LINK
(
SelColHdl_Impl
,
ListBox
*
);
DECL_LINK_TYPED
(
SelPreHdl_Impl
,
ValueSet
*
,
void
);
DECL_LINK_TYPED
(
SelPreHdl_Impl
,
ValueSet
*
,
void
);
DECL_LINK_TYPED
(
SelSdwHdl_Impl
,
ValueSet
*
,
void
);
DECL_LINK_TYPED
(
SelSdwHdl_Impl
,
ValueSet
*
,
void
);
DECL_LINK
(
LinesChanged_Impl
,
void
*
);
DECL_LINK
_TYPED
(
LinesChanged_Impl
,
LinkParamNone
*
,
void
);
DECL_LINK
(
ModifyDistanceHdl_Impl
,
MetricField
*
);
DECL_LINK
(
ModifyDistanceHdl_Impl
,
MetricField
*
);
DECL_LINK
(
ModifyWidthHdl_Impl
,
void
*
);
DECL_LINK
(
ModifyWidthHdl_Impl
,
void
*
);
DECL_LINK_TYPED
(
SyncHdl_Impl
,
Button
*
,
void
);
DECL_LINK_TYPED
(
SyncHdl_Impl
,
Button
*
,
void
);
...
...
cui/source/tabpages/border.cxx
Dosyayı görüntüle @
f0c658e4
...
@@ -1106,7 +1106,7 @@ void SvxBorderTabPage::FillLineListBox_Impl()
...
@@ -1106,7 +1106,7 @@ void SvxBorderTabPage::FillLineListBox_Impl()
}
}
IMPL_LINK_NOARG
(
SvxBorderTabPage
,
LinesChanged_Impl
)
IMPL_LINK_NOARG
_TYPED
(
SvxBorderTabPage
,
LinesChanged_Impl
,
LinkParamNone
*
,
void
)
{
{
if
(
!
mbUseMarginItem
&&
m_pLeftMF
->
IsVisible
())
if
(
!
mbUseMarginItem
&&
m_pLeftMF
->
IsVisible
())
{
{
...
@@ -1179,7 +1179,6 @@ IMPL_LINK_NOARG(SvxBorderTabPage, LinesChanged_Impl)
...
@@ -1179,7 +1179,6 @@ IMPL_LINK_NOARG(SvxBorderTabPage, LinesChanged_Impl)
m_pSynchronizeCB
->
Enable
(
m_pRightMF
->
IsEnabled
()
||
m_pTopMF
->
IsEnabled
()
||
m_pSynchronizeCB
->
Enable
(
m_pRightMF
->
IsEnabled
()
||
m_pTopMF
->
IsEnabled
()
||
m_pBottomMF
->
IsEnabled
()
||
m_pLeftMF
->
IsEnabled
()
);
m_pBottomMF
->
IsEnabled
()
||
m_pLeftMF
->
IsEnabled
()
);
}
}
return
0
;
}
}
...
...
include/svx/frmsel.hxx
Dosyayı görüntüle @
f0c658e4
...
@@ -132,9 +132,9 @@ public:
...
@@ -132,9 +132,9 @@ public:
// frame border selection -------------------------------------------------
// frame border selection -------------------------------------------------
/** Returns the current selection handler. */
/** Returns the current selection handler. */
const
Link
<
>&
GetSelectHdl
()
const
;
const
Link
<
LinkParamNone
*
,
void
>&
GetSelectHdl
()
const
;
/** Sets the passed handler that is called if the selection of the control changes. */
/** Sets the passed handler that is called if the selection of the control changes. */
void
SetSelectHdl
(
const
Link
<>&
rHdl
);
void
SetSelectHdl
(
const
Link
<
LinkParamNone
*
,
void
>&
rHdl
);
/** Returns true, if the specified frame border is selected. */
/** Returns true, if the specified frame border is selected. */
bool
IsBorderSelected
(
FrameBorderType
eBorder
)
const
;
bool
IsBorderSelected
(
FrameBorderType
eBorder
)
const
;
...
...
svx/source/dialog/frmsel.cxx
Dosyayı görüntüle @
f0c658e4
...
@@ -921,12 +921,12 @@ bool FrameSelector::GetVisibleColor( Color& rColor ) const
...
@@ -921,12 +921,12 @@ bool FrameSelector::GetVisibleColor( Color& rColor ) const
}
}
// frame border selection
// frame border selection
const
Link
<>&
FrameSelector
::
GetSelectHdl
()
const
const
Link
<
LinkParamNone
*
,
void
>&
FrameSelector
::
GetSelectHdl
()
const
{
{
return
mxImpl
->
maSelectHdl
;
return
mxImpl
->
maSelectHdl
;
}
}
void
FrameSelector
::
SetSelectHdl
(
const
Link
<>&
rHdl
)
void
FrameSelector
::
SetSelectHdl
(
const
Link
<
LinkParamNone
*
,
void
>&
rHdl
)
{
{
mxImpl
->
maSelectHdl
=
rHdl
;
mxImpl
->
maSelectHdl
=
rHdl
;
}
}
...
@@ -1130,7 +1130,7 @@ void FrameSelector::MouseButtonDown( const MouseEvent& rMEvt )
...
@@ -1130,7 +1130,7 @@ void FrameSelector::MouseButtonDown( const MouseEvent& rMEvt )
mxImpl
->
ToggleBorderState
(
**
aIt
);
mxImpl
->
ToggleBorderState
(
**
aIt
);
}
}
GetSelectHdl
().
Call
(
this
);
GetSelectHdl
().
Call
(
nullptr
);
}
}
}
}
}
}
...
...
svx/source/inc/frmselimpl.hxx
Dosyayı görüntüle @
f0c658e4
...
@@ -122,7 +122,7 @@ struct FrameSelectorImpl : public Resource
...
@@ -122,7 +122,7 @@ struct FrameSelectorImpl : public Resource
FrameSelFlags
mnFlags
;
/// Flags for enabled frame borders.
FrameSelFlags
mnFlags
;
/// Flags for enabled frame borders.
FrameBorderPtrVec
maAllBorders
;
/// Pointers to all frame borders.
FrameBorderPtrVec
maAllBorders
;
/// Pointers to all frame borders.
FrameBorderPtrVec
maEnabBorders
;
/// Pointers to enables frame borders.
FrameBorderPtrVec
maEnabBorders
;
/// Pointers to enables frame borders.
Link
<
>
maSelectHdl
;
/// Selection handler.
Link
<
LinkParamNone
*
,
void
>
maSelectHdl
;
/// Selection handler.
long
mnCtrlSize
;
/// Size of the control (always square).
long
mnCtrlSize
;
/// Size of the control (always square).
long
mnArrowSize
;
/// Size of an arrow image.
long
mnArrowSize
;
/// Size of an arrow image.
...
...
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