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
06c8b802
Kaydet (Commit)
06c8b802
authored
May 18, 2018
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw_redlinehide: trivial conversions callnk.cxx,swcrsr.cxx,trvlfnfl.cxx
Change-Id: Ice8d5b3356ac8fa84439eaf0b785ae56c2de9274
üst
845a6570
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
8 deletions
+13
-8
callnk.cxx
sw/source/core/crsr/callnk.cxx
+4
-1
swcrsr.cxx
sw/source/core/crsr/swcrsr.cxx
+5
-2
trvlfnfl.cxx
sw/source/core/crsr/trvlfnfl.cxx
+4
-5
No files found.
sw/source/core/crsr/callnk.cxx
Dosyayı görüntüle @
06c8b802
...
@@ -227,9 +227,12 @@ long SwCallLink::getLayoutFrame( const SwRootFrame* pRoot, SwTextNode const & rN
...
@@ -227,9 +227,12 @@ long SwCallLink::getLayoutFrame( const SwRootFrame* pRoot, SwTextNode const & rN
if
(
pFrame
&&
!
pFrame
->
IsHiddenNow
()
)
if
(
pFrame
&&
!
pFrame
->
IsHiddenNow
()
)
{
{
if
(
pFrame
->
HasFollow
()
)
if
(
pFrame
->
HasFollow
()
)
{
TextFrameIndex
const
nPos
(
pFrame
->
MapModelToView
(
&
rNd
,
nCntPos
));
while
(
nullptr
!=
(
pNext
=
pFrame
->
GetFollow
()
)
&&
while
(
nullptr
!=
(
pNext
=
pFrame
->
GetFollow
()
)
&&
n
CntPos
>=
pNext
->
GetOfst
()
)
n
Pos
>=
pNext
->
GetOfst
()
)
pFrame
=
pNext
;
pFrame
=
pNext
;
}
return
pFrame
->
getFrameArea
().
Left
();
return
pFrame
->
getFrameArea
().
Left
();
}
}
...
...
sw/source/core/crsr/swcrsr.cxx
Dosyayı görüntüle @
06c8b802
...
@@ -1581,9 +1581,12 @@ SwCursor::DoSetBidiLevelLeftRight(
...
@@ -1581,9 +1581,12 @@ SwCursor::DoSetBidiLevelLeftRight(
{
{
sal_uInt8
nCursorLevel
=
GetCursorBidiLevel
();
sal_uInt8
nCursorLevel
=
GetCursorBidiLevel
();
bool
bForward
=
!
io_rbLeft
;
bool
bForward
=
!
io_rbLeft
;
const_cast
<
SwTextFrame
*>
(
static_cast
<
const
SwTextFrame
*>
(
pSttFrame
))
->
PrepareVisualMove
(
nPos
,
nCursorLevel
,
SwTextFrame
*
const
pTF
(
const_cast
<
SwTextFrame
*>
(
static_cast
<
const
SwTextFrame
*>
(
pSttFrame
)));
TextFrameIndex
nTFIndex
(
pTF
->
MapModelToViewPos
(
*
GetPoint
()));
pTF
->
PrepareVisualMove
(
nTFIndex
,
nCursorLevel
,
bForward
,
bInsertCursor
);
bForward
,
bInsertCursor
);
rIdx
=
nPos
;
*
GetPoint
()
=
pTF
->
MapViewToModelPos
(
nTFIndex
)
;
SetCursorBidiLevel
(
nCursorLevel
);
SetCursorBidiLevel
(
nCursorLevel
);
io_rbLeft
=
!
bForward
;
io_rbLeft
=
!
bForward
;
}
}
...
...
sw/source/core/crsr/trvlfnfl.cxx
Dosyayı görüntüle @
06c8b802
...
@@ -100,11 +100,10 @@ bool SwCursorShell::GotoFootnoteText()
...
@@ -100,11 +100,10 @@ bool SwCursorShell::GotoFootnoteText()
(
pFrame
)
->
ContainsContent
();
(
pFrame
)
->
ContainsContent
();
if
(
pCnt
)
if
(
pCnt
)
{
{
const
SwContentNode
*
pNode
=
pCnt
->
GetNode
();
SwTextFrame
const
*
const
pTF
(
GetCursor_
()
->
GetPoint
()
->
nNode
=
*
pNode
;
static_cast
<
const
SwTextFrame
*>
(
pCnt
));
GetCursor_
()
->
GetPoint
()
->
nContent
.
Assign
(
*
GetCursor_
()
->
GetPoint
()
=
const_cast
<
SwContentNode
*>
(
pNode
),
pTF
->
MapViewToModelPos
(
pTF
->
GetOfst
());
static_cast
<
const
SwTextFrame
*>
(
pCnt
)
->
GetOfst
()
);
UpdateCursor
(
SwCursorShell
::
SCROLLWIN
|
UpdateCursor
(
SwCursorShell
::
SCROLLWIN
|
SwCursorShell
::
CHKRANGE
|
SwCursorShell
::
READONLY
);
SwCursorShell
::
CHKRANGE
|
SwCursorShell
::
READONLY
);
bRet
=
true
;
bRet
=
true
;
...
...
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