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
3ddae219
Kaydet (Commit)
3ddae219
authored
Eyl 21, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove unused fields pName and pMethodName in SfxSlot class
Change-Id: Icca5a0dee296fae1abeb78ea8ffa2f9e934bb111
üst
764e3016
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
16 additions
and
39 deletions
+16
-39
slot.hxx
idl/inc/slot.hxx
+1
-3
object.cxx
idl/source/objects/object.cxx
+1
-1
slot.cxx
idl/source/objects/slot.cxx
+4
-19
msg.hxx
include/sfx2/msg.hxx
+4
-8
PaneShells.cxx
sd/source/ui/dlg/PaneShells.cxx
+2
-2
shell.cxx
sfx2/source/control/shell.cxx
+0
-1
Deck.cxx
sfx2/source/sidebar/Deck.cxx
+2
-3
extrusionbar.cxx
svx/source/toolbars/extrusionbar.cxx
+1
-1
fontworkbar.cxx
svx/source/toolbars/fontworkbar.cxx
+1
-1
No files found.
idl/inc/slot.hxx
Dosyayı görüntüle @
3ddae219
...
@@ -72,8 +72,7 @@ class SvMetaSlot : public SvMetaAttribute
...
@@ -72,8 +72,7 @@ class SvMetaSlot : public SvMetaAttribute
sal_uInt16
nCount
,
const
OString
&
rSlotId
,
sal_uInt16
nCount
,
const
OString
&
rSlotId
,
SvSlotElementList
&
rList
,
SvSlotElementList
&
rList
,
size_t
nStart
,
size_t
nStart
,
const
OString
&
rPrefix
,
SvIdlDataBase
&
rBase
,
SvStream
&
rOutStm
);
SvIdlDataBase
&
rBase
,
SvStream
&
rOutStm
);
virtual
void
Write
(
SvIdlDataBase
&
rBase
,
virtual
void
Write
(
SvIdlDataBase
&
rBase
,
SvStream
&
rOutStm
,
sal_uInt16
nTab
,
SvStream
&
rOutStm
,
sal_uInt16
nTab
,
WriteType
,
WriteAttribute
=
0
)
SAL_OVERRIDE
;
WriteType
,
WriteAttribute
=
0
)
SAL_OVERRIDE
;
...
@@ -244,7 +243,6 @@ public:
...
@@ -244,7 +243,6 @@ public:
sal_uInt16
nCount
,
sal_uInt16
nCount
,
SvSlotElementList
&
,
SvSlotElementList
&
,
size_t
nStart
,
size_t
nStart
,
const
OString
&
,
SvIdlDataBase
&
rBase
,
SvIdlDataBase
&
rBase
,
SvStream
&
rOutStm
);
SvStream
&
rOutStm
);
sal_uInt16
WriteSlotParamArray
(
SvIdlDataBase
&
rBase
,
sal_uInt16
WriteSlotParamArray
(
SvIdlDataBase
&
rBase
,
...
...
idl/source/objects/object.cxx
Dosyayı görüntüle @
3ddae219
...
@@ -452,7 +452,7 @@ sal_uInt16 SvMetaClass::WriteSlots( const OString& rShellName,
...
@@ -452,7 +452,7 @@ sal_uInt16 SvMetaClass::WriteSlots( const OString& rShellName,
SvSlotElement
*
pEle
=
rSlotList
[
i
];
SvSlotElement
*
pEle
=
rSlotList
[
i
];
SvMetaSlot
*
pAttr
=
pEle
->
xSlot
;
SvMetaSlot
*
pAttr
=
pEle
->
xSlot
;
nSCount
=
nSCount
+
pAttr
->
WriteSlotMap
(
rShellName
,
nCount
+
nSCount
,
nSCount
=
nSCount
+
pAttr
->
WriteSlotMap
(
rShellName
,
nCount
+
nSCount
,
rSlotList
,
i
,
pEle
->
aPrefix
,
rBase
,
rSlotList
,
i
,
rBase
,
rOutStm
);
rOutStm
);
}
}
...
...
idl/source/objects/slot.cxx
Dosyayı görüntüle @
3ddae219
...
@@ -1145,7 +1145,6 @@ void SvMetaSlot::WriteSlot( const OString& rShellName, sal_uInt16 nCount,
...
@@ -1145,7 +1145,6 @@ void SvMetaSlot::WriteSlot( const OString& rShellName, sal_uInt16 nCount,
const
OString
&
rSlotId
,
const
OString
&
rSlotId
,
SvSlotElementList
&
rSlotList
,
SvSlotElementList
&
rSlotList
,
size_t
nStart
,
size_t
nStart
,
const
OString
&
rPrefix
,
SvIdlDataBase
&
rBase
,
SvStream
&
rOutStm
)
SvIdlDataBase
&
rBase
,
SvStream
&
rOutStm
)
{
{
if
(
!
GetExport
()
&&
!
GetHidden
()
)
if
(
!
GetExport
()
&&
!
GetHidden
()
)
...
@@ -1379,25 +1378,12 @@ void SvMetaSlot::WriteSlot( const OString& rShellName, sal_uInt16 nCount,
...
@@ -1379,25 +1378,12 @@ void SvMetaSlot::WriteSlot( const OString& rShellName, sal_uInt16 nCount,
sal_uLong
nSCount
=
pType
->
GetAttrCount
();
sal_uLong
nSCount
=
pType
->
GetAttrCount
();
rOutStm
rOutStm
.
WriteCharPtr
(
OString
::
number
(
nSCount
).
getStr
()
)
.
WriteCharPtr
(
OString
::
number
(
nSCount
).
getStr
()
)
.
WriteCharPtr
(
"/*Count*/"
);
.
WriteCharPtr
(
"/*Count*/
,
"
);
}
}
else
else
rOutStm
.
WriteChar
(
'0'
);
rOutStm
.
WriteChar
Ptr
(
"0,"
);
// name for recording
rOutStm
.
WriteCharPtr
(
" "
);
if
(
GetExport
()
)
{
rOutStm
.
WriteCharPtr
(
",
\"
"
);
if
(
!
rPrefix
.
isEmpty
())
rOutStm
.
WriteCharPtr
(
rPrefix
.
getStr
()
);
rOutStm
.
WriteChar
(
'.'
);
if
(
!
IsVariable
()
||
!
GetType
()
||
GetType
()
->
GetBaseType
()
->
GetType
()
!=
TYPE_STRUCT
)
rOutStm
.
WriteCharPtr
(
GetMangleName
(
false
).
getStr
()
);
rOutStm
.
WriteCharPtr
(
"
\"
,"
);
}
else
rOutStm
.
WriteCharPtr
(
", 0, "
);
// Method/Property flags
// Method/Property flags
if
(
IsMethod
()
)
if
(
IsMethod
()
)
...
@@ -1463,7 +1449,6 @@ sal_uInt16 SvMetaSlot::WriteSlotParamArray( SvIdlDataBase & rBase, SvStream & rO
...
@@ -1463,7 +1449,6 @@ sal_uInt16 SvMetaSlot::WriteSlotParamArray( SvIdlDataBase & rBase, SvStream & rO
sal_uInt16
SvMetaSlot
::
WriteSlotMap
(
const
OString
&
rShellName
,
sal_uInt16
nCount
,
sal_uInt16
SvMetaSlot
::
WriteSlotMap
(
const
OString
&
rShellName
,
sal_uInt16
nCount
,
SvSlotElementList
&
rSlotList
,
SvSlotElementList
&
rSlotList
,
size_t
nStart
,
size_t
nStart
,
const
OString
&
rPrefix
,
SvIdlDataBase
&
rBase
,
SvIdlDataBase
&
rBase
,
SvStream
&
rOutStm
)
SvStream
&
rOutStm
)
{
{
...
@@ -1483,7 +1468,7 @@ sal_uInt16 SvMetaSlot::WriteSlotMap( const OString& rShellName, sal_uInt16 nCoun
...
@@ -1483,7 +1468,7 @@ sal_uInt16 SvMetaSlot::WriteSlotMap( const OString& rShellName, sal_uInt16 nCoun
nSCount
=
(
sal_uInt16
)
pType
->
GetAttrCount
();
nSCount
=
(
sal_uInt16
)
pType
->
GetAttrCount
();
}
}
WriteSlot
(
rShellName
,
nCount
,
slotId
,
rSlotList
,
nStart
,
r
Prefix
,
r
Base
,
rOutStm
);
WriteSlot
(
rShellName
,
nCount
,
slotId
,
rSlotList
,
nStart
,
rBase
,
rOutStm
);
return
nSCount
;
return
nSCount
;
}
}
...
...
include/sfx2/msg.hxx
Dosyayı görüntüle @
3ddae219
...
@@ -174,7 +174,7 @@ SFX_DECL_TYPE(18); // for SvxSearchItem
...
@@ -174,7 +174,7 @@ SFX_DECL_TYPE(18); // for SvxSearchItem
ExecMethodPtr, \
ExecMethodPtr, \
StateMethodPtr, \
StateMethodPtr, \
(const SfxType*) &a##ItemClass##_Impl, \
(const SfxType*) &a##ItemClass##_Impl, \
Name, Name,
0, 0, \
0, 0, \
&a##aShellClass##Args_Impl[nArg0], nArgs, 0, Name \
&a##aShellClass##Args_Impl[nArg0], nArgs, 0, Name \
}
}
...
@@ -184,16 +184,15 @@ SFX_DECL_TYPE(18); // for SvxSearchItem
...
@@ -184,16 +184,15 @@ SFX_DECL_TYPE(18); // for SvxSearchItem
ExecMethodPtr, \
ExecMethodPtr, \
StateMethodPtr, \
StateMethodPtr, \
(const SfxType*) &a##ItemClass##_Impl, \
(const SfxType*) &a##ItemClass##_Impl, \
0, 0, 0, 0, 0
, 0, 0
\
0, 0, 0, 0, 0 \
}
}
#define SFX_NEW_SLOT_ARG( aShellClass, id, hid, GroupId, pLinked, pNext, ExecMethodPtr, StateMethodPtr, Flags, DisableFlags, ItemClass, nArg0, nArgs,
Name,
Prop, UnoName ) \
#define SFX_NEW_SLOT_ARG( aShellClass, id, hid, GroupId, pLinked, pNext, ExecMethodPtr, StateMethodPtr, Flags, DisableFlags, ItemClass, nArg0, nArgs, Prop, UnoName ) \
{ id, GroupId, hid, Flags | Prop, \
{ id, GroupId, hid, Flags | Prop, \
USHRT_MAX, 0, \
USHRT_MAX, 0, \
ExecMethodPtr, \
ExecMethodPtr, \
StateMethodPtr, \
StateMethodPtr, \
(const SfxType*) &a##ItemClass##_Impl, \
(const SfxType*) &a##ItemClass##_Impl, \
Name, Name, \
pLinked, pNext, \
pLinked, pNext, \
&a##aShellClass##Args_Impl[nArg0], nArgs, DisableFlags, UnoName \
&a##aShellClass##Args_Impl[nArg0], nArgs, DisableFlags, UnoName \
}
}
...
@@ -204,7 +203,6 @@ SFX_DECL_TYPE(18); // for SvxSearchItem
...
@@ -204,7 +203,6 @@ SFX_DECL_TYPE(18); // for SvxSearchItem
0, \
0, \
0, \
0, \
(const SfxType*) &aSfxBoolItem_Impl, \
(const SfxType*) &aSfxBoolItem_Impl, \
0, 0, \
pMaster, \
pMaster, \
pNext, \
pNext, \
0, 0, DisableFlags, UnoName \
0, 0, DisableFlags, UnoName \
...
@@ -240,9 +238,7 @@ public:
...
@@ -240,9 +238,7 @@ public:
SfxExecFunc
fnExec
;
// Function to be excecuted
SfxExecFunc
fnExec
;
// Function to be excecuted
SfxStateFunc
fnState
;
// Function for Status
SfxStateFunc
fnState
;
// Function for Status
const
SfxType
*
pType
;
// SfxPoolItem-Type (Status)
const
SfxType
*
pType
;
// SfxPoolItem-Type (Status)
const
char
*
pName
;
// Name of the Slots
const
char
*
pMethodName
;
// Name of the Method if different
const
SfxSlot
*
pLinkedSlot
;
// Master-Slot for Enum value
const
SfxSlot
*
pLinkedSlot
;
// Master-Slot for Enum value
const
SfxSlot
*
pNextSlot
;
// with the same Status-Method
const
SfxSlot
*
pNextSlot
;
// with the same Status-Method
...
...
sd/source/ui/dlg/PaneShells.cxx
Dosyayı görüntüle @
3ddae219
...
@@ -33,7 +33,7 @@ namespace sd {
...
@@ -33,7 +33,7 @@ namespace sd {
SFX_SLOTMAP
(
LeftImpressPaneShell
)
SFX_SLOTMAP
(
LeftImpressPaneShell
)
{
{
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}
};
};
SFX_IMPL_INTERFACE
(
LeftImpressPaneShell
,
SfxShell
,
SdResId
(
STR_LEFT_IMPRESS_PANE_SHELL
))
SFX_IMPL_INTERFACE
(
LeftImpressPaneShell
,
SfxShell
,
SdResId
(
STR_LEFT_IMPRESS_PANE_SHELL
))
...
@@ -59,7 +59,7 @@ LeftImpressPaneShell::~LeftImpressPaneShell (void)
...
@@ -59,7 +59,7 @@ LeftImpressPaneShell::~LeftImpressPaneShell (void)
SFX_SLOTMAP
(
LeftDrawPaneShell
)
SFX_SLOTMAP
(
LeftDrawPaneShell
)
{
{
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}
};
};
SFX_IMPL_INTERFACE
(
LeftDrawPaneShell
,
SfxShell
,
SdResId
(
STR_LEFT_DRAW_PANE_SHELL
))
SFX_IMPL_INTERFACE
(
LeftDrawPaneShell
,
SfxShell
,
SdResId
(
STR_LEFT_DRAW_PANE_SHELL
))
...
...
sfx2/source/control/shell.cxx
Dosyayı görüntüle @
3ddae219
...
@@ -585,7 +585,6 @@ void SfxShell::SetVerbs(const com::sun::star::uno::Sequence < com::sun::star::em
...
@@ -585,7 +585,6 @@ void SfxShell::SetVerbs(const com::sun::star::uno::Sequence < com::sun::star::em
pNewSlot
->
fnExec
=
SFX_STUB_PTR
(
SfxShell
,
VerbExec
);
pNewSlot
->
fnExec
=
SFX_STUB_PTR
(
SfxShell
,
VerbExec
);
pNewSlot
->
fnState
=
SFX_STUB_PTR
(
SfxShell
,
VerbState
);
pNewSlot
->
fnState
=
SFX_STUB_PTR
(
SfxShell
,
VerbState
);
pNewSlot
->
pType
=
0
;
// HACK(SFX_TYPE(SfxVoidItem)) ???
pNewSlot
->
pType
=
0
;
// HACK(SFX_TYPE(SfxVoidItem)) ???
pNewSlot
->
pName
=
strdup
(
OUStringToOString
(
aVerbs
[
n
].
VerbName
,
RTL_TEXTENCODING_UTF8
).
getStr
());
pNewSlot
->
pLinkedSlot
=
0
;
pNewSlot
->
pLinkedSlot
=
0
;
pNewSlot
->
nArgDefCount
=
0
;
pNewSlot
->
nArgDefCount
=
0
;
pNewSlot
->
pFirstArgDef
=
0
;
pNewSlot
->
pFirstArgDef
=
0
;
...
...
sfx2/source/sidebar/Deck.cxx
Dosyayı görüntüle @
3ddae219
...
@@ -291,7 +291,7 @@ void Deck::ShowPanel (const Panel& rPanel)
...
@@ -291,7 +291,7 @@ void Deck::ShowPanel (const Panel& rPanel)
const
OUString
&
GetWindowClassification
(
const
Window
*
pWindow
)
const
OUString
GetWindowClassification
(
const
Window
*
pWindow
)
{
{
const
OUString
&
rsName
(
pWindow
->
GetText
());
const
OUString
&
rsName
(
pWindow
->
GetText
());
if
(
!
rsName
.
isEmpty
())
if
(
!
rsName
.
isEmpty
())
...
@@ -300,8 +300,7 @@ const OUString& GetWindowClassification (const Window* pWindow)
...
@@ -300,8 +300,7 @@ const OUString& GetWindowClassification (const Window* pWindow)
}
}
else
else
{
{
static
const
OUString
aWindow
(
"window"
);
return
OUString
(
"window"
);
return
aWindow
;
}
}
}
}
...
...
svx/source/toolbars/extrusionbar.cxx
Dosyayı görüntüle @
3ddae219
...
@@ -52,7 +52,7 @@ using namespace ::com::sun::star::uno;
...
@@ -52,7 +52,7 @@ using namespace ::com::sun::star::uno;
// tragen wir etwas ein, was hier (hoffentlich) nie vorkommt).
// tragen wir etwas ein, was hier (hoffentlich) nie vorkommt).
SFX_SLOTMAP
(
ExtrusionBar
)
SFX_SLOTMAP
(
ExtrusionBar
)
{
{
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}
};
};
SFX_IMPL_INTERFACE
(
ExtrusionBar
,
SfxShell
,
SVX_RES
(
RID_SVX_EXTRUSION_BAR
))
SFX_IMPL_INTERFACE
(
ExtrusionBar
,
SfxShell
,
SVX_RES
(
RID_SVX_EXTRUSION_BAR
))
...
...
svx/source/toolbars/fontworkbar.cxx
Dosyayı görüntüle @
3ddae219
...
@@ -169,7 +169,7 @@ void SetFontWorkShapeTypeState( SdrView* pSdrView, SfxItemSet& rSet )
...
@@ -169,7 +169,7 @@ void SetFontWorkShapeTypeState( SdrView* pSdrView, SfxItemSet& rSet )
// tragen wir etwas ein, was hier (hoffentlich) nie vorkommt).
// tragen wir etwas ein, was hier (hoffentlich) nie vorkommt).
SFX_SLOTMAP
(
FontworkBar
)
SFX_SLOTMAP
(
FontworkBar
)
{
{
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}
};
};
SFX_IMPL_INTERFACE
(
FontworkBar
,
SfxShell
,
SVX_RES
(
RID_SVX_FONTWORK_BAR
))
SFX_IMPL_INTERFACE
(
FontworkBar
,
SfxShell
,
SVX_RES
(
RID_SVX_FONTWORK_BAR
))
...
...
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