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
81ca9efb
Kaydet (Commit)
81ca9efb
authored
Haz 01, 2018
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw_redlinehide: trivial GetNode() conversion in draw/
Change-Id: I660953a6e101aae0f6dad38b74d0a5fa8f254221
üst
b6912750
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
+7
-9
dflyobj.cxx
sw/source/core/draw/dflyobj.cxx
+3
-6
dview.cxx
sw/source/core/draw/dview.cxx
+4
-3
No files found.
sw/source/core/draw/dflyobj.cxx
Dosyayı görüntüle @
81ca9efb
...
@@ -362,14 +362,11 @@ bool SwVirtFlyDrawObj::ContainsSwGrfNode() const
...
@@ -362,14 +362,11 @@ bool SwVirtFlyDrawObj::ContainsSwGrfNode() const
if
(
nullptr
!=
pFlyFrame
&&
pFlyFrame
->
Lower
()
&&
pFlyFrame
->
Lower
()
->
IsNoTextFrame
())
if
(
nullptr
!=
pFlyFrame
&&
pFlyFrame
->
Lower
()
&&
pFlyFrame
->
Lower
()
->
IsNoTextFrame
())
{
{
const
Sw
ContentFrame
*
pCntFr
(
static_cast
<
const
SwConten
tFrame
*>
(
pFlyFrame
->
Lower
()));
const
Sw
NoTextFrame
*
const
pNTF
(
static_cast
<
const
SwNoTex
tFrame
*>
(
pFlyFrame
->
Lower
()));
if
(
nullptr
!=
pCntFr
)
const
SwGrfNode
*
const
pGrfNd
(
pNTF
->
GetNode
()
->
GetGrfNode
());
{
const
SwGrfNode
*
pGrfNd
(
pCntFr
->
GetNode
()
->
GetGrfNode
());
return
nullptr
!=
pGrfNd
;
return
nullptr
!=
pGrfNd
;
}
}
}
return
false
;
return
false
;
...
...
sw/source/core/draw/dview.cxx
Dosyayı görüntüle @
81ca9efb
...
@@ -31,6 +31,7 @@
...
@@ -31,6 +31,7 @@
#include <pagefrm.hxx>
#include <pagefrm.hxx>
#include <rootfrm.hxx>
#include <rootfrm.hxx>
#include <cntfrm.hxx>
#include <cntfrm.hxx>
#include <notxtfrm.hxx>
#include <flyfrm.hxx>
#include <flyfrm.hxx>
#include <frmfmt.hxx>
#include <frmfmt.hxx>
#include <dflyobj.hxx>
#include <dflyobj.hxx>
...
@@ -832,9 +833,9 @@ void SwDrawView::CheckPossibilities()
...
@@ -832,9 +833,9 @@ void SwDrawView::CheckPossibilities()
pFrame
=
pFly
->
GetAnchorFrame
();
pFrame
=
pFly
->
GetAnchorFrame
();
if
(
pFly
->
Lower
()
&&
pFly
->
Lower
()
->
IsNoTextFrame
()
)
if
(
pFly
->
Lower
()
&&
pFly
->
Lower
()
->
IsNoTextFrame
()
)
{
{
const
Sw
ContentFrame
*
pCntFr
(
static_cast
<
const
SwConten
tFrame
*>
(
pFly
->
Lower
()));
const
Sw
NoTextFrame
*
const
pNTF
(
static_cast
<
const
SwNoTex
tFrame
*>
(
pFly
->
Lower
()));
const
SwOLENode
*
pOLENd
=
pCntFr
->
GetNode
()
->
GetOLENode
();
const
SwOLENode
*
const
pOLENd
=
pNTF
->
GetNode
()
->
GetOLENode
();
const
SwGrfNode
*
pGrfNd
=
pCntFr
->
GetNode
()
->
GetGrfNode
();
const
SwGrfNode
*
const
pGrfNd
=
pNTF
->
GetNode
()
->
GetGrfNode
();
if
(
pOLENd
)
if
(
pOLENd
)
{
{
...
...
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