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
73590b75
Kaydet (Commit)
73590b75
authored
Eyl 26, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1241340 Unused value
Change-Id: I5fc73cfab0295cb2d2fd1f895bf2974c473ea30e
üst
d541a89c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
crsrsh.cxx
sw/source/core/crsr/crsrsh.cxx
+6
-3
No files found.
sw/source/core/crsr/crsrsh.cxx
Dosyayı görüntüle @
73590b75
...
@@ -1327,17 +1327,20 @@ void SwCrsrShell::UpdateCrsrPos()
...
@@ -1327,17 +1327,20 @@ void SwCrsrShell::UpdateCrsrPos()
}
}
// #i65475# - if Point/Mark in hidden sections, move them out
// #i65475# - if Point/Mark in hidden sections, move them out
static
void
lcl_CheckHiddenSection
(
SwNodeIndex
&
rIdx
)
static
bool
lcl_CheckHiddenSection
(
SwNodeIndex
&
rIdx
)
{
{
bool
bOk
=
true
;
const
SwSectionNode
*
pSectNd
=
rIdx
.
GetNode
().
FindSectionNode
();
const
SwSectionNode
*
pSectNd
=
rIdx
.
GetNode
().
FindSectionNode
();
if
(
pSectNd
&&
pSectNd
->
GetSection
().
IsHiddenFlag
()
)
if
(
pSectNd
&&
pSectNd
->
GetSection
().
IsHiddenFlag
()
)
{
{
SwNodeIndex
aTmp
(
*
pSectNd
);
SwNodeIndex
aTmp
(
*
pSectNd
);
const
SwNode
*
pFrmNd
=
const
SwNode
*
pFrmNd
=
rIdx
.
GetNodes
().
FindPrvNxtFrmNode
(
aTmp
,
pSectNd
->
EndOfSectionNode
()
);
rIdx
.
GetNodes
().
FindPrvNxtFrmNode
(
aTmp
,
pSectNd
->
EndOfSectionNode
()
);
SAL_WARN_IF
(
!
pFrmNd
,
"sw"
,
"found no Node with Frames"
);
bOk
=
pFrmNd
!=
NULL
;
SAL_WARN_IF
(
!
bOk
,
"sw"
,
"found no Node with Frames"
);
rIdx
=
aTmp
;
rIdx
=
aTmp
;
}
}
return
bOk
;
}
}
/// Try to set the cursor to the next visible content node.
/// Try to set the cursor to the next visible content node.
...
...
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