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
0f884b27
Kaydet (Commit)
0f884b27
authored
May 27, 2014
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
let SwTextBoxHelper::findTextBoxes() take a const SwDoc
Change-Id: Icb1540b93f4117999b755d4d5fd387f1228250aa
üst
4721729f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
textboxhelper.hxx
sw/inc/textboxhelper.hxx
+1
-1
textboxhelper.cxx
sw/source/core/doc/textboxhelper.cxx
+3
-3
No files found.
sw/inc/textboxhelper.hxx
Dosyayı görüntüle @
0f884b27
...
...
@@ -41,7 +41,7 @@ public:
static
SwFrmFmt
*
findTextBox
(
SwFrmFmt
*
pShape
);
/// Look up TextFrames in a document, which are in fact TextBoxes.
static
std
::
list
<
SwFrmFmt
*>
findTextBoxes
(
SwDoc
*
pDoc
);
static
std
::
list
<
SwFrmFmt
*>
findTextBoxes
(
const
SwDoc
*
pDoc
);
/// Count number of shapes in the document, excluding TextBoxes.
static
sal_Int32
getCount
(
SdrPage
*
pPage
,
std
::
list
<
SwFrmFmt
*>&
rTextBoxes
);
/// Get a shape by index, excluding TextBoxes.
...
...
sw/source/core/doc/textboxhelper.cxx
Dosyayı görüntüle @
0f884b27
...
...
@@ -83,12 +83,12 @@ void SwTextBoxHelper::destroy(SwFrmFmt* pShape)
}
}
std
::
list
<
SwFrmFmt
*>
SwTextBoxHelper
::
findTextBoxes
(
SwDoc
*
pDoc
)
std
::
list
<
SwFrmFmt
*>
SwTextBoxHelper
::
findTextBoxes
(
const
SwDoc
*
pDoc
)
{
std
::
list
<
SwFrmFmt
*>
aRet
;
SwFrmFmts
&
rSpzFrmFmts
=
*
pDoc
->
GetSpzFrmFmts
();
for
(
SwFrmFmts
::
iterator
it
=
rSpzFrmFmts
.
begin
();
it
!=
rSpzFrmFmts
.
end
();
++
it
)
const
SwFrmFmts
&
rSpzFrmFmts
=
*
pDoc
->
GetSpzFrmFmts
();
for
(
SwFrmFmts
::
const_
iterator
it
=
rSpzFrmFmts
.
begin
();
it
!=
rSpzFrmFmts
.
end
();
++
it
)
{
SwFrmFmt
*
pTextBox
=
findTextBox
(
*
it
);
if
(
pTextBox
)
...
...
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