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
fcc2415a
Kaydet (Commit)
fcc2415a
authored
Eki 21, 2015
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: replace boost::ptr_vector with std::vector
Change-Id: I5c011939ec492e0ae2cf136554b8b1f42e1253e9
üst
2f5748af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
gloshdl.cxx
sw/source/uibase/dochdl/gloshdl.cxx
+4
-8
No files found.
sw/source/uibase/dochdl/gloshdl.cxx
Dosyayı görüntüle @
fcc2415a
...
@@ -59,8 +59,6 @@
...
@@ -59,8 +59,6 @@
#include <IDocumentFieldsAccess.hxx>
#include <IDocumentFieldsAccess.hxx>
#include <boost/ptr_container/ptr_vector.hpp>
#include <memory>
#include <memory>
using
namespace
::
com
::
sun
::
star
;
using
namespace
::
com
::
sun
::
star
;
...
@@ -72,6 +70,8 @@ struct TextBlockInfo_Impl
...
@@ -72,6 +70,8 @@ struct TextBlockInfo_Impl
OUString
sTitle
;
OUString
sTitle
;
OUString
sLongName
;
OUString
sLongName
;
OUString
sGroupName
;
OUString
sGroupName
;
TextBlockInfo_Impl
(
OUString
const
&
rTitle
,
OUString
const
&
rLongName
,
OUString
const
&
rGroupName
)
:
sTitle
(
rTitle
),
sLongName
(
rLongName
),
sGroupName
(
rGroupName
)
{}
};
};
// Dialog for edit templates
// Dialog for edit templates
...
@@ -395,7 +395,7 @@ bool SwGlossaryHdl::Expand( const OUString& rShortName,
...
@@ -395,7 +395,7 @@ bool SwGlossaryHdl::Expand( const OUString& rShortName,
SwGlossaries
*
pGlossaries
,
SwGlossaries
*
pGlossaries
,
SwTextBlocks
*
pGlossary
)
SwTextBlocks
*
pGlossary
)
{
{
boost
::
ptr_
vector
<
TextBlockInfo_Impl
>
aFoundArr
;
std
::
vector
<
TextBlockInfo_Impl
>
aFoundArr
;
OUString
aShortName
(
rShortName
);
OUString
aShortName
(
rShortName
);
bool
bCancel
=
false
;
bool
bCancel
=
false
;
// search for text block
// search for text block
...
@@ -424,11 +424,7 @@ bool SwGlossaryHdl::Expand( const OUString& rShortName,
...
@@ -424,11 +424,7 @@ bool SwGlossaryHdl::Expand( const OUString& rShortName,
const
OUString
sShortName
(
pGlossaryList
->
GetBlockShortName
(
i
,
j
));
const
OUString
sShortName
(
pGlossaryList
->
GetBlockShortName
(
i
,
j
));
if
(
rSCmp
.
isEqual
(
rShortName
,
sShortName
))
if
(
rSCmp
.
isEqual
(
rShortName
,
sShortName
))
{
{
TextBlockInfo_Impl
*
pData
=
new
TextBlockInfo_Impl
;
aFoundArr
.
push_back
(
TextBlockInfo_Impl
(
sTitle
,
sLongName
,
sGroupName
));
pData
->
sTitle
=
sTitle
;
pData
->
sLongName
=
sLongName
;
pData
->
sGroupName
=
sGroupName
;
aFoundArr
.
push_back
(
pData
);
}
}
}
}
}
}
...
...
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