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
051e60ff
Kaydet (Commit)
051e60ff
authored
Ock 18, 2012
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bin some unused code
üst
bb921f1d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1 addition
and
104 deletions
+1
-104
inftxt.cxx
sw/source/core/text/inftxt.cxx
+0
-12
inftxt.hxx
sw/source/core/text/inftxt.hxx
+0
-18
porlay.hxx
sw/source/core/text/porlay.hxx
+0
-7
txtftn.cxx
sw/source/core/text/txtftn.cxx
+1
-9
txtio.cxx
sw/source/core/text/txtio.cxx
+0
-47
unusedcode.easy
unusedcode.easy
+0
-11
No files found.
sw/source/core/text/inftxt.cxx
Dosyayı görüntüle @
051e60ff
...
@@ -26,8 +26,6 @@
...
@@ -26,8 +26,6 @@
*
*
************************************************************************/
************************************************************************/
#include <com/sun/star/uno/Sequence.h>
#include <com/sun/star/uno/Sequence.h>
#include <unotools/linguprops.hxx>
#include <unotools/linguprops.hxx>
#include <unotools/lingucfg.hxx>
#include <unotools/lingucfg.hxx>
...
@@ -113,17 +111,7 @@ static bool g_bDbgLow = false;
...
@@ -113,17 +111,7 @@ static bool g_bDbgLow = false;
#endif
#endif
#ifdef DBG_UTIL
#ifdef DBG_UTIL
sal_Bool
SwTxtSizeInfo
::
IsOptCalm
()
const
{
return
!
GetOpt
().
IsTest3
();
}
sal_Bool
SwTxtSizeInfo
::
IsOptLow
()
const
{
return
g_bDbgLow
;
}
sal_Bool
SwTxtSizeInfo
::
IsOptDbg
()
const
{
return
GetOpt
().
IsTest4
();
}
sal_Bool
SwTxtSizeInfo
::
IsOptDbg
()
const
{
return
GetOpt
().
IsTest4
();
}
sal_Bool
SwTxtSizeInfo
::
IsOptTest1
()
const
{
return
GetOpt
().
IsTest1
();
}
sal_Bool
SwTxtSizeInfo
::
IsOptTest2
()
const
{
return
GetOpt
().
IsTest2
();
}
sal_Bool
SwTxtSizeInfo
::
IsOptTest3
()
const
{
return
GetOpt
().
IsTest3
();
}
sal_Bool
SwTxtSizeInfo
::
IsOptTest4
()
const
{
return
GetOpt
().
IsTest4
();
}
sal_Bool
SwTxtSizeInfo
::
IsOptTest5
()
const
{
return
GetOpt
().
IsTest5
();
}
sal_Bool
SwTxtSizeInfo
::
IsOptTest6
()
const
{
return
GetOpt
().
IsTest6
();
}
sal_Bool
SwTxtSizeInfo
::
IsOptTest7
()
const
{
return
GetOpt
().
IsTest7
();
}
sal_Bool
SwTxtSizeInfo
::
IsOptTest8
()
const
{
return
GetOpt
().
IsTest8
();
}
#endif
#endif
/*************************************************************************
/*************************************************************************
...
...
sw/source/core/text/inftxt.hxx
Dosyayı görüntüle @
051e60ff
...
@@ -75,12 +75,8 @@ class SwWrongList;
...
@@ -75,12 +75,8 @@ class SwWrongList;
#define DIR_TOP2BOTTOM 3
#define DIR_TOP2BOTTOM 3
#ifdef DBG_UTIL
#ifdef DBG_UTIL
#define OPTCALM( rInf ) (rInf).IsOptCalm()
#define OPTLOW( rInf ) (rInf).IsOptLow()
#define OPTDBG( rInf ) (rInf).IsOptDbg()
#define OPTDBG( rInf ) (rInf).IsOptDbg()
#else
#else
#define OPTCALM( rInf ) sal_True
#define OPTLOW( rInf ) sal_False
#define OPTDBG( rInf ) sal_False
#define OPTDBG( rInf ) sal_False
#endif
#endif
...
@@ -107,8 +103,6 @@ class SwLineInfo
...
@@ -107,8 +103,6 @@ class SwLineInfo
SwLineInfo
();
SwLineInfo
();
~
SwLineInfo
();
~
SwLineInfo
();
public
:
public
:
// const SvxTabStop *GetTabStop( const SwTwips nLinePos,
// const SwTwips nLeft,
// #i24363# tab stops relative to indent - returns the tab stop following nSearchPos or NULL
// #i24363# tab stops relative to indent - returns the tab stop following nSearchPos or NULL
const
SvxTabStop
*
GetTabStop
(
const
SwTwips
nSearchPos
,
const
SvxTabStop
*
GetTabStop
(
const
SwTwips
nSearchPos
,
const
SwTwips
nRight
)
const
;
const
SwTwips
nRight
)
const
;
...
@@ -136,7 +130,6 @@ public:
...
@@ -136,7 +130,6 @@ public:
return
nListTabStopPosition
;
return
nListTabStopPosition
;
}
}
// friend ostream &operator<<( ostream &rOS, const SwLineInfo &rInf );
friend
SvStream
&
operator
<<
(
SvStream
&
rOS
,
const
SwLineInfo
&
rInf
);
friend
SvStream
&
operator
<<
(
SvStream
&
rOS
,
const
SwLineInfo
&
rInf
);
};
};
...
@@ -377,17 +370,7 @@ public:
...
@@ -377,17 +370,7 @@ public:
?
(
*
pKanaComp
)[
nKanaIdx
]
:
0
;
}
?
(
*
pKanaComp
)[
nKanaIdx
]
:
0
;
}
#ifdef DBG_UTIL
#ifdef DBG_UTIL
sal_Bool
IsOptCalm
()
const
;
sal_Bool
IsOptLow
()
const
;
sal_Bool
IsOptDbg
()
const
;
sal_Bool
IsOptDbg
()
const
;
sal_Bool
IsOptTest1
()
const
;
sal_Bool
IsOptTest2
()
const
;
sal_Bool
IsOptTest3
()
const
;
sal_Bool
IsOptTest4
()
const
;
sal_Bool
IsOptTest5
()
const
;
sal_Bool
IsOptTest6
()
const
;
sal_Bool
IsOptTest7
()
const
;
sal_Bool
IsOptTest8
()
const
;
#endif
#endif
};
};
...
@@ -738,7 +721,6 @@ public:
...
@@ -738,7 +721,6 @@ public:
// Return: gefundene Position, setzt ggf. cHookChar
// Return: gefundene Position, setzt ggf. cHookChar
xub_StrLen
ScanPortionEnd
(
const
xub_StrLen
nStart
,
const
xub_StrLen
nEnd
);
xub_StrLen
ScanPortionEnd
(
const
xub_StrLen
nStart
,
const
xub_StrLen
nEnd
);
// friend ostream &operator<<( ostream &rOS, const SwTxtFormatInfo &rInf );
friend
SvStream
&
operator
<<
(
SvStream
&
rOS
,
const
SwTxtFormatInfo
&
rInf
);
friend
SvStream
&
operator
<<
(
SvStream
&
rOS
,
const
SwTxtFormatInfo
&
rInf
);
inline
void
SetTabOverflow
(
sal_Bool
bOverflow
)
{
bTabOverflow
=
bOverflow
;
}
inline
void
SetTabOverflow
(
sal_Bool
bOverflow
)
{
bTabOverflow
=
bOverflow
;
}
...
...
sw/source/core/text/porlay.hxx
Dosyayı görüntüle @
051e60ff
...
@@ -257,13 +257,6 @@ public:
...
@@ -257,13 +257,6 @@ public:
const
SwLinePortion
*
_pDontConsiderPortion
=
NULL
,
const
SwLinePortion
*
_pDontConsiderPortion
=
NULL
,
const
bool
_bNoFlyCntPorAndLinePor
=
false
)
const
;
const
bool
_bNoFlyCntPorAndLinePor
=
false
)
const
;
#ifdef DBG_UTIL
void
DebugPortions
(
SvStream
&
rOs
,
const
XubString
&
rTxt
,
const
xub_StrLen
nStart
);
//$ ostream
void
dumpLineAsXml
(
xmlTextWriter
*
writer
,
sal_uInt16
&
ofs
,
String
&
aText
);
#endif
OUTPUT_OPERATOR
OUTPUT_OPERATOR
DECL_FIXEDMEMPOOL_NEWDEL
(
SwLineLayout
)
DECL_FIXEDMEMPOOL_NEWDEL
(
SwLineLayout
)
};
};
...
...
sw/source/core/text/txtftn.cxx
Dosyayı görüntüle @
051e60ff
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
#include <breakit.hxx>
#include <breakit.hxx>
#include <com/sun/star/i18n/ScriptType.hdl>
#include <com/sun/star/i18n/ScriptType.hdl>
#include <tabfrm.hxx>
#include <tabfrm.hxx>
//
OD 2004-05-24
#i28701#
// #i28701#
#include <sortedobjs.hxx>
#include <sortedobjs.hxx>
#include "swfont.hxx" // new SwFont
#include "swfont.hxx" // new SwFont
...
@@ -1278,14 +1278,6 @@ xub_StrLen SwTxtFormatter::FormatQuoVadis( const xub_StrLen nOffset )
...
@@ -1278,14 +1278,6 @@ xub_StrLen SwTxtFormatter::FormatQuoVadis( const xub_StrLen nOffset )
// einen kleineren Font eingestellt als der vom QuoVadis-Text ...
// einen kleineren Font eingestellt als der vom QuoVadis-Text ...
CalcAdjustLine
(
pCurr
);
CalcAdjustLine
(
pCurr
);
#ifdef DBG_UTIL
if
(
OPTDBG
(
rInf
)
)
{
// aDbstream << "FormatQuoVadis:" << endl;
// pCurr->DebugPortions( aDbstream, rInf.GetTxt(), nStart );
}
#endif
// Uff...
// Uff...
return
nRet
;
return
nRet
;
}
}
...
...
sw/source/core/text/txtio.cxx
Dosyayı görüntüle @
051e60ff
...
@@ -143,11 +143,6 @@ const char *GetPrepName( const PrepareHint )
...
@@ -143,11 +143,6 @@ const char *GetPrepName( const PrepareHint )
return
0
;
return
0
;
}
}
void
SwLineLayout
::
DebugPortions
(
SvStream
&
,
const
XubString
&
,
//$ ostream
const
xub_StrLen
)
{
}
#else
#else
#include <limits.h>
#include <limits.h>
#include <stdlib.h>
#include <stdlib.h>
...
@@ -240,48 +235,6 @@ const char *GetPrepName( const PrepareHint ePrep )
...
@@ -240,48 +235,6 @@ const char *GetPrepName( const PrepareHint ePrep )
return
(
ppNameArr
[
ePrep
]
);
return
(
ppNameArr
[
ePrep
]
);
}
}
/*************************************************************************
* SwLineLayout::DebugPortions()
*
* DebugPortion() iteriert ueber alle Portions einer Zeile und deckt die
* internen Strukturen auf.
* Im Gegensatz zum Ausgabe-Operator werden auch die Textteile ausgegeben.
*************************************************************************/
void
SwLineLayout
::
DebugPortions
(
SvStream
&
rOs
,
const
XubString
&
/*rTxt*/
,
//$ ostream
const
xub_StrLen
/*nStart*/
)
{
SwLinePortion
*
pPortion2
=
GetPortion
();
xub_StrLen
nPos
=
0
;
MSHORT
nNr
=
0
;
KSHORT
nPrtWidth
,
nLastPrt
;
nPrtWidth
=
nLastPrt
=
0
;
SwLinePortion
::
operator
<<
(
rOs
);
rOs
<<
'\"'
<<
endl
;
while
(
pPortion2
)
{
SwTxtPortion
*
pTxtPor
=
pPortion2
->
InTxtGrp
()
?
(
SwTxtPortion
*
)
pPortion2
:
NULL
;
(
void
)
pTxtPor
;
++
nNr
;
nLastPrt
=
nPrtWidth
;
nPrtWidth
=
nPrtWidth
+
pPortion2
->
PrtWidth
();
rOs
<<
"
\t
Nr:"
<<
nNr
<<
" Pos:"
<<
nPos
<<
" Org:"
<<
nLastPrt
<<
endl
;
rOs
<<
"
\t
"
;
pPortion2
->
operator
<<
(
rOs
);
rOs
<<
endl
;
nPos
=
nPos
+
pPortion2
->
GetLen
();
pPortion2
=
pPortion2
->
GetPortion
();
}
}
SvStream
&
SwLinePortion
::
operator
<<
(
SvStream
&
rOs
)
const
//$ ostream
SvStream
&
SwLinePortion
::
operator
<<
(
SvStream
&
rOs
)
const
//$ ostream
{
{
rOs
<<
" {"
;
rOs
<<
" {"
;
...
...
unusedcode.easy
Dosyayı görüntüle @
051e60ff
...
@@ -652,7 +652,6 @@ SwLRects::Insert(SwLRects const*, unsigned short, unsigned short, unsigned short
...
@@ -652,7 +652,6 @@ SwLRects::Insert(SwLRects const*, unsigned short, unsigned short, unsigned short
SwLRects::Replace(SwLineRect const&, unsigned short)
SwLRects::Replace(SwLineRect const&, unsigned short)
SwLRects::Replace(SwLineRect const*, unsigned short, unsigned short)
SwLRects::Replace(SwLineRect const*, unsigned short, unsigned short)
SwLRects::_ForEach(unsigned short, unsigned short, unsigned char (*)(SwLineRect const&, void*), void*)
SwLRects::_ForEach(unsigned short, unsigned short, unsigned char (*)(SwLineRect const&, void*), void*)
SwLineLayout::DebugPortions(SvStream&, String const&, unsigned short)
SwMailMergeChildWindow::GetChildWindowId()
SwMailMergeChildWindow::GetChildWindowId()
SwModify::GetClientCount() const
SwModify::GetClientCount() const
SwModule::SetCompareMode(SvxCompareMode)
SwModule::SetCompareMode(SvxCompareMode)
...
@@ -704,16 +703,6 @@ SwTableSortBoxes::DeleteAndDestroy(unsigned short, unsigned short)
...
@@ -704,16 +703,6 @@ SwTableSortBoxes::DeleteAndDestroy(unsigned short, unsigned short)
SwTableSortBoxes::Insert(SwTableBox* const&, unsigned short&)
SwTableSortBoxes::Insert(SwTableBox* const&, unsigned short&)
SwTableSortBoxes::Insert(SwTableBox* const*, unsigned short)
SwTableSortBoxes::Insert(SwTableBox* const*, unsigned short)
SwTxtFly::ShowContour(OutputDevice*)
SwTxtFly::ShowContour(OutputDevice*)
SwTxtSizeInfo::IsOptCalm() const
SwTxtSizeInfo::IsOptLow() const
SwTxtSizeInfo::IsOptTest1() const
SwTxtSizeInfo::IsOptTest2() const
SwTxtSizeInfo::IsOptTest3() const
SwTxtSizeInfo::IsOptTest4() const
SwTxtSizeInfo::IsOptTest5() const
SwTxtSizeInfo::IsOptTest6() const
SwTxtSizeInfo::IsOptTest7() const
SwTxtSizeInfo::IsOptTest8() const
SwVbaColumn::calculateAbsoluteColumnWidth(int, com::sun::star::uno::Sequence<com::sun::star::text::TableColumnSeparator> const&, double*)
SwVbaColumn::calculateAbsoluteColumnWidth(int, com::sun::star::uno::Sequence<com::sun::star::text::TableColumnSeparator> const&, double*)
SwVbaColumn::calculateRelativeColumnWidth(double const*, double*, int)
SwVbaColumn::calculateRelativeColumnWidth(double const*, double*, int)
SwVbaStyle::getOOoStyleTypeFromMSWord(int)
SwVbaStyle::getOOoStyleTypeFromMSWord(int)
...
...
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