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
68d421bd
Kaydet (Commit)
68d421bd
authored
Ara 15, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
callcatcher: update unusedcode code list
Change-Id: I3ba30e0745c8f2adac29a6c4ff15a8156cee4baf
üst
0d5644bb
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
1 addition
and
140 deletions
+1
-140
dpobject.hxx
sc/inc/dpobject.hxx
+0
-2
dpobject.cxx
sc/source/core/data/dpobject.cxx
+0
-89
dptabsrc.cxx
sc/source/core/data/dptabsrc.cxx
+1
-1
formulabase.hxx
sc/source/filter/inc/formulabase.hxx
+0
-10
formulabase.cxx
sc/source/filter/oox/formulabase.cxx
+0
-8
checklistmenu.cxx
sc/source/ui/cctrl/checklistmenu.cxx
+0
-5
checklistmenu.hxx
sc/source/ui/inc/checklistmenu.hxx
+0
-2
thumbnailviewacc.cxx
sfx2/source/control/thumbnailviewacc.cxx
+0
-21
thumbnailviewacc.hxx
sfx2/source/control/thumbnailviewacc.hxx
+0
-1
unusedcode.easy
unusedcode.easy
+0
-1
No files found.
sc/inc/dpobject.hxx
Dosyayı görüntüle @
68d421bd
...
...
@@ -193,8 +193,6 @@ public:
void
GetMemberResultNames
(
ScDPUniqueStringSet
&
rNames
,
long
nDimension
);
void
FillPageList
(
std
::
vector
<
rtl
::
OUString
>&
rStrings
,
long
nField
);
void
ToggleDetails
(
const
::
com
::
sun
::
star
::
sheet
::
DataPilotTableHeaderData
&
rElemDesc
,
ScDPObject
*
pDestObj
);
bool
FillOldParam
(
ScPivotParam
&
rParam
)
const
;
...
...
sc/source/core/data/dpobject.cxx
Dosyayı görüntüle @
68d421bd
...
...
@@ -1170,95 +1170,6 @@ long ScDPObject::GetDimCount()
return
nRet
;
}
void
ScDPObject
::
FillPageList
(
std
::
vector
<
rtl
::
OUString
>&
rStrings
,
long
nField
)
{
//! merge members access with ToggleDetails?
//! convert field index to dimension index?
OSL_ENSURE
(
xSource
.
is
(),
"no source"
);
if
(
!
xSource
.
is
()
)
return
;
uno
::
Reference
<
container
::
XNamed
>
xDim
;
uno
::
Reference
<
container
::
XNameAccess
>
xDimsName
=
xSource
->
getDimensions
();
uno
::
Reference
<
container
::
XIndexAccess
>
xIntDims
=
new
ScNameToIndexAccess
(
xDimsName
);
long
nIntCount
=
xIntDims
->
getCount
();
if
(
nField
<
nIntCount
)
{
uno
::
Reference
<
uno
::
XInterface
>
xIntDim
=
ScUnoHelpFunctions
::
AnyToInterface
(
xIntDims
->
getByIndex
(
nField
)
);
xDim
=
uno
::
Reference
<
container
::
XNamed
>
(
xIntDim
,
uno
::
UNO_QUERY
);
}
OSL_ENSURE
(
xDim
.
is
(),
"dimension not found"
);
if
(
!
xDim
.
is
()
)
return
;
uno
::
Reference
<
beans
::
XPropertySet
>
xDimProp
(
xDim
,
uno
::
UNO_QUERY
);
long
nHierarchy
=
ScUnoHelpFunctions
::
GetLongProperty
(
xDimProp
,
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SC_UNO_DP_USEDHIERARCHY
))
);
long
nLevel
=
0
;
long
nHierCount
=
0
;
uno
::
Reference
<
container
::
XIndexAccess
>
xHiers
;
uno
::
Reference
<
sheet
::
XHierarchiesSupplier
>
xHierSupp
(
xDim
,
uno
::
UNO_QUERY
);
if
(
xHierSupp
.
is
()
)
{
uno
::
Reference
<
container
::
XNameAccess
>
xHiersName
=
xHierSupp
->
getHierarchies
();
xHiers
=
new
ScNameToIndexAccess
(
xHiersName
);
nHierCount
=
xHiers
->
getCount
();
}
uno
::
Reference
<
uno
::
XInterface
>
xHier
;
if
(
nHierarchy
<
nHierCount
)
xHier
=
ScUnoHelpFunctions
::
AnyToInterface
(
xHiers
->
getByIndex
(
nHierarchy
)
);
OSL_ENSURE
(
xHier
.
is
(),
"hierarchy not found"
);
if
(
!
xHier
.
is
()
)
return
;
long
nLevCount
=
0
;
uno
::
Reference
<
container
::
XIndexAccess
>
xLevels
;
uno
::
Reference
<
sheet
::
XLevelsSupplier
>
xLevSupp
(
xHier
,
uno
::
UNO_QUERY
);
if
(
xLevSupp
.
is
()
)
{
uno
::
Reference
<
container
::
XNameAccess
>
xLevsName
=
xLevSupp
->
getLevels
();
xLevels
=
new
ScNameToIndexAccess
(
xLevsName
);
nLevCount
=
xLevels
->
getCount
();
}
uno
::
Reference
<
uno
::
XInterface
>
xLevel
;
if
(
nLevel
<
nLevCount
)
xLevel
=
ScUnoHelpFunctions
::
AnyToInterface
(
xLevels
->
getByIndex
(
nLevel
)
);
OSL_ENSURE
(
xLevel
.
is
(),
"level not found"
);
if
(
!
xLevel
.
is
()
)
return
;
uno
::
Reference
<
container
::
XNameAccess
>
xMembers
;
uno
::
Reference
<
sheet
::
XMembersSupplier
>
xMbrSupp
(
xLevel
,
uno
::
UNO_QUERY
);
if
(
xMbrSupp
.
is
()
)
xMembers
=
xMbrSupp
->
getMembers
();
OSL_ENSURE
(
xMembers
.
is
(),
"members not found"
);
if
(
!
xMembers
.
is
()
)
return
;
uno
::
Sequence
<
rtl
::
OUString
>
aNames
=
xMembers
->
getElementNames
();
long
nNameCount
=
aNames
.
getLength
();
const
rtl
::
OUString
*
pNameArr
=
aNames
.
getConstArray
();
for
(
long
nPos
=
0
;
nPos
<
nNameCount
;
++
nPos
)
{
// Make sure to insert only visible members.
Reference
<
XPropertySet
>
xPropSet
(
xMembers
->
getByName
(
pNameArr
[
nPos
]),
UNO_QUERY
);
sal_Bool
bVisible
=
false
;
if
(
xPropSet
.
is
())
{
Any
any
=
xPropSet
->
getPropertyValue
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SC_UNO_DP_ISVISIBLE
)));
any
>>=
bVisible
;
}
if
(
bVisible
)
{
// use the order from getElementNames
rStrings
.
push_back
(
pNameArr
[
nPos
]);
}
}
// add "-all-" entry to the top (unsorted)
rStrings
.
insert
(
rStrings
.
begin
(),
SC_RESSTR
(
SCSTR_ALL
));
}
void
ScDPObject
::
GetHeaderPositionData
(
const
ScAddress
&
rPos
,
DataPilotTableHeaderData
&
rData
)
{
using
namespace
::
com
::
sun
::
star
::
sheet
::
DataPilotTablePositionType
;
...
...
sc/source/core/data/dptabsrc.cxx
Dosyayı görüntüle @
68d421bd
...
...
@@ -1433,7 +1433,7 @@ const ScDPItemData& ScDPDimension::GetSelectedData()
{
// find the named member to initialize pSelectedData from it, with name and value
long
nLevel
=
0
;
// same as in ScDPObject::FillPageList
long
nLevel
=
0
;
long
nHierarchy
=
getUsedHierarchy
();
if
(
nHierarchy
>=
GetHierarchiesObject
()
->
getCount
()
)
...
...
sc/source/filter/inc/formulabase.hxx
Dosyayı görüntüle @
68d421bd
...
...
@@ -653,16 +653,6 @@ public:
const
BinAddress
&
rAddress
,
bool
bAbsolute
);
/** Generates a cell range string in A1:A1 notation from the passed binary
cell range address.
@param rRange The cell range address containing column and row indexes.
@param bAbsolute True = adds dollar signs before columns and rows.
*/
static
::
rtl
::
OUString
generateRange2dString
(
const
BinRange
&
rRange
,
bool
bAbsolute
);
// ------------------------------------------------------------------------
/** Generates a string in Calc formula notation from the passed string.
...
...
sc/source/filter/oox/formulabase.cxx
Dosyayı görüntüle @
68d421bd
...
...
@@ -1430,14 +1430,6 @@ OUString FormulaProcessorBase::generateAddress2dString( const BinAddress& rAddre
return
aBuffer
.
makeStringAndClear
();
}
OUString
FormulaProcessorBase
::
generateRange2dString
(
const
BinRange
&
rRange
,
bool
bAbsolute
)
{
OUStringBuffer
aBuffer
(
generateAddress2dString
(
rRange
.
maFirst
,
bAbsolute
)
);
if
(
(
rRange
.
getColCount
()
>
1
)
||
(
rRange
.
getRowCount
()
>
1
)
)
aBuffer
.
append
(
sal_Unicode
(
':'
)
).
append
(
generateAddress2dString
(
rRange
.
maLast
,
bAbsolute
)
);
return
aBuffer
.
makeStringAndClear
();
}
// ----------------------------------------------------------------------------
OUString
FormulaProcessorBase
::
generateApiString
(
const
OUString
&
rString
)
...
...
sc/source/ui/cctrl/checklistmenu.cxx
Dosyayı görüntüle @
68d421bd
...
...
@@ -1319,11 +1319,6 @@ void ScCheckListMenuWindow::setConfig(const Config& rConfig)
maConfig
=
rConfig
;
}
const
Size
&
ScCheckListMenuWindow
::
getWindowSize
()
const
{
return
maWndSize
;
}
bool
ScCheckListMenuWindow
::
isAllSelected
()
const
{
return
maChkToggleAll
.
IsChecked
();
...
...
sc/source/ui/inc/checklistmenu.hxx
Dosyayı görüntüle @
68d421bd
...
...
@@ -244,8 +244,6 @@ public:
void
initMembers
();
void
setConfig
(
const
Config
&
rConfig
);
const
Size
&
getWindowSize
()
const
;
bool
isAllSelected
()
const
;
void
getResult
(
ResultType
&
rResult
);
void
launch
(
const
Rectangle
&
rRect
);
...
...
sfx2/source/control/thumbnailviewacc.cxx
Dosyayı görüntüle @
68d421bd
...
...
@@ -622,27 +622,6 @@ ThumbnailViewItemAcc::~ThumbnailViewItemAcc()
{
}
void
ThumbnailViewItemAcc
::
FireAccessibleEvent
(
short
nEventId
,
const
uno
::
Any
&
rOldValue
,
const
uno
::
Any
&
rNewValue
)
{
if
(
nEventId
)
{
::
std
::
vector
<
uno
::
Reference
<
accessibility
::
XAccessibleEventListener
>
>
aTmpListeners
(
mxEventListeners
);
::
std
::
vector
<
uno
::
Reference
<
accessibility
::
XAccessibleEventListener
>
>::
const_iterator
aIter
(
aTmpListeners
.
begin
()
);
accessibility
::
AccessibleEventObject
aEvtObject
;
aEvtObject
.
EventId
=
nEventId
;
aEvtObject
.
Source
=
static_cast
<
uno
::
XWeak
*>
(
this
);
aEvtObject
.
NewValue
=
rNewValue
;
aEvtObject
.
OldValue
=
rOldValue
;
while
(
aIter
!=
aTmpListeners
.
end
()
)
{
(
*
aIter
)
->
notifyEvent
(
aEvtObject
);
aIter
++
;
}
}
}
void
ThumbnailViewItemAcc
::
ParentDestroyed
()
{
const
::
osl
::
MutexGuard
aGuard
(
maMutex
);
...
...
sfx2/source/control/thumbnailviewacc.hxx
Dosyayı görüntüle @
68d421bd
...
...
@@ -189,7 +189,6 @@ public:
void
ParentDestroyed
();
void
FireAccessibleEvent
(
short
nEventId
,
const
::
com
::
sun
::
star
::
uno
::
Any
&
rOldValue
,
const
::
com
::
sun
::
star
::
uno
::
Any
&
rNewValue
);
sal_Bool
HasAccessibleListeners
()
const
{
return
(
mxEventListeners
.
size
()
>
0
);
}
public
:
...
...
unusedcode.easy
Dosyayı görüntüle @
68d421bd
...
...
@@ -10,7 +10,6 @@ ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
SfxDocumentTemplateDlg::SfxDocumentTemplateDlg(Window*, SfxDocumentTemplates*)
TextEngine::GetLeftMargin() const
ThumbnailViewItemAcc::FireAccessibleEvent(short, com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)
TransitionScene::clear()
UnoControl::UnoControl()
VirtualDevice::SetOutputSizePixelScaleOffsetAndBuffer(Size const&, Fraction const&, Point const&, boost::shared_array<unsigned char> const&)
...
...
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