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
e85130f7
Kaydet (Commit)
e85130f7
authored
Mar 02, 2012
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
unofield.cxx: fix indentation a little
üst
e3dfae07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
12 deletions
+13
-12
unofield.cxx
sw/source/core/unocore/unofield.cxx
+13
-12
No files found.
sw/source/core/unocore/unofield.cxx
Dosyayı görüntüle @
e85130f7
...
...
@@ -1878,7 +1878,7 @@ void SwXTextField::setPropertyValue(const OUString& rPropertyName, const uno::An
if
(
pField
)
{
//
Sonderbehandlung Serienbrieffeld
//
special treatment for mail merge fields
sal_uInt16
nWhich
=
pField
->
Which
();
if
(
RES_DBFLD
==
nWhich
&&
(
rPropertyName
.
equalsAsciiL
(
SW_PROP_NAME
(
UNO_NAME_DATA_BASE_NAME
))
||
...
...
@@ -1886,8 +1886,8 @@ void SwXTextField::setPropertyValue(const OUString& rPropertyName, const uno::An
rPropertyName
.
equalsAsciiL
(
SW_PROP_NAME
(
UNO_NAME_DATA_TABLE_NAME
))
||
rPropertyName
.
equalsAsciiL
(
SW_PROP_NAME
(
UNO_NAME_DATA_COLUMN_NAME
))))
{
// h
ier muss ein neuer Feldtyp angelegt werden und
//
das Feld an den neuen Typ umgehaengt werden
// h
ere a new field type must be created and the field must
//
be registered at the new type
OSL_FAIL
(
"not implemented"
);
}
else
...
...
@@ -1906,11 +1906,12 @@ void SwXTextField::setPropertyValue(const OUString& rPropertyName, const uno::An
}
pField
->
PutValue
(
rValue
,
pEntry
->
nWID
);
//#i100374# notify SwPostIt about new field content
if
(
RES_POSTITFLD
==
nWhich
&&
pFmtFld
)
{
const_cast
<
SwFmtFld
*>
(
pFmtFld
)
->
Broadcast
(
SwFmtFldHint
(
0
,
SWFMTFLD_CHANGED
));
}
//#i100374# notify SwPostIt about new field content
if
(
RES_POSTITFLD
==
nWhich
&&
pFmtFld
)
{
const_cast
<
SwFmtFld
*>
(
pFmtFld
)
->
Broadcast
(
SwFmtFldHint
(
0
,
SWFMTFLD_CHANGED
));
}
// fdo#42073 notify SwTxtFld about changes of the expanded string
if
(
pFmtFld
->
GetTxtFld
())
...
...
@@ -1918,10 +1919,10 @@ void SwXTextField::setPropertyValue(const OUString& rPropertyName, const uno::An
pFmtFld
->
GetTxtFld
()
->
Expand
();
}
//#i100374# changing a document field should set the modify flag
SwDoc
*
pDoc
=
GetDoc
();
if
(
pDoc
)
pDoc
->
SetModified
();
//#i100374# changing a document field should set the modify flag
SwDoc
*
pDoc
=
GetDoc
();
if
(
pDoc
)
pDoc
->
SetModified
();
}
else
if
(
m_pProps
)
...
...
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