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
ac46405c
Kaydet (Commit)
ac46405c
authored
Tem 10, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
-Werror,-Wunused-private-field
Change-Id: Ie3feae1a6bac2e5a51d38fb402525097483313e2
üst
adced867
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
outdev.h
vcl/inc/outdev.h
+2
-3
PhysicalFontCollection.cxx
vcl/source/font/PhysicalFontCollection.cxx
+1
-1
No files found.
vcl/inc/outdev.h
Dosyayı görüntüle @
ac46405c
...
...
@@ -55,12 +55,11 @@ public:
class
ImplGetDevSizeList
{
private
:
OUString
maFontName
;
std
::
vector
<
int
>
maSizeList
;
public
:
ImplGetDevSizeList
(
const
OUString
&
rFontName
)
:
maFontName
(
rFontName
)
{
maSizeList
.
reserve
(
32
);
}
ImplGetDevSizeList
()
{
maSizeList
.
reserve
(
32
);
}
void
Add
(
int
nHeight
)
{
maSizeList
.
push_back
(
nHeight
);
}
int
Count
()
const
{
return
maSizeList
.
size
();
}
int
Get
(
int
nIndex
)
const
{
return
maSizeList
[
nIndex
];
}
...
...
vcl/source/font/PhysicalFontCollection.cxx
Dosyayı görüntüle @
ac46405c
...
...
@@ -983,7 +983,7 @@ ImplGetDevFontList* PhysicalFontCollection::GetDevFontList() const
ImplGetDevSizeList
*
PhysicalFontCollection
::
GetDevSizeList
(
const
OUString
&
rFontName
)
const
{
ImplGetDevSizeList
*
pGetDevSizeList
=
new
ImplGetDevSizeList
(
rFontName
)
;
ImplGetDevSizeList
*
pGetDevSizeList
=
new
ImplGetDevSizeList
;
PhysicalFontFamily
*
pFontFamily
=
FindFontFamily
(
rFontName
);
if
(
pFontFamily
!=
NULL
)
...
...
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