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
ba9833a1
Kaydet (Commit)
ba9833a1
authored
Kas 21, 2017
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Keep number format on string cell content Undo, tdf#103234 follow-up
Change-Id: I18c281211e6eeb4816da13972c360df85d577491
üst
f2f0a7c5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
stringutil.hxx
sc/inc/stringutil.hxx
+6
-0
undocell.cxx
sc/source/ui/undo/undocell.cxx
+2
-0
No files found.
sc/inc/stringutil.hxx
Dosyayı görüntüle @
ba9833a1
...
...
@@ -46,6 +46,12 @@ struct SAL_WARN_UNUSED SC_DLLPUBLIC ScSetStringParam
*/
SpecialNumberOnly
,
/**
* Keep an existing number format, do not set Text number format and do
* not set another number format.
*/
Keep
,
/**
* Never set Text number format.
*/
...
...
sc/source/ui/undo/undocell.cxx
Dosyayı görüntüle @
ba9833a1
...
...
@@ -457,6 +457,8 @@ void ScUndoSetCell::SetValue( const ScCellValue& rVal )
{
ScSetStringParam
aParam
;
aParam
.
setTextInput
();
// Undo only cell content, without setting any number format.
aParam
.
meSetTextNumFormat
=
ScSetStringParam
::
Keep
;
rDoc
.
SetString
(
maPos
,
rVal
.
mpString
->
getString
(),
&
aParam
);
}
break
;
...
...
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