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
4bdd5309
Kaydet (Commit)
4bdd5309
authored
Nis 06, 2014
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Bin unused MAP_REALAPPFONT MapUnit enum value
Change-Id: I759a981c68a899ba314f5b77efa450aa57528433
üst
b10ed913
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
9 deletions
+2
-9
mapunit.hxx
include/tools/mapunit.hxx
+1
-1
vclunohelper.cxx
toolkit/source/helper/vclunohelper.cxx
+0
-3
outmap.cxx
vcl/source/gdi/outmap.cxx
+1
-5
No files found.
include/tools/mapunit.hxx
Dosyayı görüntüle @
4bdd5309
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
enum
MapUnit
{
MAP_100TH_MM
,
MAP_10TH_MM
,
MAP_MM
,
MAP_CM
,
enum
MapUnit
{
MAP_100TH_MM
,
MAP_10TH_MM
,
MAP_MM
,
MAP_CM
,
MAP_1000TH_INCH
,
MAP_100TH_INCH
,
MAP_10TH_INCH
,
MAP_INCH
,
MAP_1000TH_INCH
,
MAP_100TH_INCH
,
MAP_10TH_INCH
,
MAP_INCH
,
MAP_POINT
,
MAP_TWIP
,
MAP_PIXEL
,
MAP_SYSFONT
,
MAP_APPFONT
,
MAP_POINT
,
MAP_TWIP
,
MAP_PIXEL
,
MAP_SYSFONT
,
MAP_APPFONT
,
MAP_RELATIVE
,
MAP_
REALAPPFONT
,
MAP_
LASTENUMDUMMY
};
MAP_RELATIVE
,
MAP_LASTENUMDUMMY
};
#endif
#endif
...
...
toolkit/source/helper/vclunohelper.cxx
Dosyayı görüntüle @
4bdd5309
...
@@ -608,9 +608,6 @@ MapUnit /* MapModeUnit */ VCLUnoHelper::ConvertToMapModeUnit(sal_Int16 /* com.su
...
@@ -608,9 +608,6 @@ MapUnit /* MapModeUnit */ VCLUnoHelper::ConvertToMapModeUnit(sal_Int16 /* com.su
case com::sun::star::util::MeasureUnit::RELATIVE:
case com::sun::star::util::MeasureUnit::RELATIVE:
eMode = MAP_RELATIVE;
eMode = MAP_RELATIVE;
break;
break;
case com::sun::star::util::MeasureUnit::REALAPPFONT:
eMode = MAP_REALAPPFONT;
break;
*/
*/
default
:
default
:
...
...
vcl/source/gdi/outmap.cxx
Dosyayı görüntüle @
4bdd5309
...
@@ -230,7 +230,6 @@ static void ImplCalcMapResolution( const MapMode& rMapMode,
...
@@ -230,7 +230,6 @@ static void ImplCalcMapResolution( const MapMode& rMapMode,
break
;
break
;
case
MAP_SYSFONT
:
case
MAP_SYSFONT
:
case
MAP_APPFONT
:
case
MAP_APPFONT
:
case
MAP_REALAPPFONT
:
{
{
ImplSVData
*
pSVData
=
ImplGetSVData
();
ImplSVData
*
pSVData
=
ImplGetSVData
();
if
(
!
pSVData
->
maGDIData
.
mnAppFontX
)
if
(
!
pSVData
->
maGDIData
.
mnAppFontX
)
...
@@ -244,10 +243,7 @@ static void ImplCalcMapResolution( const MapMode& rMapMode,
...
@@ -244,10 +243,7 @@ static void ImplCalcMapResolution( const MapMode& rMapMode,
delete
pWin
;
delete
pWin
;
}
}
}
}
if
(
rMapMode
.
GetMapUnit
()
==
MAP_REALAPPFONT
)
rMapRes
.
mnMapScNumX
=
pSVData
->
maGDIData
.
mnAppFontX
;
rMapRes
.
mnMapScNumX
=
pSVData
->
maGDIData
.
mnRealAppFontX
;
else
rMapRes
.
mnMapScNumX
=
pSVData
->
maGDIData
.
mnAppFontX
;
rMapRes
.
mnMapScDenomX
=
nDPIX
*
40
;
rMapRes
.
mnMapScDenomX
=
nDPIX
*
40
;
rMapRes
.
mnMapScNumY
=
pSVData
->
maGDIData
.
mnAppFontY
;
rMapRes
.
mnMapScNumY
=
pSVData
->
maGDIData
.
mnAppFontY
;
rMapRes
.
mnMapScDenomY
=
nDPIY
*
80
;
rMapRes
.
mnMapScDenomY
=
nDPIY
*
80
;
...
...
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