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
81c5bd4b
Kaydet (Commit)
81c5bd4b
authored
Eyl 06, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: unused variable
üst
a388bf33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
vbacontrols.cxx
vbahelper/source/msforms/vbacontrols.cxx
+6
-6
No files found.
vbahelper/source/msforms/vbacontrols.cxx
Dosyayı görüntüle @
81c5bd4b
...
...
@@ -101,7 +101,7 @@ public:
for
(
sal_Int32
i
=
0
;
i
<
sXControls
.
getLength
();
++
i
)
SetArrayElementTo
(
sXControls
[
i
],
i
);
}
catch
(
uno
::
Exception
&
)
catch
(
const
uno
::
Exception
&
)
{
// accept the case when the dialog already does not exist
// in this case the wrapper should work in dummy mode
...
...
@@ -415,7 +415,7 @@ uno::Any SAL_CALL ScVbaControls::Add( const uno::Any& Object, const uno::Any& St
uno
::
Sequence
<
uno
::
Any
>
aOutDummy
;
xControlInvoke
->
invoke
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"SOAddAXControl"
)
),
aArgs
,
aOutIDDummy
,
aOutDummy
);
}
catch
(
uno
::
Exception
&
)
catch
(
const
uno
::
Exception
&
)
{
xDialogContainer
->
removeByName
(
aNewName
);
throw
;
...
...
@@ -436,11 +436,11 @@ uno::Any SAL_CALL ScVbaControls::Add( const uno::Any& Object, const uno::Any& St
else
throw
uno
::
RuntimeException
();
}
catch
(
uno
::
RuntimeException
&
)
catch
(
const
uno
::
RuntimeException
&
)
{
throw
;
}
catch
(
uno
::
Exception
&
e
)
catch
(
const
uno
::
Exception
&
e
)
{
throw
lang
::
WrappedTargetException
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Can not create AXControl!"
)
),
uno
::
Reference
<
uno
::
XInterface
>
(),
...
...
@@ -488,14 +488,14 @@ void SAL_CALL ScVbaControls::Remove( const uno::Any& StringKeyOrIndex )
xDialogContainer
->
removeByName
(
aControlName
);
xControl
->
dispose
();
}
catch
(
uno
::
RuntimeException
&
)
catch
(
const
uno
::
RuntimeException
&
)
{
// the exceptions are not rethrown, impossibility to find or remove the control is currently not reported
// since in most cases it means just that the controls is already not there, the VBA seems to do it in the same way
// throw;
}
catch
(
uno
::
Exception
&
e
)
catch
(
const
uno
::
Exception
&
)
{
// throw lang::WrappedTargetException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Can not create AXControl!" ) ),
// uno::Reference< uno::XInterface >(),
...
...
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