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
e094ac0f
Kaydet (Commit)
e094ac0f
authored
Eki 18, 2014
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: remaining unused methods
Change-Id: Ie150d2e497053966c5f75cea50c87888fda98659
üst
9e207520
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
0 additions
and
100 deletions
+0
-100
hints.hxx
sw/inc/hints.hxx
+0
-1
hints.cxx
sw/source/core/attr/hints.cxx
+0
-5
laycache.cxx
sw/source/core/layout/laycache.cxx
+0
-63
layhelp.hxx
sw/source/core/layout/layhelp.hxx
+0
-4
inftxt.cxx
sw/source/core/text/inftxt.cxx
+0
-23
inftxt.hxx
sw/source/core/text/inftxt.hxx
+0
-1
unusedcode.easy
unusedcode.easy
+0
-3
No files found.
sw/inc/hints.hxx
Dosyayı görüntüle @
e094ac0f
...
...
@@ -103,7 +103,6 @@ private:
public
:
SwUpdateAttr
(
sal_Int32
nS
,
sal_Int32
nE
,
sal_uInt16
nW
);
SwUpdateAttr
(
sal_Int32
nS
,
sal_Int32
nE
,
sal_uInt16
nW
,
std
::
vector
<
sal_uInt16
>
aW
);
sal_Int32
getStart
()
const
{
...
...
sw/source/core/attr/hints.cxx
Dosyayı görüntüle @
e094ac0f
...
...
@@ -49,11 +49,6 @@ SwUpdateAttr::SwUpdateAttr( sal_Int32 nS, sal_Int32 nE, sal_uInt16 nW )
{
}
SwUpdateAttr
::
SwUpdateAttr
(
sal_Int32
nS
,
sal_Int32
nE
,
sal_uInt16
nW
,
std
::
vector
<
sal_uInt16
>
aW
)
:
SwMsgPoolItem
(
RES_UPDATE_ATTR
),
nStart
(
nS
),
nEnd
(
nE
),
nWhichAttr
(
nW
),
aWhichFmtAttr
(
aW
)
{
}
/** Is sent if reference marks should be updated.
To get the page/chapter number, the frame has to be asked. For that we need
...
...
sw/source/core/layout/laycache.cxx
Dosyayı görüntüle @
e094ac0f
...
...
@@ -992,69 +992,6 @@ void SwLayHelper::_CheckFlyCache( SwPageFrm* pPage )
}
}
/**
* looks for the given text frame in the fly cache and sets
* the position and size, if possible.
* The fly cache is sorted by pages and we start searching with the given page.
* If we found the page number in the fly cache, we set
* the rpPage parameter to the right page, if possible.
*/
bool
SwLayHelper
::
CheckPageFlyCache
(
SwPageFrm
*
&
rpPage
,
SwFlyFrm
*
pFly
)
{
if
(
!
pFly
->
GetAnchorFrm
()
||
!
pFly
->
GetVirtDrawObj
()
||
pFly
->
GetAnchorFrm
()
->
FindFooterOrHeader
()
)
return
false
;
bool
bRet
=
false
;
SwDoc
*
pDoc
=
rpPage
->
GetFmt
()
->
GetDoc
();
SwLayCacheImpl
*
pCache
=
pDoc
->
GetLayoutCache
()
?
pDoc
->
GetLayoutCache
()
->
LockImpl
()
:
NULL
;
if
(
pCache
)
{
sal_uInt16
nPgNum
=
rpPage
->
GetPhyPageNum
();
sal_uInt16
nIdx
=
0
;
sal_uInt16
nCnt
=
pCache
->
GetFlyCount
();
sal_uLong
nOrdNum
=
pFly
->
GetVirtDrawObj
()
->
GetOrdNum
();
SwFlyCache
*
pFlyC
=
0
;
// skip fly frames from pages before the current page
while
(
nIdx
<
nCnt
&&
nPgNum
>
(
pFlyC
=
&
pCache
->
GetFlyCache
(
nIdx
))
->
nPageNum
)
++
nIdx
;
while
(
nIdx
<
nCnt
&&
nOrdNum
!=
(
pFlyC
=
&
pCache
->
GetFlyCache
(
nIdx
))
->
nOrdNum
)
++
nIdx
;
if
(
nIdx
<
nCnt
)
{
SwPageFrm
*
pPage
=
rpPage
;
while
(
pPage
&&
pPage
->
GetPhyPageNum
()
<
pFlyC
->
nPageNum
)
pPage
=
(
SwPageFrm
*
)
pPage
->
GetNext
();
// #i43266# - if the found page is an empty page,
// take the previous one (take next one, if previous one doesn't exists)
if
(
pPage
&&
pPage
->
IsEmptyPage
()
)
{
pPage
=
static_cast
<
SwPageFrm
*>
(
pPage
->
GetPrev
()
?
pPage
->
GetPrev
()
:
pPage
->
GetNext
()
);
}
if
(
pPage
)
{
rpPage
=
pPage
;
pFly
->
Frm
().
Pos
().
X
()
=
pFlyC
->
Left
()
+
pPage
->
Frm
().
Left
();
pFly
->
Frm
().
Pos
().
Y
()
=
pFlyC
->
Top
()
+
pPage
->
Frm
().
Top
();
if
(
pCache
->
IsUseFlyCache
()
)
{
pFly
->
Frm
().
Width
(
pFlyC
->
Width
()
);
pFly
->
Frm
().
Height
(
pFlyC
->
Height
()
);
}
bRet
=
true
;
}
}
pDoc
->
GetLayoutCache
()
->
UnlockImpl
();
}
return
bRet
;
}
SwLayCacheIoImpl
::
SwLayCacheIoImpl
(
SvStream
&
rStrm
,
bool
bWrtMd
)
:
pStream
(
&
rStrm
),
nFlagRecEnd
(
0
),
...
...
sw/source/core/layout/layhelp.hxx
Dosyayı görüntüle @
e094ac0f
...
...
@@ -126,10 +126,6 @@ public:
/// position, if they are in the fly cache.
void
CheckFlyCache
(
SwPageFrm
*
pPage
)
{
if
(
pImpl
&&
nFlyIdx
<
pImpl
->
GetFlyCount
()
)
_CheckFlyCache
(
pPage
);
}
/// Look for this text frame and set it to the right position,
/// if it's in the fly cache.
static
bool
CheckPageFlyCache
(
SwPageFrm
*
&
rpPage
,
SwFlyFrm
*
pFly
);
};
// Contains the data structures that are required to read and write a layout cache.
...
...
sw/source/core/text/inftxt.cxx
Dosyayı görüntüle @
e094ac0f
...
...
@@ -915,29 +915,6 @@ void SwTxtPaintInfo::DrawRect( const SwRect &rRect, bool bNoGraphic,
}
}
void
SwTxtPaintInfo
::
DrawSpecial
(
const
SwLinePortion
&
rPor
,
sal_Unicode
cChar
,
const
Color
&
rColor
)
const
{
if
(
OnWin
()
)
{
sal_uInt16
nOldWidth
=
rPor
.
Width
();
OUString
sChar
(
cChar
);
SwPosSize
aSize
(
GetTxtSize
(
sChar
)
);
((
SwLinePortion
&
)
rPor
).
Width
(
aSize
.
Width
()
);
SwRect
aRect
;
CalcRect
(
rPor
,
&
aRect
);
if
(
aRect
.
HasArea
()
)
{
const
sal_uInt8
nOptions
=
0
;
lcl_DrawSpecial
(
*
this
,
rPor
,
aRect
,
rColor
,
cChar
,
nOptions
);
}
((
SwLinePortion
&
)
rPor
).
Width
(
nOldWidth
);
}
}
void
SwTxtPaintInfo
::
DrawTab
(
const
SwLinePortion
&
rPor
)
const
{
if
(
OnWin
()
)
...
...
sw/source/core/text/inftxt.hxx
Dosyayı görüntüle @
e094ac0f
...
...
@@ -449,7 +449,6 @@ public:
void
DrawRect
(
const
SwRect
&
rRect
,
bool
bNoGraphic
=
false
,
bool
bRetouche
=
true
)
const
;
void
DrawSpecial
(
const
SwLinePortion
&
rPor
,
sal_Unicode
cChar
,
const
Color
&
rColor
)
const
;
void
DrawTab
(
const
SwLinePortion
&
rPor
)
const
;
void
DrawLineBreak
(
const
SwLinePortion
&
rPor
)
const
;
void
DrawRedArrow
(
const
SwLinePortion
&
rPor
)
const
;
...
...
unusedcode.easy
Dosyayı görüntüle @
e094ac0f
...
...
@@ -48,9 +48,6 @@ SvtListener::IsListening(SvtBroadcaster&) const
SvxFontListBox::GetSelectEntry() const
SvxOpenGLObject::getRenderer()
SvxOpenGLObject::setRenderer(IOpenGLRenderer*)
SwLayHelper::CheckPageFlyCache(SwPageFrm*&, SwFlyFrm*)
SwTxtPaintInfo::DrawSpecial(SwLinePortion const&, unsigned short, Color const&) const
SwUpdateAttr::SwUpdateAttr(int, int, unsigned short, std::__debug::vector<unsigned short, std::allocator<unsigned short> >)
Test::testCopyPasteSkipEmptyConditionalFormatting()
Test::testPerf()
Test::testSharedFormulaMoveBlock()
...
...
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