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
39622494
Kaydet (Commit)
39622494
authored
Nis 22, 2013
tarafından
Noel Power
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix limits check on breaks ( ignore breaks outside used area )
Change-Id: I36154ba6999c9a74ecf2c55c0559b6c25d137283
üst
683b016a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
6 deletions
+14
-6
vbapagebreaks.cxx
sc/source/ui/vba/vbapagebreaks.cxx
+2
-3
vbarange.cxx
sc/source/ui/vba/vbarange.cxx
+12
-3
No files found.
sc/source/ui/vba/vbapagebreaks.cxx
Dosyayı görüntüle @
39622494
...
...
@@ -107,10 +107,9 @@ sal_Int32 SAL_CALL RangePageBreaks::getCount( ) throw (uno::RuntimeException)
for
(
sal_Int32
i
=
0
;
i
<
nLength
;
i
++
)
{
sal_Int32
nPos
=
aTablePageBreakData
[
i
].
Position
;
if
(
nPos
>
nUsedEnd
)
if
(
nPos
>
nUsedEnd
+
1
)
return
nCount
;
if
(
nPos
>=
nUsedStart
)
nCount
++
;
nCount
++
;
}
return
nCount
;
...
...
sc/source/ui/vba/vbarange.cxx
Dosyayı görüntüle @
39622494
...
...
@@ -1960,9 +1960,18 @@ ScVbaRange::getFormulaArray() throw (uno::RuntimeException)
uno
::
Reference
<
sheet
::
XCellRangeFormula
>
xCellRangeFormula
(
mxRange
,
uno
::
UNO_QUERY_THROW
);
uno
::
Reference
<
script
::
XTypeConverter
>
xConverter
=
getTypeConverter
(
mxContext
);
uno
::
Any
aMatrix
;
aMatrix
=
xConverter
->
convertTo
(
uno
::
makeAny
(
xCellRangeFormula
->
getFormulaArray
()
)
,
getCppuType
((
uno
::
Sequence
<
uno
::
Sequence
<
uno
::
Any
>
>*
)
0
)
)
;
return
aMatrix
;
uno
::
Any
aSingleValueOrMatrix
;
// When dealing with a single element ( embedded in the sequence of sequence ) unwrap and return
// that value
uno
::
Sequence
<
uno
::
Sequence
<
rtl
::
OUString
>
>
aTmpSeq
=
xCellRangeFormula
->
getFormulaArray
();
if
(
aTmpSeq
.
getLength
()
==
1
)
{
if
(
aTmpSeq
[
0
].
getLength
()
==
1
)
aSingleValueOrMatrix
<<=
aTmpSeq
[
0
][
0
];
}
else
aSingleValueOrMatrix
=
xConverter
->
convertTo
(
uno
::
makeAny
(
aTmpSeq
)
,
getCppuType
((
uno
::
Sequence
<
uno
::
Sequence
<
uno
::
Any
>
>*
)
0
)
)
;
return
aSingleValueOrMatrix
;
}
void
...
...
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