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
516d3007
Kaydet (Commit)
516d3007
authored
May 08, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:staticmethods
Change-Id: I0041724d340bf75a184910805f7f927efb3b2131
üst
7fabc230
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dbmgr.hxx
sw/inc/dbmgr.hxx
+1
-1
doc.cxx
sw/source/core/doc/doc.cxx
+1
-1
No files found.
sw/inc/dbmgr.hxx
Dosyayı görüntüle @
516d3007
...
@@ -371,7 +371,7 @@ public:
...
@@ -371,7 +371,7 @@ public:
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>
*
pSettings
=
0
);
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>
*
pSettings
=
0
);
/// Load the embedded data source of the document and also register it.
/// Load the embedded data source of the document and also register it.
void
LoadAndRegisterEmbeddedDataSource
(
const
SwDBData
&
rData
,
const
SwDocShell
&
rDocShell
);
static
void
LoadAndRegisterEmbeddedDataSource
(
const
SwDBData
&
rData
,
const
SwDocShell
&
rDocShell
);
/** try to get the data source from the given connection through the XChild interface.
/** try to get the data source from the given connection through the XChild interface.
If this is not possible, the data source will be created through its name.
If this is not possible, the data source will be created through its name.
...
...
sw/source/core/doc/doc.cxx
Dosyayı görüntüle @
516d3007
...
@@ -495,7 +495,7 @@ void SwDoc::ChgDBData(const SwDBData& rNewData)
...
@@ -495,7 +495,7 @@ void SwDoc::ChgDBData(const SwDBData& rNewData)
if
(
rNewData
!=
maDBData
)
if
(
rNewData
!=
maDBData
)
{
{
if
(
maDBData
.
sEmbeddedName
!=
rNewData
.
sEmbeddedName
&&
GetDocShell
())
if
(
maDBData
.
sEmbeddedName
!=
rNewData
.
sEmbeddedName
&&
GetDocShell
())
mpDBManager
->
LoadAndRegisterEmbeddedDataSource
(
rNewData
,
*
GetDocShell
());
SwDBManager
::
LoadAndRegisterEmbeddedDataSource
(
rNewData
,
*
GetDocShell
());
maDBData
=
rNewData
;
maDBData
=
rNewData
;
getIDocumentState
().
SetModified
();
getIDocumentState
().
SetModified
();
...
...
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