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
ada6350a
Kaydet (Commit)
ada6350a
authored
Şub 17, 2012
tarafından
Szabolcs Dezsi
Kaydeden (comit)
Michael Meeks
Şub 17, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed unused code from svl and sfx2
üst
57c8929c
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
4 additions
and
147 deletions
+4
-147
app.hxx
sfx2/inc/sfx2/app.hxx
+0
-1
childwin.hxx
sfx2/inc/sfx2/childwin.hxx
+1
-1
hintpost.hxx
sfx2/inc/sfx2/hintpost.hxx
+0
-1
mnuitem.hxx
sfx2/inc/sfx2/mnuitem.hxx
+0
-1
progress.hxx
sfx2/inc/sfx2/progress.hxx
+0
-1
appmain.cxx
sfx2/source/appl/appmain.cxx
+0
-4
progress.cxx
sfx2/source/bastyp/progress.cxx
+0
-39
mnuitem.cxx
sfx2/source/menu/mnuitem.cxx
+0
-8
hintpost.cxx
sfx2/source/notify/hintpost.cxx
+0
-6
nranges.hxx
svl/inc/svl/nranges.hxx
+0
-2
rngitem.hxx
svl/inc/svl/rngitem.hxx
+0
-1
nranges.cxx
svl/source/items/nranges.cxx
+0
-61
rngitem_inc.cxx
svl/source/items/rngitem_inc.cxx
+0
-10
wallitem.hxx
svtools/inc/svtools/wallitem.hxx
+1
-1
wallitem.cxx
svtools/source/misc/wallitem.cxx
+2
-2
unusedcode.easy
unusedcode.easy
+0
-8
No files found.
sfx2/inc/sfx2/app.hxx
Dosyayı görüntüle @
ada6350a
...
@@ -147,7 +147,6 @@ class SFX2_DLLPUBLIC SfxApplication: public SfxShell
...
@@ -147,7 +147,6 @@ class SFX2_DLLPUBLIC SfxApplication: public SfxShell
void
Init
();
void
Init
();
void
Exit
();
void
Exit
();
void
SettingsChange
(
sal_uInt16
,
const
AppSettings
&
);
void
SettingsChange
(
sal_uInt16
,
const
AppSettings
&
);
void
Main
(
);
void
PreInit
(
);
void
PreInit
(
);
void
Quit
();
void
Quit
();
void
Deinitialize
();
void
Deinitialize
();
...
...
sfx2/inc/sfx2/childwin.hxx
Dosyayı görüntüle @
ada6350a
...
@@ -307,7 +307,7 @@ public:
...
@@ -307,7 +307,7 @@ public:
return pWin; \
return pWin; \
} \
} \
sal_uInt16 Class::GetChildWindowId () \
sal_uInt16 Class::GetChildWindowId () \
{ return MyID; } \
{ return MyID; } \
void Class::RegisterChildWindow (sal_Bool bVis, SfxModule *pMod, sal_uInt16 nFlags) \
void Class::RegisterChildWindow (sal_Bool bVis, SfxModule *pMod, sal_uInt16 nFlags) \
{ \
{ \
SfxChildWinFactory *pFact = new SfxChildWinFactory( \
SfxChildWinFactory *pFact = new SfxChildWinFactory( \
...
...
sfx2/inc/sfx2/hintpost.hxx
Dosyayı görüntüle @
ada6350a
...
@@ -56,7 +56,6 @@ class SfxHintPoster: public SvRefBase
...
@@ -56,7 +56,6 @@ class SfxHintPoster: public SvRefBase
GenLink
aLink
;
GenLink
aLink
;
private
:
private
:
void
RegisterEvent
();
DECL_LINK
(
DoEvent_Impl
,
SfxHint
*
);
DECL_LINK
(
DoEvent_Impl
,
SfxHint
*
);
protected
:
protected
:
...
...
sfx2/inc/sfx2/mnuitem.hxx
Dosyayı görüntüle @
ada6350a
...
@@ -56,7 +56,6 @@ public:
...
@@ -56,7 +56,6 @@ public:
SfxMenuControl
(
sal_uInt16
,
SfxBindings
&
);
SfxMenuControl
(
sal_uInt16
,
SfxBindings
&
);
static
SfxMenuControl
*
CreateImpl
(
sal_uInt16
nId
,
Menu
&
rMenu
,
SfxBindings
&
rBindings
);
static
SfxMenuControl
*
CreateImpl
(
sal_uInt16
nId
,
Menu
&
rMenu
,
SfxBindings
&
rBindings
);
static
void
RegisterControl
(
sal_uInt16
nSlotId
=
0
,
SfxModule
*
pMod
=
NULL
);
~
SfxMenuControl
();
~
SfxMenuControl
();
...
...
sfx2/inc/sfx2/progress.hxx
Dosyayı görüntüle @
ada6350a
...
@@ -66,7 +66,6 @@ public:
...
@@ -66,7 +66,6 @@ public:
void
Suspend
();
void
Suspend
();
sal_Bool
IsSuspended
()
const
{
return
bSuspended
;
}
sal_Bool
IsSuspended
()
const
{
return
bSuspended
;
}
void
Lock
();
void
UnLock
();
void
UnLock
();
void
Reschedule
();
void
Reschedule
();
...
...
sfx2/source/appl/appmain.cxx
Dosyayı görüntüle @
ada6350a
...
@@ -118,10 +118,6 @@ void SfxApplication::PreInit( )
...
@@ -118,10 +118,6 @@ void SfxApplication::PreInit( )
{
{
}
}
void
SfxApplication
::
Main
(
)
{
}
//-------------------------------------------------------------------------
//-------------------------------------------------------------------------
SfxFilterMatcher
&
SfxApplication
::
GetFilterMatcher
()
SfxFilterMatcher
&
SfxApplication
::
GetFilterMatcher
()
...
...
sfx2/source/bastyp/progress.cxx
Dosyayı görüntüle @
ada6350a
...
@@ -461,45 +461,6 @@ void SfxProgress::Suspend()
...
@@ -461,45 +461,6 @@ void SfxProgress::Suspend()
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
void
SfxProgress
::
Lock
()
{
if
(
pImp
->
pActiveProgress
)
return
;
// No Reschedule for Embedded-Objects,
// because we are defenseless against the OLE protocol
if
(
!
pImp
->
xObjSh
.
Is
()
)
{
for
(
SfxObjectShell
*
pDocSh
=
SfxObjectShell
::
GetFirst
();
pDocSh
;
pDocSh
=
SfxObjectShell
::
GetNext
(
*
pDocSh
)
)
{
SfxObjectCreateMode
eMode
=
pDocSh
->
GetCreateMode
();
if
(
(
eMode
==
SFX_CREATE_MODE_EMBEDDED
)
||
(
eMode
==
SFX_CREATE_MODE_PREVIEW
)
)
{
DBG
(
DbgOutf
(
"SfxProgress: not locked because EMBEDDED/PREVIEW found"
)
);
pImp
->
bAllowRescheduling
=
sal_False
;
}
}
}
else
{
SfxObjectCreateMode
eMode
=
pImp
->
xObjSh
->
GetCreateMode
();
if
(
(
eMode
==
SFX_CREATE_MODE_EMBEDDED
)
||
(
eMode
==
SFX_CREATE_MODE_PREVIEW
)
)
{
DBG
(
DbgOutf
(
"SfxProgress: not locked because ObjectShell is EMBEDDED/PREVIEW"
)
);
pImp
->
bAllowRescheduling
=
sal_False
;
}
}
pImp
->
Enable_Impl
(
sal_False
);
DBG
(
DbgOutf
(
"SfxProgress: locked"
)
);
pImp
->
bLocked
=
sal_True
;
}
// -----------------------------------------------------------------------
void
SfxProgress
::
UnLock
()
void
SfxProgress
::
UnLock
()
{
{
if
(
pImp
->
pActiveProgress
)
return
;
if
(
pImp
->
pActiveProgress
)
return
;
...
...
sfx2/source/menu/mnuitem.cxx
Dosyayı görüntüle @
ada6350a
...
@@ -246,14 +246,6 @@ SfxMenuControl* SfxMenuControl::CreateImpl( sal_uInt16 /*nId*/, Menu& /*rMenu*/,
...
@@ -246,14 +246,6 @@ SfxMenuControl* SfxMenuControl::CreateImpl( sal_uInt16 /*nId*/, Menu& /*rMenu*/,
return
new
SfxMenuControl
(
sal_True
);
return
new
SfxMenuControl
(
sal_True
);
}
}
//--------------------------------------------------------------------
void
SfxMenuControl
::
RegisterControl
(
sal_uInt16
nSlotId
,
SfxModule
*
pMod
)
{
RegisterMenuControl
(
pMod
,
new
SfxMenuCtrlFactory
(
SfxMenuControl
::
CreateImpl
,
TYPE
(
SfxStringItem
),
nSlotId
)
);
}
//--------------------------------------------------------------------
//--------------------------------------------------------------------
void
SfxMenuControl
::
RegisterMenuControl
(
SfxModule
*
pMod
,
SfxMenuCtrlFactory
*
pFact
)
void
SfxMenuControl
::
RegisterMenuControl
(
SfxModule
*
pMod
,
SfxMenuCtrlFactory
*
pFact
)
{
{
...
...
sfx2/source/notify/hintpost.cxx
Dosyayı görüntüle @
ada6350a
...
@@ -32,12 +32,6 @@
...
@@ -32,12 +32,6 @@
#include <sfx2/app.hxx>
#include <sfx2/app.hxx>
#include "sfxtypes.hxx"
#include "sfxtypes.hxx"
//====================================================================
void
SfxHintPoster
::
RegisterEvent
()
{
}
//--------------------------------------------------------------------
//--------------------------------------------------------------------
SfxHintPoster
::
SfxHintPoster
(
const
GenLink
&
rLink
)
:
SfxHintPoster
::
SfxHintPoster
(
const
GenLink
&
rLink
)
:
...
...
svl/inc/svl/nranges.hxx
Dosyayı görüntüle @
ada6350a
...
@@ -80,8 +80,6 @@ public:
...
@@ -80,8 +80,6 @@ public:
NUMTYPE
Count
()
const
;
NUMTYPE
Count
()
const
;
sal_Bool
IsEmpty
()
const
sal_Bool
IsEmpty
()
const
{
return
!
_pRanges
||
0
==
*
_pRanges
;
}
{
return
!
_pRanges
||
0
==
*
_pRanges
;
}
sal_Bool
Contains
(
NUMTYPE
n
)
const
;
sal_Bool
Intersects
(
const
SfxNumRanges
&
)
const
;
operator
const
NUMTYPE
*
()
const
operator
const
NUMTYPE
*
()
const
{
return
_pRanges
;
}
{
return
_pRanges
;
}
...
...
svl/inc/svl/rngitem.hxx
Dosyayı görüntüle @
ada6350a
...
@@ -67,7 +67,6 @@ public:
...
@@ -67,7 +67,6 @@ public:
TYPEINFO
();
TYPEINFO
();
SfxXRangeItem
();
SfxXRangeItem
();
SfxXRangeItem
(
sal_uInt16
nWID
,
NUMTYPE
nFrom
,
NUMTYPE
nTo
);
SfxXRangeItem
(
sal_uInt16
nWID
,
NUMTYPE
nFrom
,
NUMTYPE
nTo
);
SfxXRangeItem
(
sal_uInt16
nWID
,
SvStream
&
rStream
);
SfxXRangeItem
(
const
SfxXRangeItem
&
rItem
);
SfxXRangeItem
(
const
SfxXRangeItem
&
rItem
);
virtual
int
operator
==
(
const
SfxPoolItem
&
)
const
;
virtual
int
operator
==
(
const
SfxPoolItem
&
)
const
;
virtual
SfxItemPresentation
GetPresentation
(
SfxItemPresentation
ePres
,
virtual
SfxItemPresentation
GetPresentation
(
SfxItemPresentation
ePres
,
...
...
svl/source/items/nranges.cxx
Dosyayı görüntüle @
ada6350a
...
@@ -720,50 +720,6 @@ SfxNumRanges& SfxNumRanges::operator /=
...
@@ -720,50 +720,6 @@ SfxNumRanges& SfxNumRanges::operator /=
//------------------------------------------------------------------------
//------------------------------------------------------------------------
sal_Bool
SfxNumRanges
::
Intersects
(
const
SfxNumRanges
&
rRanges
)
const
/** <H3>Description</H3>
Determines if at least one range in 'rRanges' intersects with one
range in '*this'.
sal_True, if there is at least one with:
this->Contains( n ) && rRanges.Contains( n )
*/
{
// special cases: one is empty
if
(
rRanges
.
IsEmpty
()
||
IsEmpty
()
)
return
sal_False
;
// find at least one intersecting range
const
NUMTYPE
*
pRange1
=
_pRanges
;
const
NUMTYPE
*
pRange2
=
rRanges
.
_pRanges
;
do
{
// 1st range is smaller than 2nd range?
if
(
pRange1
[
1
]
<
pRange2
[
0
]
)
// => keep 1st range
pRange1
+=
2
;
// 2nd range is smaller than 1st range?
else
if
(
pRange2
[
1
]
<
pRange1
[
0
]
)
// => skip 2nd range
pRange2
+=
2
;
// the ranges are overlappung
else
return
sal_True
;
}
while
(
*
pRange2
);
// no intersection found
return
sal_False
;
}
//------------------------------------------------------------------------
NUMTYPE
SfxNumRanges
::
Count
()
const
NUMTYPE
SfxNumRanges
::
Count
()
const
/** <H3>Description</H3>
/** <H3>Description</H3>
...
@@ -776,21 +732,4 @@ NUMTYPE SfxNumRanges::Count() const
...
@@ -776,21 +732,4 @@ NUMTYPE SfxNumRanges::Count() const
return
Capacity_Impl
(
_pRanges
);
return
Capacity_Impl
(
_pRanges
);
}
}
//------------------------------------------------------------------------
sal_Bool
SfxNumRanges
::
Contains
(
NUMTYPE
n
)
const
/** <H3>Description</H3>
Determines if '*this' contains 'n'.
*/
{
for
(
NUMTYPE
*
pRange
=
_pRanges
;
*
pRange
&&
*
pRange
<=
n
;
pRange
+=
2
)
if
(
pRange
[
0
]
<=
n
&&
n
<=
pRange
[
1
]
)
return
sal_True
;
return
sal_False
;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
svl/source/items/rngitem_inc.cxx
Dosyayı görüntüle @
ada6350a
...
@@ -60,16 +60,6 @@ SfxXRangeItem::SfxXRangeItem( sal_uInt16 which, NUMTYPE from, NUMTYPE to ):
...
@@ -60,16 +60,6 @@ SfxXRangeItem::SfxXRangeItem( sal_uInt16 which, NUMTYPE from, NUMTYPE to ):
{
{
}
}
// -----------------------------------------------------------------------
SfxXRangeItem
::
SfxXRangeItem
(
sal_uInt16
nW
,
SvStream
&
rStream
)
:
SfxPoolItem
(
nW
)
{
rStream
>>
nFrom
;
rStream
>>
nTo
;
}
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
SfxXRangeItem
::
SfxXRangeItem
(
const
SfxXRangeItem
&
rItem
)
:
SfxXRangeItem
::
SfxXRangeItem
(
const
SfxXRangeItem
&
rItem
)
:
...
...
svtools/inc/svtools/wallitem.hxx
Dosyayı görüntüle @
ada6350a
...
@@ -57,7 +57,7 @@ public:
...
@@ -57,7 +57,7 @@ public:
virtual
CreateSvxBrushTabPage
GetBackgroundTabpageCreateFunc
()
=
0
;
virtual
CreateSvxBrushTabPage
GetBackgroundTabpageCreateFunc
()
=
0
;
virtual
GetSvxBrushTabPageRanges
GetBackgroundTabpageRanges
()
=
0
;
virtual
GetSvxBrushTabPageRanges
GetBackgroundTabpageRanges
()
=
0
;
static
SfxBrushItemLink
*
Get
()
{
return
*
(
SfxBrushItemLink
**
)
GetAppData
(
SHL_BRUSHITEM
);
}
static
SfxBrushItemLink
*
Get
()
{
return
*
(
SfxBrushItemLink
**
)
GetAppData
(
SHL_BRUSHITEM
);
}
static
void
Set
(
SfxBrushItemLink
*
pLink
);
//
static void Set( SfxBrushItemLink* pLink );
};
};
#endif // _SFX_BRUSHITEMLINK_DECLARED
#endif // _SFX_BRUSHITEMLINK_DECLARED
...
...
svtools/source/misc/wallitem.cxx
Dosyayı görüntüle @
ada6350a
...
@@ -50,13 +50,13 @@ SfxBrushItemLink::~SfxBrushItemLink()
...
@@ -50,13 +50,13 @@ SfxBrushItemLink::~SfxBrushItemLink()
}
}
//static
//static
void
SfxBrushItemLink
::
Set
(
SfxBrushItemLink
*
pLink
)
/*
void SfxBrushItemLink::Set( SfxBrushItemLink* pLink )
{
{
SfxBrushItemLink** ppLink = (SfxBrushItemLink**)GetAppData(SHL_BRUSHITEM);
SfxBrushItemLink** ppLink = (SfxBrushItemLink**)GetAppData(SHL_BRUSHITEM);
if( !*ppLink )
if( !*ppLink )
*ppLink = pLink;
*ppLink = pLink;
else
else
delete pLink;
delete pLink;
}
}
*/
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
unusedcode.easy
Dosyayı görüntüle @
ada6350a
...
@@ -151,9 +151,6 @@ SectReprArr::Remove(SectRepr* const&, unsigned short)
...
@@ -151,9 +151,6 @@ SectReprArr::Remove(SectRepr* const&, unsigned short)
SectReprArr::Remove(unsigned short, unsigned short)
SectReprArr::Remove(unsigned short, unsigned short)
SecurityEnvironment_NssImpl::getImplementation(com::sun::star::uno::Reference<com::sun::star::uno::XInterface>)
SecurityEnvironment_NssImpl::getImplementation(com::sun::star::uno::Reference<com::sun::star::uno::XInterface>)
SetOfByte::GetSetCount() const
SetOfByte::GetSetCount() const
SfxAppMenuControl_Impl::RegisterControl(unsigned short, SfxModule*)
SfxApplication::Main()
SfxBrushItemLink::Set(SfxBrushItemLink*)
SfxDockingWrapper::GetChildWindowId()
SfxDockingWrapper::GetChildWindowId()
SfxFilterPtrArr::DeleteAndDestroy(unsigned short, unsigned short)
SfxFilterPtrArr::DeleteAndDestroy(unsigned short, unsigned short)
SfxFoundCacheArr_Impl::Insert(SfxFoundCacheArr_Impl const*, unsigned short, unsigned short)
SfxFoundCacheArr_Impl::Insert(SfxFoundCacheArr_Impl const*, unsigned short, unsigned short)
...
@@ -161,15 +158,12 @@ SfxFoundCacheArr_Impl::Insert(SfxFoundCache_Impl const*&, unsigned short&)
...
@@ -161,15 +158,12 @@ SfxFoundCacheArr_Impl::Insert(SfxFoundCache_Impl const*&, unsigned short&)
SfxFoundCacheArr_Impl::Insert(SfxFoundCache_Impl const**, unsigned short)
SfxFoundCacheArr_Impl::Insert(SfxFoundCache_Impl const**, unsigned short)
SfxFoundCacheArr_Impl::Remove(SfxFoundCache_Impl const*&, unsigned short)
SfxFoundCacheArr_Impl::Remove(SfxFoundCache_Impl const*&, unsigned short)
SfxFoundCacheArr_Impl::Remove(unsigned short, unsigned short)
SfxFoundCacheArr_Impl::Remove(unsigned short, unsigned short)
SfxHintPoster::RegisterEvent()
SfxMedium::GetHdl()
SfxMedium::GetHdl()
SfxModuleArr_Impl::DeleteAndDestroy(unsigned short, unsigned short)
SfxModuleArr_Impl::DeleteAndDestroy(unsigned short, unsigned short)
SfxNavigatorWrapper::GetChildWindowId()
SfxNavigatorWrapper::GetChildWindowId()
SfxOleStringPropertyBase::SfxOleStringPropertyBase(int, int, unsigned short, String const&)
SfxOleStringPropertyBase::SfxOleStringPropertyBase(int, int, unsigned short, String const&)
SfxPartChildWnd_Impl::GetChildWindowId()
SfxPartChildWnd_Impl::GetChildWindowId()
SfxPopupWindow::LinkStubDelete(void*, void*)
SfxPopupWindow::LinkStubDelete(void*, void*)
SfxProgress::Lock()
SfxRangeItem::SfxRangeItem(unsigned short, SvStream&)
SfxRecordingFloatWrapper_Impl::GetChildWindowId()
SfxRecordingFloatWrapper_Impl::GetChildWindowId()
SfxThesSubMenuControl::RegisterControl(unsigned short, SfxModule*)
SfxThesSubMenuControl::RegisterControl(unsigned short, SfxModule*)
SfxUINT32s::Insert(SfxUINT32s const*, unsigned short, unsigned short, unsigned short)
SfxUINT32s::Insert(SfxUINT32s const*, unsigned short, unsigned short, unsigned short)
...
@@ -178,8 +172,6 @@ SfxUINT32s::Replace(unsigned int const&, unsigned short)
...
@@ -178,8 +172,6 @@ SfxUINT32s::Replace(unsigned int const&, unsigned short)
SfxUINT32s::Replace(unsigned int const*, unsigned short, unsigned short)
SfxUINT32s::Replace(unsigned int const*, unsigned short, unsigned short)
SfxUINT32s::_ForEach(unsigned short, unsigned short, unsigned char (*)(unsigned int const&, void*), void*)
SfxUINT32s::_ForEach(unsigned short, unsigned short, unsigned char (*)(unsigned int const&, void*), void*)
SfxULongRangeItem::SfxULongRangeItem(unsigned short, SvStream&)
SfxULongRangeItem::SfxULongRangeItem(unsigned short, SvStream&)
SfxULongRanges::Contains(unsigned long) const
SfxULongRanges::Intersects(SfxULongRanges const&) const
SfxULongRanges::SfxULongRanges(int, int, int, ...)
SfxULongRanges::SfxULongRanges(int, int, int, ...)
SfxULongRanges::SfxULongRanges(unsigned long const*)
SfxULongRanges::SfxULongRanges(unsigned long const*)
SfxULongRanges::SfxULongRanges(unsigned long, unsigned long)
SfxULongRanges::SfxULongRanges(unsigned long, unsigned long)
...
...
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