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
44266621
Kaydet (Commit)
44266621
authored
Kas 13, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sc: boost::ptr_vector->std::vector<std::unique_ptr>
Change-Id: I4360e3238407d9cc7d664c543868cdb66271dbe8
üst
8f6ecf15
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
fillinfo.cxx
sc/source/core/data/fillinfo.cxx
+6
-4
No files found.
sc/source/core/data/fillinfo.cxx
Dosyayı görüntüle @
44266621
...
...
@@ -42,7 +42,9 @@
#include "cellvalue.hxx"
#include "mtvcellfunc.hxx"
#include <boost/ptr_container/ptr_vector.hpp>
#include <vector>
#include <memory>
#include <o3tl/make_unique.hxx>
const
sal_uInt16
ROWINFO_MAX
=
1024
;
...
...
@@ -677,7 +679,7 @@ void ScDocument::FillInfo(
pCondFormList
->
endRendering
();
// bedingte Formatierung auswerten
::
boost
::
ptr_vector
<
ScPatternAttr
>
aAltPatterns
;
std
::
vector
<
std
::
unique_ptr
<
ScPatternAttr
>
>
aAltPatterns
;
// favour preview over condition
if
(
bAnyCondition
||
bAnyPreview
)
{
...
...
@@ -693,8 +695,8 @@ void ScDocument::FillInfo(
{
if
(
ScStyleSheet
*
pPreviewStyle
=
GetPreviewCellStyle
(
nCol
,
pRowInfo
[
nArrRow
].
nRowNo
,
nTab
)
)
{
aAltPatterns
.
push_back
(
new
ScPatternAttr
(
*
pInfo
->
pPatternAttr
)
);
pModifiedPatt
=
&
aAltPatterns
.
back
();
aAltPatterns
.
push_back
(
o3tl
::
make_unique
<
ScPatternAttr
>
(
*
pInfo
->
pPatternAttr
)
);
pModifiedPatt
=
aAltPatterns
.
back
().
get
();
pModifiedPatt
->
SetStyleSheet
(
pPreviewStyle
);
}
}
...
...
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