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
52ce5239
Kaydet (Commit)
52ce5239
authored
Kas 25, 2014
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vcl: assert when LogicToPixel overflows
Change-Id: I86d1c3e0c177c671b280c05b47312c79389884ed
üst
d288ee63
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
pagechg.cxx
sw/source/core/layout/pagechg.cxx
+1
-1
map.cxx
vcl/source/outdev/map.cxx
+2
-0
No files found.
sw/source/core/layout/pagechg.cxx
Dosyayı görüntüle @
52ce5239
...
...
@@ -2177,7 +2177,7 @@ void SwRootFrm::CheckViewLayout( const SwViewOption* pViewOpt, const SwRect* pVi
pSh
->
SetFirstVisPageInvalid
();
if
(
bOldCallbackActionEnabled
)
{
pSh
->
InvalidateWindows
(
SwRect
(
0
,
0
,
LONG_MAX
,
LONG
_MAX
)
);
pSh
->
InvalidateWindows
(
SwRect
(
0
,
0
,
INT_MAX
,
INT
_MAX
)
);
pSh
->
GetDoc
()
->
GetDocShell
()
->
Broadcast
(
SfxSimpleHint
(
SFX_HINT_DOCCHANGED
));
}
}
...
...
vcl/source/outdev/map.cxx
Dosyayı görüntüle @
52ce5239
...
...
@@ -381,6 +381,8 @@ static long ImplLogicToPixel( long n, long nDPI, long nMapNum, long nMapDenom,
}
}
else
#else
assert
(
n
<
std
::
numeric_limits
<
long
>::
max
()
/
nMapNum
);
//detect overflows
#endif
{
sal_Int64
n64
=
n
;
...
...
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