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
d2033373
Kaydet (Commit)
d2033373
authored
Eyl 15, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
survive disable-database-connectivity + docs with embedded database settings
Change-Id: I70c205cbff48844b645ace48bd6e001222f7855e
üst
e20fe337
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
SwXDocumentSettings.cxx
sw/source/uibase/uno/SwXDocumentSettings.cxx
+8
-0
No files found.
sw/source/uibase/uno/SwXDocumentSettings.cxx
Dosyayı görüntüle @
d2033373
...
@@ -17,6 +17,8 @@
...
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
*/
#include <config_features.h>
#include <sal/config.h>
#include <sal/config.h>
#include <utility>
#include <utility>
...
@@ -506,9 +508,11 @@ void SwXDocumentSettings::_setSingleValue( const comphelper::PropertyInfo & rInf
...
@@ -506,9 +508,11 @@ void SwXDocumentSettings::_setSingleValue( const comphelper::PropertyInfo & rInf
break
;
break
;
case
HANDLE_EMBEDDED_DATABASE_NAME
:
case
HANDLE_EMBEDDED_DATABASE_NAME
:
{
{
#if HAVE_FEATURE_DBCONNECTIVITY
OUString
sEmbeddedName
;
OUString
sEmbeddedName
;
if
(
rValue
>>=
sEmbeddedName
)
if
(
rValue
>>=
sEmbeddedName
)
mpDoc
->
GetDBManager
()
->
setEmbeddedName
(
sEmbeddedName
,
*
mpDocSh
);
mpDoc
->
GetDBManager
()
->
setEmbeddedName
(
sEmbeddedName
,
*
mpDocSh
);
#endif
}
}
break
;
break
;
case
HANDLE_SAVE_VERSION_ON_CLOSE
:
case
HANDLE_SAVE_VERSION_ON_CLOSE
:
...
@@ -998,7 +1002,11 @@ void SwXDocumentSettings::_getSingleValue( const comphelper::PropertyInfo & rInf
...
@@ -998,7 +1002,11 @@ void SwXDocumentSettings::_getSingleValue( const comphelper::PropertyInfo & rInf
break
;
break
;
case
HANDLE_EMBEDDED_DATABASE_NAME
:
case
HANDLE_EMBEDDED_DATABASE_NAME
:
{
{
#if HAVE_FEATURE_DBCONNECTIVITY
rValue
<<=
mpDoc
->
GetDBManager
()
->
getEmbeddedName
();
rValue
<<=
mpDoc
->
GetDBManager
()
->
getEmbeddedName
();
#else
rValue
=
uno
::
Any
();
#endif
}
}
break
;
break
;
case
HANDLE_SAVE_VERSION_ON_CLOSE
:
case
HANDLE_SAVE_VERSION_ON_CLOSE
:
...
...
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