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
8491065b
Kaydet (Commit)
8491065b
authored
Eyl 14, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert Link<> to typed
Change-Id: Id8ea19a0fe04061c6ec35229f41c164b4ebd408c
üst
4ac7459b
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
45 additions
and
40 deletions
+45
-40
toolbarmenu.hxx
include/svtools/toolbarmenu.hxx
+1
-1
slidelayoutcontroller.cxx
sd/source/ui/controller/slidelayoutcontroller.cxx
+9
-6
toolbarmenu.cxx
svtools/source/control/toolbarmenu.cxx
+1
-1
toolbarmenuimp.hxx
svtools/source/control/toolbarmenuimp.hxx
+1
-1
bulletsnumbering.cxx
svx/source/tbxctrls/bulletsnumbering.cxx
+9
-6
extrusioncontrols.cxx
svx/source/tbxctrls/extrusioncontrols.cxx
+14
-13
extrusioncontrols.hxx
svx/source/tbxctrls/extrusioncontrols.hxx
+6
-4
fontworkgallery.cxx
svx/source/tbxctrls/fontworkgallery.cxx
+4
-8
No files found.
include/svtools/toolbarmenu.hxx
Dosyayı görüntüle @
8491065b
...
@@ -81,7 +81,7 @@ public:
...
@@ -81,7 +81,7 @@ public:
const
Size
&
getMenuSize
()
const
;
const
Size
&
getMenuSize
()
const
;
void
SetSelectHdl
(
const
Link
<>&
rLink
);
void
SetSelectHdl
(
const
Link
<
ToolbarMenu
*
,
void
>&
rLink
);
int
getSelectedEntryId
()
const
;
int
getSelectedEntryId
()
const
;
int
getHighlightedEntryId
()
const
;
int
getHighlightedEntryId
()
const
;
...
...
sd/source/ui/controller/slidelayoutcontroller.cxx
Dosyayı görüntüle @
8491065b
...
@@ -70,9 +70,9 @@ public:
...
@@ -70,9 +70,9 @@ public:
virtual
void
dispose
()
SAL_OVERRIDE
;
virtual
void
dispose
()
SAL_OVERRIDE
;
protected
:
protected
:
DECL_LINK
(
SelectHdl
,
void
*
);
DECL_LINK
_TYPED
(
SelectToolbarMenuHdl
,
ToolbarMenu
*
,
void
);
DECL_LINK_TYPED
(
SelectValueSetHdl
,
ValueSet
*
,
void
);
DECL_LINK_TYPED
(
SelectValueSetHdl
,
ValueSet
*
,
void
);
void
SelectHdl
(
void
*
);
private
:
private
:
SlideLayoutController
&
mrController
;
SlideLayoutController
&
mrController
;
Reference
<
XFrame
>
mxFrame
;
Reference
<
XFrame
>
mxFrame
;
...
@@ -182,7 +182,7 @@ LayoutToolbarMenu::LayoutToolbarMenu( SlideLayoutController& rController, const
...
@@ -182,7 +182,7 @@ LayoutToolbarMenu::LayoutToolbarMenu( SlideLayoutController& rController, const
SvtLanguageOptions
aLanguageOptions
;
SvtLanguageOptions
aLanguageOptions
;
const
bool
bVerticalEnabled
=
aLanguageOptions
.
IsVerticalTextEnabled
();
const
bool
bVerticalEnabled
=
aLanguageOptions
.
IsVerticalTextEnabled
();
SetSelectHdl
(
LINK
(
this
,
LayoutToolbarMenu
,
SelectHdl
)
);
SetSelectHdl
(
LINK
(
this
,
LayoutToolbarMenu
,
Select
ToolbarMenu
Hdl
)
);
mpLayoutSet1
=
createEmptyValueSetControl
();
mpLayoutSet1
=
createEmptyValueSetControl
();
mpLayoutSet1
->
SetSelectHdl
(
LINK
(
this
,
LayoutToolbarMenu
,
SelectValueSetHdl
)
);
mpLayoutSet1
->
SetSelectHdl
(
LINK
(
this
,
LayoutToolbarMenu
,
SelectValueSetHdl
)
);
...
@@ -272,7 +272,12 @@ IMPL_LINK_TYPED( LayoutToolbarMenu, SelectValueSetHdl, ValueSet*, pControl, void
...
@@ -272,7 +272,12 @@ IMPL_LINK_TYPED( LayoutToolbarMenu, SelectValueSetHdl, ValueSet*, pControl, void
{
{
SelectHdl
(
pControl
);
SelectHdl
(
pControl
);
}
}
IMPL_LINK
(
LayoutToolbarMenu
,
SelectHdl
,
void
*
,
pControl
)
IMPL_LINK_TYPED
(
LayoutToolbarMenu
,
SelectToolbarMenuHdl
,
ToolbarMenu
*
,
pControl
,
void
)
{
SelectHdl
(
pControl
);
}
void
LayoutToolbarMenu
::
SelectHdl
(
void
*
pControl
)
{
{
if
(
IsInPopupMode
()
)
if
(
IsInPopupMode
()
)
EndPopupMode
();
EndPopupMode
();
...
@@ -304,8 +309,6 @@ IMPL_LINK( LayoutToolbarMenu, SelectHdl, void *, pControl )
...
@@ -304,8 +309,6 @@ IMPL_LINK( LayoutToolbarMenu, SelectHdl, void *, pControl )
}
}
mrController
.
dispatchCommand
(
sCommandURL
,
aArgs
);
mrController
.
dispatchCommand
(
sCommandURL
,
aArgs
);
return
0
;
}
}
OUString
SlideLayoutController_getImplementationName
()
throw
(
css
::
uno
::
RuntimeException
)
OUString
SlideLayoutController_getImplementationName
()
throw
(
css
::
uno
::
RuntimeException
)
...
...
svtools/source/control/toolbarmenu.cxx
Dosyayı görüntüle @
8491065b
...
@@ -1612,7 +1612,7 @@ const Size& ToolbarMenu::getMenuSize() const
...
@@ -1612,7 +1612,7 @@ const Size& ToolbarMenu::getMenuSize() const
void
ToolbarMenu
::
SetSelectHdl
(
const
Link
<>&
rLink
)
void
ToolbarMenu
::
SetSelectHdl
(
const
Link
<
ToolbarMenu
*
,
void
>&
rLink
)
{
{
mpImpl
->
maSelectHdl
=
rLink
;
mpImpl
->
maSelectHdl
=
rLink
;
}
}
...
...
svtools/source/control/toolbarmenuimp.hxx
Dosyayı görüntüle @
8491065b
...
@@ -267,7 +267,7 @@ struct ToolbarMenu_Impl
...
@@ -267,7 +267,7 @@ struct ToolbarMenu_Impl
Size
maSize
;
Size
maSize
;
Link
<>
maSelectHdl
;
Link
<
ToolbarMenu
*
,
void
>
maSelectHdl
;
ToolbarMenu_Impl
(
ToolbarMenu
&
rMenu
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XFrame
>&
xFrame
);
ToolbarMenu_Impl
(
ToolbarMenu
&
rMenu
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XFrame
>&
xFrame
);
~
ToolbarMenu_Impl
();
~
ToolbarMenu_Impl
();
...
...
svx/source/tbxctrls/bulletsnumbering.cxx
Dosyayı görüntüle @
8491065b
...
@@ -38,9 +38,9 @@ class NumberingPopup : public svtools::ToolbarMenu
...
@@ -38,9 +38,9 @@ class NumberingPopup : public svtools::ToolbarMenu
bool
mbBulletItem
;
bool
mbBulletItem
;
NumberingToolBoxControl
&
mrController
;
NumberingToolBoxControl
&
mrController
;
VclPtr
<
SvxNumValueSet
>
mpValueSet
;
VclPtr
<
SvxNumValueSet
>
mpValueSet
;
DECL_LINK
(
VSSelectHdl
,
void
*
);
DECL_LINK
_TYPED
(
VSSelectToolbarMenuHdl
,
ToolbarMenu
*
,
void
);
DECL_LINK_TYPED
(
VSSelectValueSetHdl
,
ValueSet
*
,
void
);
DECL_LINK_TYPED
(
VSSelectValueSetHdl
,
ValueSet
*
,
void
);
void
VSSelectHdl
(
void
*
);
public
:
public
:
NumberingPopup
(
NumberingToolBoxControl
&
rController
,
NumberingPopup
(
NumberingToolBoxControl
&
rController
,
const
css
::
uno
::
Reference
<
css
::
frame
::
XFrame
>&
rFrame
,
const
css
::
uno
::
Reference
<
css
::
frame
::
XFrame
>&
rFrame
,
...
@@ -124,7 +124,7 @@ NumberingPopup::NumberingPopup( NumberingToolBoxControl& rController,
...
@@ -124,7 +124,7 @@ NumberingPopup::NumberingPopup( NumberingToolBoxControl& rController,
SetOutputSizePixel
(
getMenuSize
()
);
SetOutputSizePixel
(
getMenuSize
()
);
mpValueSet
->
SetSelectHdl
(
LINK
(
this
,
NumberingPopup
,
VSSelectValueSetHdl
)
);
mpValueSet
->
SetSelectHdl
(
LINK
(
this
,
NumberingPopup
,
VSSelectValueSetHdl
)
);
SetSelectHdl
(
LINK
(
this
,
NumberingPopup
,
VSSelectHdl
)
);
SetSelectHdl
(
LINK
(
this
,
NumberingPopup
,
VSSelect
ToolbarMenu
Hdl
)
);
if
(
mbBulletItem
)
if
(
mbBulletItem
)
AddStatusListener
(
".uno:CurrentBulletListType"
);
AddStatusListener
(
".uno:CurrentBulletListType"
);
...
@@ -157,7 +157,12 @@ IMPL_LINK_TYPED( NumberingPopup, VSSelectValueSetHdl, ValueSet*, pControl, void
...
@@ -157,7 +157,12 @@ IMPL_LINK_TYPED( NumberingPopup, VSSelectValueSetHdl, ValueSet*, pControl, void
{
{
VSSelectHdl
(
pControl
);
VSSelectHdl
(
pControl
);
}
}
IMPL_LINK
(
NumberingPopup
,
VSSelectHdl
,
void
*
,
pControl
)
IMPL_LINK_TYPED
(
NumberingPopup
,
VSSelectToolbarMenuHdl
,
ToolbarMenu
*
,
pControl
,
void
)
{
VSSelectHdl
(
pControl
);
}
void
NumberingPopup
::
VSSelectHdl
(
void
*
pControl
)
{
{
if
(
IsInPopupMode
()
)
if
(
IsInPopupMode
()
)
EndPopupMode
();
EndPopupMode
();
...
@@ -193,8 +198,6 @@ IMPL_LINK( NumberingPopup, VSSelectHdl, void *, pControl )
...
@@ -193,8 +198,6 @@ IMPL_LINK( NumberingPopup, VSSelectHdl, void *, pControl )
aArgs
[
0
].
Value
<<=
aPageName
;
aArgs
[
0
].
Value
<<=
aPageName
;
mrController
.
dispatchCommand
(
".uno:OutlineBullet"
,
aArgs
);
mrController
.
dispatchCommand
(
".uno:OutlineBullet"
,
aArgs
);
}
}
return
0
;
}
}
...
...
svx/source/tbxctrls/extrusioncontrols.cxx
Dosyayı görüntüle @
8491065b
...
@@ -78,7 +78,7 @@ ExtrusionDirectionWindow::ExtrusionDirectionWindow(
...
@@ -78,7 +78,7 @@ ExtrusionDirectionWindow::ExtrusionDirectionWindow(
maImgDirection
[
i
]
=
Image
(
SVX_RES
(
RID_SVXIMG_DIRECTION
+
i
)
);
maImgDirection
[
i
]
=
Image
(
SVX_RES
(
RID_SVXIMG_DIRECTION
+
i
)
);
}
}
SetSelectHdl
(
LINK
(
this
,
ExtrusionDirectionWindow
,
SelectHdl
)
);
SetSelectHdl
(
LINK
(
this
,
ExtrusionDirectionWindow
,
Select
ToolbarMenu
Hdl
)
);
mpDirectionSet
=
createEmptyValueSetControl
();
mpDirectionSet
=
createEmptyValueSetControl
();
mpDirectionSet
->
SetSelectHdl
(
LINK
(
this
,
ExtrusionDirectionWindow
,
SelectValueSetHdl
)
);
mpDirectionSet
->
SetSelectHdl
(
LINK
(
this
,
ExtrusionDirectionWindow
,
SelectValueSetHdl
)
);
...
@@ -206,7 +206,11 @@ IMPL_LINK_TYPED( ExtrusionDirectionWindow, SelectValueSetHdl, ValueSet*, pContro
...
@@ -206,7 +206,11 @@ IMPL_LINK_TYPED( ExtrusionDirectionWindow, SelectValueSetHdl, ValueSet*, pContro
{
{
SelectHdl
(
pControl
);
SelectHdl
(
pControl
);
}
}
IMPL_LINK
(
ExtrusionDirectionWindow
,
SelectHdl
,
void
*
,
pControl
)
IMPL_LINK_TYPED
(
ExtrusionDirectionWindow
,
SelectToolbarMenuHdl
,
ToolbarMenu
*
,
pControl
,
void
)
{
SelectHdl
(
pControl
);
}
void
ExtrusionDirectionWindow
::
SelectHdl
(
void
*
pControl
)
{
{
if
(
IsInPopupMode
()
)
if
(
IsInPopupMode
()
)
EndPopupMode
();
EndPopupMode
();
...
@@ -232,8 +236,6 @@ IMPL_LINK( ExtrusionDirectionWindow, SelectHdl, void *, pControl )
...
@@ -232,8 +236,6 @@ IMPL_LINK( ExtrusionDirectionWindow, SelectHdl, void *, pControl )
implSetProjection
(
nProjection
);
implSetProjection
(
nProjection
);
}
}
}
}
return
0
;
}
}
ExtrusionDirectionControl
::
ExtrusionDirectionControl
(
ExtrusionDirectionControl
::
ExtrusionDirectionControl
(
...
@@ -430,7 +432,7 @@ void ExtrusionDepthWindow::statusChanged(
...
@@ -430,7 +432,7 @@ void ExtrusionDepthWindow::statusChanged(
}
}
}
}
IMPL_LINK_NOARG
(
ExtrusionDepthWindow
,
SelectHdl
)
IMPL_LINK_NOARG
_TYPED
(
ExtrusionDepthWindow
,
SelectHdl
,
ToolbarMenu
*
,
void
)
{
{
int
nSelected
=
getSelectedEntryId
();
int
nSelected
=
getSelectedEntryId
();
if
(
nSelected
!=
-
1
)
if
(
nSelected
!=
-
1
)
...
@@ -474,7 +476,6 @@ IMPL_LINK_NOARG(ExtrusionDepthWindow, SelectHdl)
...
@@ -474,7 +476,6 @@ IMPL_LINK_NOARG(ExtrusionDepthWindow, SelectHdl)
EndPopupMode
();
EndPopupMode
();
}
}
}
}
return
0
;
}
}
...
@@ -569,7 +570,7 @@ ExtrusionLightingWindow::ExtrusionLightingWindow(svt::ToolboxController& rContro
...
@@ -569,7 +570,7 @@ ExtrusionLightingWindow::ExtrusionLightingWindow(svt::ToolboxController& rContro
maImgLightingPreview
[
i
]
=
Image
(
SVX_RES
(
RID_SVXIMG_LIGHT_PREVIEW
+
i
));
maImgLightingPreview
[
i
]
=
Image
(
SVX_RES
(
RID_SVXIMG_LIGHT_PREVIEW
+
i
));
}
}
SetSelectHdl
(
LINK
(
this
,
ExtrusionLightingWindow
,
SelectHdl
)
);
SetSelectHdl
(
LINK
(
this
,
ExtrusionLightingWindow
,
Select
ToolbarMenu
Hdl
)
);
mpLightingSet
=
createEmptyValueSetControl
();
mpLightingSet
=
createEmptyValueSetControl
();
mpLightingSet
->
SetHelpId
(
HID_VALUESET_EXTRUSION_LIGHTING
);
mpLightingSet
->
SetHelpId
(
HID_VALUESET_EXTRUSION_LIGHTING
);
...
@@ -707,7 +708,11 @@ IMPL_LINK_TYPED( ExtrusionLightingWindow, SelectValueSetHdl, ValueSet*, pControl
...
@@ -707,7 +708,11 @@ IMPL_LINK_TYPED( ExtrusionLightingWindow, SelectValueSetHdl, ValueSet*, pControl
{
{
SelectHdl
(
pControl
);
SelectHdl
(
pControl
);
}
}
IMPL_LINK
(
ExtrusionLightingWindow
,
SelectHdl
,
void
*
,
pControl
)
IMPL_LINK_TYPED
(
ExtrusionLightingWindow
,
SelectToolbarMenuHdl
,
ToolbarMenu
*
,
pControl
,
void
)
{
SelectHdl
(
pControl
);
}
void
ExtrusionLightingWindow
::
SelectHdl
(
void
*
pControl
)
{
{
if
(
IsInPopupMode
()
)
if
(
IsInPopupMode
()
)
EndPopupMode
();
EndPopupMode
();
...
@@ -747,8 +752,6 @@ IMPL_LINK( ExtrusionLightingWindow, SelectHdl, void *, pControl )
...
@@ -747,8 +752,6 @@ IMPL_LINK( ExtrusionLightingWindow, SelectHdl, void *, pControl )
}
}
}
}
return
0
;
}
}
...
@@ -875,7 +878,7 @@ void ExtrusionSurfaceWindow::statusChanged(
...
@@ -875,7 +878,7 @@ void ExtrusionSurfaceWindow::statusChanged(
IMPL_LINK_NOARG
(
ExtrusionSurfaceWindow
,
SelectHdl
)
IMPL_LINK_NOARG
_TYPED
(
ExtrusionSurfaceWindow
,
SelectHdl
,
ToolbarMenu
*
,
void
)
{
{
if
(
IsInPopupMode
()
)
if
(
IsInPopupMode
()
)
EndPopupMode
();
EndPopupMode
();
...
@@ -891,8 +894,6 @@ IMPL_LINK_NOARG(ExtrusionSurfaceWindow, SelectHdl)
...
@@ -891,8 +894,6 @@ IMPL_LINK_NOARG(ExtrusionSurfaceWindow, SelectHdl)
implSetSurface
(
nSurface
,
true
);
implSetSurface
(
nSurface
,
true
);
}
}
return
0
;
}
}
...
...
svx/source/tbxctrls/extrusioncontrols.hxx
Dosyayı görüntüle @
8491065b
...
@@ -58,8 +58,9 @@ private:
...
@@ -58,8 +58,9 @@ private:
const
OUString
msExtrusionDirection
;
const
OUString
msExtrusionDirection
;
const
OUString
msExtrusionProjection
;
const
OUString
msExtrusionProjection
;
DECL_LINK
(
SelectHdl
,
void
*
);
DECL_LINK
_TYPED
(
SelectToolbarMenuHdl
,
ToolbarMenu
*
,
void
);
DECL_LINK_TYPED
(
SelectValueSetHdl
,
ValueSet
*
,
void
);
DECL_LINK_TYPED
(
SelectValueSetHdl
,
ValueSet
*
,
void
);
void
SelectHdl
(
void
*
);
void
implSetDirection
(
sal_Int32
nSkew
,
bool
bEnabled
=
true
);
void
implSetDirection
(
sal_Int32
nSkew
,
bool
bEnabled
=
true
);
void
implSetProjection
(
sal_Int32
nProjection
,
bool
bEnabled
=
true
);
void
implSetProjection
(
sal_Int32
nProjection
,
bool
bEnabled
=
true
);
...
@@ -104,7 +105,7 @@ private:
...
@@ -104,7 +105,7 @@ private:
const
OUString
msExtrusionDepth
;
const
OUString
msExtrusionDepth
;
const
OUString
msMetricUnit
;
const
OUString
msMetricUnit
;
DECL_LINK
(
SelectHdl
,
void
*
);
DECL_LINK
_TYPED
(
SelectHdl
,
ToolbarMenu
*
,
void
);
void
implFillStrings
(
FieldUnit
eUnit
);
void
implFillStrings
(
FieldUnit
eUnit
);
void
implSetDepth
(
double
fDepth
);
void
implSetDepth
(
double
fDepth
);
...
@@ -160,8 +161,9 @@ private:
...
@@ -160,8 +161,9 @@ private:
void
implSetIntensity
(
int
nLevel
,
bool
bEnabled
);
void
implSetIntensity
(
int
nLevel
,
bool
bEnabled
);
void
implSetDirection
(
int
nDirection
,
bool
bEnabled
);
void
implSetDirection
(
int
nDirection
,
bool
bEnabled
);
DECL_LINK
(
SelectHdl
,
void
*
);
DECL_LINK
_TYPED
(
SelectToolbarMenuHdl
,
ToolbarMenu
*
,
void
);
DECL_LINK_TYPED
(
SelectValueSetHdl
,
ValueSet
*
,
void
);
DECL_LINK_TYPED
(
SelectValueSetHdl
,
ValueSet
*
,
void
);
void
SelectHdl
(
void
*
);
public
:
public
:
ExtrusionLightingWindow
(
svt
::
ToolboxController
&
rController
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XFrame
>&
rFrame
,
vcl
::
Window
*
pParentWindow
);
ExtrusionLightingWindow
(
svt
::
ToolboxController
&
rController
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XFrame
>&
rFrame
,
vcl
::
Window
*
pParentWindow
);
virtual
~
ExtrusionLightingWindow
();
virtual
~
ExtrusionLightingWindow
();
...
@@ -205,7 +207,7 @@ private:
...
@@ -205,7 +207,7 @@ private:
const
OUString
msExtrusionSurface
;
const
OUString
msExtrusionSurface
;
DECL_LINK
(
SelectHdl
,
void
*
);
DECL_LINK
_TYPED
(
SelectHdl
,
ToolbarMenu
*
,
void
);
void
implSetSurface
(
int
nSurface
,
bool
bEnabled
);
void
implSetSurface
(
int
nSurface
,
bool
bEnabled
);
...
...
svx/source/tbxctrls/fontworkgallery.cxx
Dosyayı görüntüle @
8491065b
...
@@ -275,7 +275,7 @@ private:
...
@@ -275,7 +275,7 @@ private:
const
OUString
msFontworkAlignment
;
const
OUString
msFontworkAlignment
;
DECL_LINK
(
SelectHdl
,
void
*
);
DECL_LINK
_TYPED
(
SelectHdl
,
ToolbarMenu
*
,
void
);
void
implSetAlignment
(
int
nAlignmentMode
,
bool
bEnabled
);
void
implSetAlignment
(
int
nAlignmentMode
,
bool
bEnabled
);
};
};
...
@@ -331,7 +331,7 @@ void FontworkAlignmentWindow::statusChanged( const frame::FeatureStateEvent& Eve
...
@@ -331,7 +331,7 @@ void FontworkAlignmentWindow::statusChanged( const frame::FeatureStateEvent& Eve
}
}
}
}
IMPL_LINK_NOARG
(
FontworkAlignmentWindow
,
SelectHdl
)
IMPL_LINK_NOARG
_TYPED
(
FontworkAlignmentWindow
,
SelectHdl
,
ToolbarMenu
*
,
void
)
{
{
if
(
IsInPopupMode
()
)
if
(
IsInPopupMode
()
)
EndPopupMode
();
EndPopupMode
();
...
@@ -347,8 +347,6 @@ IMPL_LINK_NOARG(FontworkAlignmentWindow, SelectHdl)
...
@@ -347,8 +347,6 @@ IMPL_LINK_NOARG(FontworkAlignmentWindow, SelectHdl)
implSetAlignment
(
nAlignment
,
true
);
implSetAlignment
(
nAlignment
,
true
);
}
}
return
0
;
}
}
class
FontworkAlignmentControl
:
public
svt
::
PopupWindowController
class
FontworkAlignmentControl
:
public
svt
::
PopupWindowController
...
@@ -446,7 +444,7 @@ private:
...
@@ -446,7 +444,7 @@ private:
const
OUString
msFontworkCharacterSpacing
;
const
OUString
msFontworkCharacterSpacing
;
const
OUString
msFontworkKernCharacterPairs
;
const
OUString
msFontworkKernCharacterPairs
;
DECL_LINK
(
SelectHdl
,
void
*
);
DECL_LINK
_TYPED
(
SelectHdl
,
ToolbarMenu
*
,
void
);
void
implSetCharacterSpacing
(
sal_Int32
nCharacterSpacing
,
bool
bEnabled
);
void
implSetCharacterSpacing
(
sal_Int32
nCharacterSpacing
,
bool
bEnabled
);
void
implSetKernCharacterPairs
(
bool
bKernOnOff
,
bool
bEnabled
);
void
implSetKernCharacterPairs
(
bool
bKernOnOff
,
bool
bEnabled
);
...
@@ -543,7 +541,7 @@ void FontworkCharacterSpacingWindow::statusChanged( const ::com::sun::star::fram
...
@@ -543,7 +541,7 @@ void FontworkCharacterSpacingWindow::statusChanged( const ::com::sun::star::fram
IMPL_LINK_NOARG
(
FontworkCharacterSpacingWindow
,
SelectHdl
)
IMPL_LINK_NOARG
_TYPED
(
FontworkCharacterSpacingWindow
,
SelectHdl
,
ToolbarMenu
*
,
void
)
{
{
if
(
IsInPopupMode
()
)
if
(
IsInPopupMode
()
)
EndPopupMode
();
EndPopupMode
();
...
@@ -587,8 +585,6 @@ IMPL_LINK_NOARG(FontworkCharacterSpacingWindow, SelectHdl)
...
@@ -587,8 +585,6 @@ IMPL_LINK_NOARG(FontworkCharacterSpacingWindow, SelectHdl)
implSetCharacterSpacing
(
nCharacterSpacing
,
true
);
implSetCharacterSpacing
(
nCharacterSpacing
,
true
);
}
}
return
0
;
}
}
class
FontworkCharacterSpacingControl
:
public
svt
::
PopupWindowController
class
FontworkCharacterSpacingControl
:
public
svt
::
PopupWindowController
...
...
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