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
42232134
Kaydet (Commit)
42232134
authored
May 19, 2014
tarafından
matteocam
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Test on changing background
Change-Id: Id1ad39eee375de229d63e749673021848690e363
üst
1091871d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
editattr.cxx
editeng/source/editeng/editattr.cxx
+1
-1
impedit3.cxx
editeng/source/editeng/impedit3.cxx
+5
-0
No files found.
editeng/source/editeng/editattr.cxx
Dosyayı görüntüle @
42232134
...
...
@@ -219,7 +219,7 @@ void EditCharAttribColor::SetFont( SvxFont& rFont, OutputDevice* )
{
Color
aColor
=
((
const
SvxColorItem
*
)
GetItem
())
->
GetValue
();
rFont
.
SetColor
(
aColor
);
fprintf
(
stderr
,
"Called SetFont
\n
"
);
//fprintf(stderr, "Called SetFont with Color %d\n", aColor.GetColor()
);
}
...
...
editeng/source/editeng/impedit3.cxx
Dosyayı görüntüle @
42232134
...
...
@@ -3698,7 +3698,12 @@ void ImpEditEngine::Paint( ImpEditView* pView, const Rectangle& rRect, OutputDev
sal_uInt8
nColorDiff
=
aFontColor
.
GetColorError
(
aBackgroundColor
);
if
(
nColorDiff
<
8
)
aBackgroundColor
=
aFontColor
.
IsDark
()
?
COL_WHITE
:
COL_BLACK
;
// XXX: BEGIN my changes
aBackgroundColor
=
COL_GRAY
;
pVDev
->
SetBackground
(
aBackgroundColor
);
// END my changes
//pVDev->SetBackground( aBackgroundColor ); // original code
}
bool
bVDevValid
=
true
;
...
...
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