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
4cabd37b
Kaydet (Commit)
4cabd37b
authored
May 12, 2011
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Let's not change the signature of UNO call & prefer static_cast.
üst
52dace9a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
datauno.hxx
sc/inc/datauno.hxx
+1
-1
datauno.cxx
sc/source/ui/unoobj/datauno.cxx
+3
-2
No files found.
sc/inc/datauno.hxx
Dosyayı görüntüle @
4cabd37b
...
...
@@ -683,7 +683,7 @@ public:
virtual
void
SAL_CALL
setByTable
(
const
::
com
::
sun
::
star
::
table
::
CellRangeAddress
&
aRange
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
::
com
::
sun
::
star
::
lang
::
IndexOutOfBoundsException
);
virtual
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
getByTable
(
const
sal_Int32
nTab
)
virtual
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
getByTable
(
sal_Int32
nTab
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
::
com
::
sun
::
star
::
lang
::
IndexOutOfBoundsException
,
::
com
::
sun
::
star
::
container
::
NoSuchElementException
);
...
...
sc/source/ui/unoobj/datauno.cxx
Dosyayı görüntüle @
4cabd37b
...
...
@@ -2419,7 +2419,7 @@ void ScUnnamedDatabaseRangesObj::setByTable( const table::CellRangeAddress& aRan
throw
uno
::
RuntimeException
();
// no other exceptions specified
}
uno
::
Any
ScUnnamedDatabaseRangesObj
::
getByTable
(
const
sal_Int32
nTab
)
uno
::
Any
ScUnnamedDatabaseRangesObj
::
getByTable
(
sal_Int32
nTab
)
throw
(
uno
::
RuntimeException
,
lang
::
IndexOutOfBoundsException
,
container
::
NoSuchElementException
)
...
...
@@ -2429,7 +2429,8 @@ uno::Any ScUnnamedDatabaseRangesObj::getByTable( const sal_Int32 nTab )
{
if
(
pDocShell
->
GetDocument
()
->
GetTableCount
()
<=
nTab
)
throw
lang
::
IndexOutOfBoundsException
();
uno
::
Reference
<
sheet
::
XDatabaseRange
>
xRange
(
new
ScDatabaseRangeObj
(
pDocShell
,
(
SCTAB
)
nTab
)
);
uno
::
Reference
<
sheet
::
XDatabaseRange
>
xRange
(
new
ScDatabaseRangeObj
(
pDocShell
,
static_cast
<
SCTAB
>
(
nTab
)));
if
(
xRange
.
is
())
return
uno
::
makeAny
(
xRange
);
else
...
...
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