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
88761228
Kaydet (Commit)
88761228
authored
Ock 08, 2016
tarafından
Jan-Marek Glogowski
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
MM: some assertion on MM input
Change-Id: Id29ede49acf86ad6109eab88fbae5d9bbb2d8720
üst
d9702989
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
+17
-3
dbmgr.hxx
sw/inc/dbmgr.hxx
+4
-2
dbmgr.cxx
sw/source/uibase/dbui/dbmgr.cxx
+13
-1
No files found.
sw/inc/dbmgr.hxx
Dosyayı görüntüle @
88761228
...
...
@@ -182,8 +182,10 @@ struct SwMergeDescriptor
bPrintAsync
(
false
),
bCreateSingleFile
(
false
),
pMailMergeConfigItem
(
nullptr
)
{}
{
if
(
nType
==
DBMGR_MERGE_SHELL
)
bCreateSingleFile
=
true
;
}
};
struct
SwDBManager_Impl
;
...
...
sw/source/uibase/dbui/dbmgr.cxx
Dosyayı görüntüle @
88761228
...
...
@@ -950,7 +950,19 @@ bool SwDBManager::MergeMailFiles(SwWrtShell* pSourceShell,
//check if the doc is synchronized and contains at least one linked section
const
bool
bSynchronizedDoc
=
pSourceShell
->
IsLabelDoc
()
&&
pSourceShell
->
GetSectionFormatCount
()
>
1
;
const
bool
bNeedsTempFiles
=
(
bMT_EMAIL
||
bMT_FILE
);
const
bool
bCreateSingleFile
=
rMergeDescriptor
.
bCreateSingleFile
;
bool
bCheckSingleFile_
=
rMergeDescriptor
.
bCreateSingleFile
;
if
(
bMT_EMAIL
)
{
assert
(
bMT_EMAIL
&&
!
bCheckSingleFile_
);
bCheckSingleFile_
=
false
;
}
else
if
(
bMT_SHELL
)
{
assert
(
bMT_SHELL
&&
bCheckSingleFile_
);
bCheckSingleFile_
=
true
;
}
const
bool
bCreateSingleFile
=
bCheckSingleFile_
;
// Setup for dumping debugging documents
static
const
char
*
sMaxDumpDocs
=
nullptr
;
...
...
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