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
1c8695ec
Kaydet (Commit)
1c8695ec
authored
Eki 13, 2014
tarafından
David Tardon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
boost::rational throws if 0 is passed as denominator
Change-Id: I312fd6b964555b3b4aa4e22cec6054c9a83b2c52
üst
376dae81
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
frmview.cxx
sd/source/ui/view/frmview.cxx
+16
-4
No files found.
sd/source/ui/view/frmview.cxx
Dosyayı görüntüle @
1c8695ec
...
@@ -874,19 +874,31 @@ void FrameView::ReadUserDataSequence ( const ::com::sun::star::uno::Sequence < :
...
@@ -874,19 +874,31 @@ void FrameView::ReadUserDataSequence ( const ::com::sun::star::uno::Sequence < :
}
}
else
if
(
pValue
->
Name
==
sUNO_View_GridSnapWidthXNumerator
)
else
if
(
pValue
->
Name
==
sUNO_View_GridSnapWidthXNumerator
)
{
{
pValue
->
Value
>>=
aSnapGridWidthXNum
;
sal_Int32
nValue
=
0
;
pValue
->
Value
>>=
nValue
;
if
(
nValue
!=
0
)
// 0 is allowed, but it doesn't make any sense...
aSnapGridWidthXNum
=
nValue
;
}
}
else
if
(
pValue
->
Name
==
sUNO_View_GridSnapWidthXDenominator
)
else
if
(
pValue
->
Name
==
sUNO_View_GridSnapWidthXDenominator
)
{
{
pValue
->
Value
>>=
aSnapGridWidthXDom
;
sal_Int32
nValue
=
0
;
pValue
->
Value
>>=
nValue
;
if
(
nValue
!=
0
)
aSnapGridWidthXDom
=
nValue
;
}
}
else
if
(
pValue
->
Name
==
sUNO_View_GridSnapWidthYNumerator
)
else
if
(
pValue
->
Name
==
sUNO_View_GridSnapWidthYNumerator
)
{
{
pValue
->
Value
>>=
aSnapGridWidthYNum
;
sal_Int32
nValue
=
0
;
pValue
->
Value
>>=
nValue
;
if
(
nValue
!=
0
)
// 0 is allowed, but it doesn't make any sense...
aSnapGridWidthYNum
=
nValue
;
}
}
else
if
(
pValue
->
Name
==
sUNO_View_GridSnapWidthYDenominator
)
else
if
(
pValue
->
Name
==
sUNO_View_GridSnapWidthYDenominator
)
{
{
pValue
->
Value
>>=
aSnapGridWidthYDom
;
sal_Int32
nValue
=
0
;
pValue
->
Value
>>=
nValue
;
if
(
nValue
!=
0
)
aSnapGridWidthYDom
=
nValue
;
}
}
else
if
(
!
bImpress
&&
pValue
->
Name
==
sUNO_View_VisibleLayers
)
else
if
(
!
bImpress
&&
pValue
->
Name
==
sUNO_View_VisibleLayers
)
{
{
...
...
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