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
43135665
Kaydet (Commit)
43135665
authored
Haz 10, 2013
tarafından
Fridrich Štrba
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
mingw64: use integers able to contain a size in svtools
Change-Id: Id5505f75a2331be682b74d085a7959fc4bf07df8
üst
378b2522
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
12 deletions
+12
-12
ctrltool.hxx
include/svtools/ctrltool.hxx
+4
-4
ctrlbox.cxx
svtools/source/control/ctrlbox.cxx
+2
-2
ctrltool.cxx
svtools/source/control/ctrltool.cxx
+4
-4
stdmenu.cxx
svtools/source/control/stdmenu.cxx
+2
-2
No files found.
include/svtools/ctrltool.hxx
Dosyayı görüntüle @
43135665
...
@@ -121,7 +121,7 @@ FontList::GetStyleName()
...
@@ -121,7 +121,7 @@ FontList::GetStyleName()
--------------------------------------------------------------------------
--------------------------------------------------------------------------
const
long
* FontList::GetSizeAry( const FontInfo& rInfo ) const;
const
sal_IntPtr
* FontList::GetSizeAry( const FontInfo& rInfo ) const;
Diese Methode liefert zum uebergebenen Font die vorhandenen Groessen.
Diese Methode liefert zum uebergebenen Font die vorhandenen Groessen.
Falls es sich dabei um einen skalierbaren Font handelt, werden Standard-
Falls es sich dabei um einen skalierbaren Font handelt, werden Standard-
...
@@ -158,7 +158,7 @@ private:
...
@@ -158,7 +158,7 @@ private:
OUString
maBoldItalic
;
OUString
maBoldItalic
;
OUString
maBlack
;
OUString
maBlack
;
OUString
maBlackItalic
;
OUString
maBlackItalic
;
long
*
mpSizeAry
;
sal_IntPtr
*
mpSizeAry
;
OutputDevice
*
mpDev
;
OutputDevice
*
mpDev
;
OutputDevice
*
mpDev2
;
OutputDevice
*
mpDev2
;
boost
::
ptr_vector
<
ImplFontListNameInfo
>
maEntries
;
boost
::
ptr_vector
<
ImplFontListNameInfo
>
maEntries
;
...
@@ -203,8 +203,8 @@ public:
...
@@ -203,8 +203,8 @@ public:
sal_Handle
GetNextFontInfo
(
sal_Handle
hFontInfo
)
const
;
sal_Handle
GetNextFontInfo
(
sal_Handle
hFontInfo
)
const
;
const
FontInfo
&
GetFontInfo
(
sal_Handle
hFontInfo
)
const
;
const
FontInfo
&
GetFontInfo
(
sal_Handle
hFontInfo
)
const
;
const
long
*
GetSizeAry
(
const
FontInfo
&
rInfo
)
const
;
const
sal_IntPtr
*
GetSizeAry
(
const
FontInfo
&
rInfo
)
const
;
static
const
long
*
GetStdSizeAry
();
static
const
sal_IntPtr
*
GetStdSizeAry
();
private
:
private
:
FontList
(
const
FontList
&
);
FontList
(
const
FontList
&
);
...
...
svtools/source/control/ctrlbox.cxx
Dosyayı görüntüle @
43135665
...
@@ -1809,8 +1809,8 @@ void FontSizeBox::Fill( const FontInfo* pInfo, const FontList* pList )
...
@@ -1809,8 +1809,8 @@ void FontSizeBox::Fill( const FontInfo* pInfo, const FontList* pList )
return
;
return
;
// query font sizes
// query font sizes
const
long
*
pTempAry
;
const
sal_IntPtr
*
pTempAry
;
const
long
*
pAry
=
0
;
const
sal_IntPtr
*
pAry
=
0
;
if
(
pInfo
)
if
(
pInfo
)
{
{
...
...
svtools/source/control/ctrltool.cxx
Dosyayı görüntüle @
43135665
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
// =======================================================================
// =======================================================================
// Standard Fontgroessen fuer scalierbare Fonts
// Standard Fontgroessen fuer scalierbare Fonts
static
const
long
aStdSizeAry
[]
=
static
const
sal_IntPtr
aStdSizeAry
[]
=
{
{
60
,
60
,
70
,
70
,
...
@@ -770,7 +770,7 @@ const FontInfo& FontList::GetFontInfo( sal_Handle hFontInfo ) const
...
@@ -770,7 +770,7 @@ const FontInfo& FontList::GetFontInfo( sal_Handle hFontInfo ) const
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
const
long
*
FontList
::
GetSizeAry
(
const
FontInfo
&
rInfo
)
const
const
sal_IntPtr
*
FontList
::
GetSizeAry
(
const
FontInfo
&
rInfo
)
const
{
{
// Size-Array vorher loeschen
// Size-Array vorher loeschen
if
(
mpSizeAry
)
if
(
mpSizeAry
)
...
@@ -802,7 +802,7 @@ const long* FontList::GetSizeAry( const FontInfo& rInfo ) const
...
@@ -802,7 +802,7 @@ const long* FontList::GetSizeAry( const FontInfo& rInfo ) const
sal_uInt16
i
;
sal_uInt16
i
;
sal_uInt16
nRealCount
=
0
;
sal_uInt16
nRealCount
=
0
;
long
nOldHeight
=
0
;
long
nOldHeight
=
0
;
((
FontList
*
)
this
)
->
mpSizeAry
=
new
long
[
nDevSizeCount
+
1
];
((
FontList
*
)
this
)
->
mpSizeAry
=
new
sal_IntPtr
[
nDevSizeCount
+
1
];
for
(
i
=
0
;
i
<
nDevSizeCount
;
i
++
)
for
(
i
=
0
;
i
<
nDevSizeCount
;
i
++
)
{
{
Size
aSize
=
pDevice
->
GetDevFontSize
(
rInfo
,
i
);
Size
aSize
=
pDevice
->
GetDevFontSize
(
rInfo
,
i
);
...
@@ -821,7 +821,7 @@ const long* FontList::GetSizeAry( const FontInfo& rInfo ) const
...
@@ -821,7 +821,7 @@ const long* FontList::GetSizeAry( const FontInfo& rInfo ) const
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
const
long
*
FontList
::
GetStdSizeAry
()
const
sal_IntPtr
*
FontList
::
GetStdSizeAry
()
{
{
return
aStdSizeAry
;
return
aStdSizeAry
;
}
}
...
...
svtools/source/control/stdmenu.cxx
Dosyayı görüntüle @
43135665
...
@@ -167,8 +167,8 @@ void FontSizeMenu::Fill( const FontInfo& rInfo, const FontList* pList )
...
@@ -167,8 +167,8 @@ void FontSizeMenu::Fill( const FontInfo& rInfo, const FontList* pList )
if
(
mpHeightAry
)
if
(
mpHeightAry
)
delete
[]
mpHeightAry
;
delete
[]
mpHeightAry
;
const
long
*
pTempAry
;
const
sal_IntPtr
*
pTempAry
;
const
long
*
pAry
=
pList
->
GetSizeAry
(
rInfo
);
const
sal_IntPtr
*
pAry
=
pList
->
GetSizeAry
(
rInfo
);
sal_uInt16
nSizeCount
=
0
;
sal_uInt16
nSizeCount
=
0
;
while
(
pAry
[
nSizeCount
]
)
while
(
pAry
[
nSizeCount
]
)
nSizeCount
++
;
nSizeCount
++
;
...
...
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