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
be3ee9c8
Kaydet (Commit)
be3ee9c8
authored
13 years ago
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
callcatcher: update unused code list
üst
16cd9748
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
7 additions
and
144 deletions
+7
-144
dbexception.cxx
connectivity/source/commontools/dbexception.cxx
+1
-3
dumperbase.hxx
oox/inc/oox/dump/dumperbase.hxx
+0
-8
dumperbase.cxx
oox/source/dump/dumperbase.cxx
+0
-28
workbookhelper.cxx
sc/source/filter/oox/workbookhelper.cxx
+0
-8
basenode.cxx
slideshow/source/engine/animationnodes/basenode.cxx
+0
-8
basenode.hxx
slideshow/source/engine/animationnodes/basenode.hxx
+0
-1
scrwin.hxx
svtools/inc/svtools/scrwin.hxx
+0
-1
scrwin.cxx
svtools/source/control/scrwin.cxx
+0
-83
unusedcode.easy
unusedcode.easy
+6
-4
No files found.
connectivity/source/commontools/dbexception.cxx
Dosyayı görüntüle @
be3ee9c8
...
...
@@ -437,11 +437,9 @@ void throwFunctionNotSupportedException( const sal_Char* _pAsciiFunctionName, co
STR_UNSUPPORTED_FUNCTION
,
"$functionname$"
,
::
rtl
::
OUString
::
createFromAscii
(
_pAsciiFunctionName
)
)
);
throw
SQL
Exception
(
throw
FunctionNotSupported
Exception
(
sError
,
_rxContext
,
getStandardSQLState
(
SQL_FUNCTION_NOT_SUPPORTED
),
0
,
_pNextException
?
*
_pNextException
:
Any
()
);
}
...
...
This diff is collapsed.
Click to expand it.
oox/inc/oox/dump/dumperbase.hxx
Dosyayı görüntüle @
be3ee9c8
...
...
@@ -380,9 +380,6 @@ public:
static
void
appendAddrName
(
::
rtl
::
OUStringBuffer
&
rStr
,
sal_Unicode
cPrefix
,
sal_Int32
nColRow
,
bool
bRel
);
static
void
appendAddress
(
::
rtl
::
OUStringBuffer
&
rStr
,
const
Address
&
rPos
);
static
void
appendRange
(
::
rtl
::
OUStringBuffer
&
rStr
,
const
Range
&
rRange
);
static
void
appendAddress
(
::
rtl
::
OUStringBuffer
&
rStr
,
const
TokenAddress
&
rPos
,
bool
bR1C1
);
// encoded text output ----------------------------------------------------
...
...
@@ -1848,11 +1845,6 @@ protected:
const
::
rtl
::
OUString
&
rSysFileName
,
const
String
&
rRecNames
,
const
String
&
rSimpleRecs
=
EMPTY_STRING
);
void
construct
(
const
OutputObjectBase
&
rParent
,
const
BinaryInputStreamRef
&
rxBaseStrm
,
const
String
&
rRecNames
,
const
String
&
rSimpleRecs
=
EMPTY_STRING
);
virtual
bool
implStartRecord
(
BinaryInputStream
&
rBaseStrm
,
sal_Int64
&
ornRecPos
,
sal_Int64
&
ornRecId
,
sal_Int64
&
ornRecSize
);
virtual
bool
implReadRecordHeader
(
BinaryInputStream
&
rBaseStrm
,
sal_Int64
&
ornRecId
,
sal_Int64
&
ornRecSize
)
=
0
;
...
...
This diff is collapsed.
Click to expand it.
oox/source/dump/dumperbase.cxx
Dosyayı görüntüle @
be3ee9c8
...
...
@@ -504,27 +504,6 @@ void StringHelper::appendAddress( OUStringBuffer& rStr, const Address& rPos )
appendAddrRow
(
rStr
,
rPos
.
mnRow
,
true
);
}
void
StringHelper
::
appendRange
(
OUStringBuffer
&
rStr
,
const
Range
&
rRange
)
{
appendAddress
(
rStr
,
rRange
.
maFirst
);
rStr
.
append
(
OOX_DUMP_RANGESEP
);
appendAddress
(
rStr
,
rRange
.
maLast
);
}
void
StringHelper
::
appendAddress
(
OUStringBuffer
&
rStr
,
const
TokenAddress
&
rPos
,
bool
bR1C1
)
{
if
(
bR1C1
&&
(
rPos
.
mbRelCol
||
rPos
.
mbRelRow
)
)
{
appendAddrName
(
rStr
,
OOX_DUMP_R1C1ROW
,
rPos
.
mnRow
,
rPos
.
mbRelRow
);
appendAddrName
(
rStr
,
OOX_DUMP_R1C1COL
,
rPos
.
mnCol
,
rPos
.
mbRelCol
);
}
else
{
appendAddrCol
(
rStr
,
rPos
.
mnCol
,
rPos
.
mbRelCol
);
appendAddrRow
(
rStr
,
rPos
.
mnRow
,
rPos
.
mbRelRow
);
}
}
// encoded text output --------------------------------------------------------
void
StringHelper
::
appendCChar
(
OUStringBuffer
&
rStr
,
sal_Unicode
cChar
,
bool
bPrefix
)
...
...
@@ -2695,13 +2674,6 @@ void SequenceRecordObjectBase::construct( const ObjectBase& rParent,
RecordObjectBase
::
construct
(
rParent
,
rxBaseStrm
,
rSysFileName
,
xRecStrm
,
rRecNames
,
rSimpleRecs
);
}
void
SequenceRecordObjectBase
::
construct
(
const
OutputObjectBase
&
rParent
,
const
BinaryInputStreamRef
&
rxBaseStrm
,
const
String
&
rRecNames
,
const
String
&
rSimpleRecs
)
{
BinaryInputStreamRef
xRecStrm
(
new
SequenceInputStream
(
*
mxRecData
)
);
RecordObjectBase
::
construct
(
rParent
,
rxBaseStrm
,
xRecStrm
,
rRecNames
,
rSimpleRecs
);
}
bool
SequenceRecordObjectBase
::
implStartRecord
(
BinaryInputStream
&
rBaseStrm
,
sal_Int64
&
ornRecPos
,
sal_Int64
&
ornRecId
,
sal_Int64
&
ornRecSize
)
{
bool
bValid
=
true
;
...
...
This diff is collapsed.
Click to expand it.
sc/source/filter/oox/workbookhelper.cxx
Dosyayı görüntüle @
be3ee9c8
...
...
@@ -231,8 +231,6 @@ public:
inline
BiffType
getBiff
()
const
{
return
meBiff
;
}
/** Returns the text encoding used to import/export byte strings. */
inline
rtl_TextEncoding
getTextEncoding
()
const
{
return
meTextEnc
;
}
/** Sets the text encoding to import/export byte strings. */
void
setTextEncoding
(
rtl_TextEncoding
eTextEnc
);
/** Returns the codec helper that stores the encoder/decoder object. */
inline
BiffCodecHelper
&
getCodecHelper
()
{
return
*
mxCodecHelper
;
}
...
...
@@ -503,12 +501,6 @@ Reference< XStyle > WorkbookGlobals::createStyleObject( OUString& orStyleName, b
// BIFF specific --------------------------------------------------------------
void
WorkbookGlobals
::
setTextEncoding
(
rtl_TextEncoding
eTextEnc
)
{
if
(
eTextEnc
!=
RTL_TEXTENCODING_DONTKNOW
)
meTextEnc
=
eTextEnc
;
}
// private --------------------------------------------------------------------
void
WorkbookGlobals
::
initialize
(
bool
bWorkbookFile
)
...
...
This diff is collapsed.
Click to expand it.
slideshow/source/engine/animationnodes/basenode.cxx
Dosyayı görüntüle @
be3ee9c8
...
...
@@ -748,14 +748,6 @@ const char* BaseNode::getDescription() const
return
"BaseNode"
;
}
void
BaseNode
::
showTreeFromWithin
()
const
{
// find root node
BaseNodeSharedPtr
pCurrNode
(
mpSelf
);
while
(
pCurrNode
->
mpParent
)
pCurrNode
=
pCurrNode
->
mpParent
;
pCurrNode
->
showState
();
}
#endif
}
// namespace internal
...
...
This diff is collapsed.
Click to expand it.
slideshow/source/engine/animationnodes/basenode.hxx
Dosyayı görüntüle @
be3ee9c8
...
...
@@ -112,7 +112,6 @@ public:
#if OSL_DEBUG_LEVEL >= 2 && defined(DBG_UTIL)
virtual
void
showState
()
const
;
virtual
const
char
*
getDescription
()
const
;
void
showTreeFromWithin
()
const
;
#endif
const
::
boost
::
shared_ptr
<
BaseContainerNode
>&
getParentNode
()
const
...
...
This diff is collapsed.
Click to expand it.
svtools/inc/svtools/scrwin.hxx
Dosyayı görüntüle @
be3ee9c8
...
...
@@ -90,7 +90,6 @@ public:
void
SetTotalSize
(
const
Size
&
rNewSize
);
Size
GetTotalSize
()
{
return
PixelToLogic
(
aTotPixSz
);
}
sal_Bool
MakeVisible
(
const
Rectangle
&
rTarget
,
sal_Bool
bSloppy
=
sal_False
);
Rectangle
GetVisibleArea
()
const
;
using
Window
::
Scroll
;
...
...
This diff is collapsed.
Click to expand it.
svtools/source/control/scrwin.cxx
Dosyayı görüntüle @
be3ee9c8
...
...
@@ -329,89 +329,6 @@ void ScrollableWindow::SetTotalSize( const Size& rNewSize )
//-------------------------------------------------------------------
sal_Bool
ScrollableWindow
::
MakeVisible
(
const
Rectangle
&
rTarget
,
sal_Bool
bSloppy
)
{
Rectangle
aTarget
;
Rectangle
aTotRect
(
Point
(
0
,
0
),
PixelToLogic
(
aTotPixSz
)
);
if
(
bSloppy
)
{
aTarget
=
rTarget
;
// at maximum to right border
if
(
aTarget
.
Right
()
>
aTotRect
.
Right
()
)
{
long
nDelta
=
aTarget
.
Right
()
-
aTotRect
.
Right
();
aTarget
.
Left
()
-=
nDelta
;
aTarget
.
Right
()
-=
nDelta
;
// too wide?
if
(
aTarget
.
Left
()
<
aTotRect
.
Left
()
)
aTarget
.
Left
()
=
aTotRect
.
Left
();
}
// at maximum to bottom border
if
(
aTarget
.
Bottom
()
>
aTotRect
.
Bottom
()
)
{
long
nDelta
=
aTarget
.
Bottom
()
-
aTotRect
.
Bottom
();
aTarget
.
Top
()
-=
nDelta
;
aTarget
.
Bottom
()
-=
nDelta
;
// too high?
if
(
aTarget
.
Top
()
<
aTotRect
.
Top
()
)
aTarget
.
Top
()
=
aTotRect
.
Top
();
}
// at maximum to left border
if
(
aTarget
.
Left
()
<
aTotRect
.
Left
()
)
{
long
nDelta
=
aTarget
.
Left
()
-
aTotRect
.
Left
();
aTarget
.
Right
()
-=
nDelta
;
aTarget
.
Left
()
-=
nDelta
;
// too wide?
if
(
aTarget
.
Right
()
>
aTotRect
.
Right
()
)
aTarget
.
Right
()
=
aTotRect
.
Right
();
}
// at maximum to top border
if
(
aTarget
.
Top
()
<
aTotRect
.
Top
()
)
{
long
nDelta
=
aTarget
.
Top
()
-
aTotRect
.
Top
();
aTarget
.
Bottom
()
-=
nDelta
;
aTarget
.
Top
()
-=
nDelta
;
// too high?
if
(
aTarget
.
Bottom
()
>
aTotRect
.
Bottom
()
)
aTarget
.
Bottom
()
=
aTotRect
.
Bottom
();
}
}
else
aTarget
=
rTarget
.
GetIntersection
(
aTotRect
);
// is the area already visible?
Rectangle
aVisArea
(
GetVisibleArea
()
);
if
(
aVisArea
.
IsInside
(
rTarget
)
)
return
sal_True
;
// is there somewhat to scroll?
if
(
aVisArea
.
TopLeft
()
!=
aTarget
.
TopLeft
()
)
{
Rectangle
aBox
(
aTarget
.
GetUnion
(
aVisArea
)
);
long
nDeltaX
=
(
aBox
.
Right
()
-
aVisArea
.
Right
()
)
+
(
aBox
.
Left
()
-
aVisArea
.
Left
()
);
long
nDeltaY
=
(
aBox
.
Top
()
-
aVisArea
.
Top
()
)
+
(
aBox
.
Bottom
()
-
aVisArea
.
Bottom
()
);
Scroll
(
nDeltaX
,
nDeltaY
);
}
// determine if the target is completely visible
return
aVisArea
.
GetWidth
()
>=
aTarget
.
GetWidth
()
&&
aVisArea
.
GetHeight
()
>=
aTarget
.
GetHeight
();
}
//-------------------------------------------------------------------
Rectangle
ScrollableWindow
::
GetVisibleArea
()
const
{
Point
aTopLeft
(
PixelToLogic
(
Point
()
)
);
...
...
This diff is collapsed.
Click to expand it.
unusedcode.easy
Dosyayı görüntüle @
be3ee9c8
...
...
@@ -66,6 +66,7 @@ ScConditionalFormats_Impl::Remove(ScConditionalFormat* const&, unsigned short)
ScConditionalFormats_Impl::Remove(unsigned short, unsigned short)
ScCsvControl::ScCsvControl(Window*, ScCsvLayoutData const&, long)
ScDBCollection::AnonDBs::erase(boost::void_ptr_iterator<__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<void**, std::__cxx1998::vector<void*, std::allocator<void*> > >, std::__debug::vector<void*, std::allocator<void*> > >, ScDBData>)
ScDBCollection::AnonDBs::findByTable(short) const
ScDBCollection::AnonDBs::size() const
ScDPItemData::ScDPItemData(rtl::OUString const*)
ScDPItemData::SetErrorString(rtl::OUString const&)
...
...
@@ -105,7 +106,6 @@ ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
ScVbaFormat<ooo::vba::excel::XStyle>::getXServiceInfo()
ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
ScVbaFormat<ooo::vba::excel::XStyle>::setNumberFormat(com::sun::star::lang::Locale, rtl::OUString const&)
ScrollableWindow::MakeVisible(Rectangle const&, unsigned char)
SectReprArr::Insert(SectRepr* const&, unsigned short&)
SectReprArr::Insert(SectRepr* const*, unsigned short)
SectReprArr::Insert(SectReprArr const*, unsigned short, unsigned short)
...
...
@@ -437,7 +437,6 @@ binfilter::ScriptTypePosInfos::Insert(binfilter::ScriptTypePosInfos const*, unsi
binfilter::ScriptTypePosInfos::Replace(binfilter::ScriptTypePosInfo const&, unsigned short)
binfilter::ScriptTypePosInfos::Replace(binfilter::ScriptTypePosInfo const*, unsigned short, unsigned short)
binfilter::ScriptTypePosInfos::_ForEach(unsigned short, unsigned short, unsigned char (*)(binfilter::ScriptTypePosInfo const&, void*), void*)
binfilter::SdXMLFilter::SdXMLFilter(binfilter::SfxMedium&, binfilter::SdDrawDocShell&, unsigned char, binfilter::SdXMLFilterMode)
binfilter::SdrUnoControlAccessArr::DeleteAndDestroy(unsigned short, unsigned short)
binfilter::SdrUnoControlAccessArr::Insert(binfilter::SdrUnoControlAccess* const&, unsigned short&)
binfilter::SdrUnoControlAccessArr::Insert(binfilter::SdrUnoControlAccess* const*, unsigned short)
...
...
@@ -740,7 +739,6 @@ dbtools::SQLExceptionIteratorHelper::SQLExceptionIteratorHelper(com::sun::star::
dbtools::StatementComposer::getDisposeComposer() const
dbtools::getComposedRowSetStatement(com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet> const&, com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&, unsigned char, unsigned char)
dbtools::getConnection(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&)
dbtools::throwFunctionNotSupportedException(rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&, com::sun::star::uno::Any const&)
dp_misc::TRACE(rtl::OString const&)
dp_misc::writeConsoleError(rtl::OString const&)
drawinglayer::attribute::SdrFormTextAttribute::getFormTextShdwTransp() const
...
...
@@ -765,7 +763,7 @@ oox::PropertyMap::dump(com::sun::star::uno::Reference<com::sun::star::beans::XPr
oox::core::BinaryFilterBase::BinaryFilterBase(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&)
oox::core::FilterBase::openSubStorage(rtl::OUString const&, bool) const
oox::core::FilterBase::requestEncryptionData(comphelper::IDocPasswordVerifier&) const
oox::
dump::SequenceRecordObjectBase::construct(oox::dump::OutputObjectBase const&, oox::dump::BinaryInputStreamRef const&, oox::dump::String const&, oox::dump::String const&
)
oox::
xls::Alignment::setBiff2Data(unsigned char
)
oox::xls::Alignment::setBiff3Data(unsigned short)
oox::xls::Alignment::setBiff4Data(unsigned short)
oox::xls::Alignment::setBiff5Data(unsigned short)
...
...
@@ -777,6 +775,7 @@ oox::xls::BiffDrawingObjectBase::importObjBiff4(oox::xls::WorksheetHelper const&
oox::xls::BiffDrawingObjectBase::importObjBiff5(oox::xls::WorksheetHelper const&, oox::xls::BiffInputStream&)
oox::xls::BiffHelper::calcTextEncodingFromCodePage(unsigned short)
oox::xls::BiffWorkbookContextBase::BiffWorkbookContextBase(oox::xls::WorkbookHelper const&)
oox::xls::Border::setBiff2Data(unsigned char)
oox::xls::Border::setBiff3Data(unsigned int)
oox::xls::Border::setBiff5Data(unsigned int, unsigned int)
oox::xls::Border::setBiff8Data(unsigned int, unsigned int)
...
...
@@ -792,6 +791,7 @@ oox::xls::ExternalLink::importExternalName(oox::xls::BiffInputStream&)
oox::xls::ExternalLinkBuffer::importExternSheet(oox::xls::BiffInputStream&)
oox::xls::ExternalLinkBuffer::importExternSheet8(oox::xls::BiffInputStream&)
oox::xls::ExternalLinkBuffer::importExternalBook(oox::xls::BiffInputStream&)
oox::xls::Fill::setBiff2Data(unsigned char)
oox::xls::Fill::setBiff3Data(unsigned short)
oox::xls::Fill::setBiff5Data(unsigned int)
oox::xls::Fill::setBiff8Data(unsigned int, unsigned short)
...
...
@@ -809,6 +809,7 @@ oox::xls::PivotTable::importPTDefinition2(oox::xls::BiffInputStream&)
oox::xls::PivotTable::importPTPageFields(oox::xls::BiffInputStream&)
oox::xls::PivotTable::importPTRowColFields(oox::xls::BiffInputStream&)
oox::xls::PivotTableField::importPTField(oox::xls::BiffInputStream&)
oox::xls::Protection::setBiff2Data(unsigned char)
oox::xls::Protection::setBiff3Data(unsigned short)
oox::xls::QueryTable::importQueryTable(oox::xls::BiffInputStream&)
oox::xls::QueryTable::importQueryTableRefresh(oox::xls::BiffInputStream&)
...
...
@@ -816,6 +817,7 @@ oox::xls::QueryTable::importQueryTableSettings(oox::xls::BiffInputStream&)
oox::xls::RichString::importByteString(oox::xls::BiffInputStream&, unsigned short, int)
oox::xls::RichString::importUniString(oox::xls::BiffInputStream&, int)
oox::xls::Scenario::importScenario(oox::xls::BiffInputStream&)
oox::xls::Xf::setAllUsedFlags(bool)
oox::xls::Xf::setBiffUsedFlags(unsigned char)
psp::PrinterGfx::DrawBitmap(Rectangle const&, Rectangle const&, psp::PrinterBmp const&, psp::PrinterBmp const&)
psp::PrinterGfx::DrawMask(Rectangle const&, Rectangle const&, psp::PrinterBmp const&, psp::PrinterColor&)
...
...
This diff is collapsed.
Click to expand it.
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