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
75ea03d8
Kaydet (Commit)
75ea03d8
authored
Haz 04, 2014
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix indentation
Change-Id: Ie4609df2ae19c92d844c0f0ecf7c67d23c8baeba
üst
44deb285
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
21 deletions
+21
-21
nbdtmg.cxx
svx/source/sidebar/nbdtmg.cxx
+21
-21
No files found.
svx/source/sidebar/nbdtmg.cxx
Dosyayı görüntüle @
75ea03d8
...
...
@@ -1771,30 +1771,30 @@ bool OutlineTypeMgr::ApplyNumRule(SvxNumRule& aNum, sal_uInt16 nIndex, sal_uInt1
if
(
pLevelSettings
->
sBulletFont
.
getLength
()
&&
pLevelSettings
->
sBulletFont
.
compareTo
(
rActBulletFont
.
GetName
()))
{
//search for the font
if
(
!
pList
)
{
SfxObjectShell
*
pCurDocShell
=
SfxObjectShell
::
Current
();
const
SvxFontListItem
*
pFontListItem
=
(
const
SvxFontListItem
*
)
pCurDocShell
->
GetItem
(
SID_ATTR_CHAR_FONTLIST
);
pList
=
pFontListItem
?
pFontListItem
->
GetFontList
()
:
0
;
}
if
(
pList
&&
pList
->
IsAvailable
(
pLevelSettings
->
sBulletFont
)
)
{
//search for the font
if
(
!
pList
)
{
SfxObjectShell
*
pCurDocShell
=
SfxObjectShell
::
Current
();
const
SvxFontListItem
*
pFontListItem
=
(
const
SvxFontListItem
*
)
pCurDocShell
->
GetItem
(
SID_ATTR_CHAR_FONTLIST
);
pList
=
pFontListItem
?
pFontListItem
->
GetFontList
()
:
0
;
}
if
(
pList
&&
pList
->
IsAvailable
(
pLevelSettings
->
sBulletFont
)
)
{
FontInfo
aInfo
=
pList
->
Get
(
pLevelSettings
->
sBulletFont
,
WEIGHT_NORMAL
,
ITALIC_NONE
);
Font
aFont
(
aInfo
);
aFmt
.
SetBulletFont
(
&
aFont
);
}
else
{
//if it cannot be found then create a new one
Font
aCreateFont
(
pLevelSettings
->
sBulletFont
,
OUString
(),
Size
(
0
,
14
)
);
aCreateFont
.
SetCharSet
(
RTL_TEXTENCODING_DONTKNOW
);
aCreateFont
.
SetFamily
(
FAMILY_DONTKNOW
);
aCreateFont
.
SetPitch
(
PITCH_DONTKNOW
);
aCreateFont
.
SetWeight
(
WEIGHT_DONTKNOW
);
aCreateFont
.
SetTransparent
(
true
);
aFmt
.
SetBulletFont
(
&
aCreateFont
);
}
}
else
{
//if it cannot be found then create a new one
Font
aCreateFont
(
pLevelSettings
->
sBulletFont
,
OUString
(),
Size
(
0
,
14
)
);
aCreateFont
.
SetCharSet
(
RTL_TEXTENCODING_DONTKNOW
);
aCreateFont
.
SetFamily
(
FAMILY_DONTKNOW
);
aCreateFont
.
SetPitch
(
PITCH_DONTKNOW
);
aCreateFont
.
SetWeight
(
WEIGHT_DONTKNOW
);
aCreateFont
.
SetTransparent
(
true
);
aFmt
.
SetBulletFont
(
&
aCreateFont
);
}
}
else
aFmt
.
SetBulletFont
(
&
rActBulletFont
);
...
...
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