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
e68c18f1
Kaydet (Commit)
e68c18f1
authored
Haz 17, 2014
tarafından
matteocam
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed assertion in EditCharAttribBackgroundColor
Change-Id: Ic9b41eed686ca8bf07c8e3e1555fc6953093a2d4
üst
48647d73
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
editattr.cxx
editeng/source/editeng/editattr.cxx
+5
-6
unoshap2.cxx
svx/source/unodraw/unoshap2.cxx
+1
-1
No files found.
editeng/source/editeng/editattr.cxx
Dosyayı görüntüle @
e68c18f1
...
...
@@ -133,8 +133,8 @@ void EditCharAttribUnderline::SetFont( SvxFont& rFont, OutputDevice* pOutDev )
rFont
.
SetUnderline
(
(
FontUnderline
)((
const
SvxUnderlineItem
*
)
GetItem
())
->
GetValue
()
);
/* FIXME(matteocam) */
rFont
.
SetFillColor
(
aColor
);
// XXX: alone it works but it set it white (vcl causing troubes?)
rFont
.
SetTransparent
(
false
);
// XXX: will this be enough?
rFont
.
SetFillColor
(
aColor
);
rFont
.
SetTransparent
(
false
);
//if (pOutDev)
// pOutDev->SetTextFillColor(aColor); // this doesn't work either
// end FIXME
...
...
@@ -241,15 +241,14 @@ EditCharAttribBackgroundColor::EditCharAttribBackgroundColor(
sal_uInt16
_nEnd
)
:
EditCharAttrib
(
rAttr
,
_nStart
,
_nEnd
)
{
DBG_ASSERT
(
rAttr
.
Which
()
==
EE_CHAR_BKGCOLOR
,
"Not a Back
ground
Color attribute!"
);
DBG_ASSERT
(
rAttr
.
Which
()
==
EE_CHAR_BKGCOLOR
,
"Not a BackColor attribute!"
);
}
void
EditCharAttribBackgroundColor
::
SetFont
(
SvxFont
&
rFont
,
OutputDevice
*
)
{
#define BREAK_BKG_COLOR_SET_FONT 0
assert
(
BREAK_BKG_COLOR_SET_FONT
);
// XXX: checking if this is being called // FIXME(matteocam)
Color
aColor
=
((
const
SvxBackgroundColorItem
*
)
GetItem
())
->
GetValue
();
rFont
.
SetFillColor
(
aColor
);
// XXX: Is it SetFillColor we want?
rFont
.
SetFillColor
(
aColor
);
rFont
.
SetTransparent
(
false
);
}
...
...
svx/source/unodraw/unoshap2.cxx
Dosyayı görüntüle @
e68c18f1
...
...
@@ -680,7 +680,7 @@ SvxShapeControlPropertyMapping[] =
{
RTL_CONSTASCII_STRINGPARAM
(
"CharKerning"
),
RTL_CONSTASCII_STRINGPARAM
(
"FontKerning"
)
},
{
RTL_CONSTASCII_STRINGPARAM
(
"CharWordMode"
),
RTL_CONSTASCII_STRINGPARAM
(
"FontWordLineMode"
)
},
{
RTL_CONSTASCII_STRINGPARAM
(
UNO_NAME_EDIT_CHAR_COLOR
),
RTL_CONSTASCII_STRINGPARAM
(
"TextColor"
)
},
// { RTL_CONSTASCII_STRINGPARAM("CharBackColor") },
// { RTL_CONSTASCII_STRINGPARAM("CharBackColor") },
// FIXME(matteocam)
{
RTL_CONSTASCII_STRINGPARAM
(
"CharRelief"
),
RTL_CONSTASCII_STRINGPARAM
(
"FontRelief"
)
},
{
RTL_CONSTASCII_STRINGPARAM
(
"CharUnderlineColor"
),
RTL_CONSTASCII_STRINGPARAM
(
"TextLineColor"
)
},
{
RTL_CONSTASCII_STRINGPARAM
(
UNO_NAME_EDIT_PARA_ADJUST
),
RTL_CONSTASCII_STRINGPARAM
(
"Align"
)
},
...
...
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