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
41295613
Kaydet (Commit)
41295613
authored
Mar 14, 2013
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
catch const &
Change-Id: Ieac2188ead00d8e08b53835616a26e25e4be1e94
üst
14410520
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
xmlwrap.cxx
sc/source/filter/xml/xmlwrap.cxx
+10
-10
No files found.
sc/source/filter/xml/xmlwrap.cxx
Dosyayı görüntüle @
41295613
...
@@ -140,15 +140,15 @@ sal_uInt32 ScXMLImportWrapper::ImportFromComponent(uno::Reference<lang::XMultiSe
...
@@ -140,15 +140,15 @@ sal_uInt32 ScXMLImportWrapper::ImportFromComponent(uno::Reference<lang::XMultiSe
uno
::
Any
aAny
=
xSet
->
getPropertyValue
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Encrypted"
)
)
);
uno
::
Any
aAny
=
xSet
->
getPropertyValue
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Encrypted"
)
)
);
aAny
>>=
bEncrypted
;
aAny
>>=
bEncrypted
;
}
}
catch
(
packages
::
WrongPasswordException
&
)
catch
(
const
packages
::
WrongPasswordException
&
)
{
{
return
ERRCODE_SFX_WRONGPASSWORD
;
return
ERRCODE_SFX_WRONGPASSWORD
;
}
}
catch
(
packages
::
zip
::
ZipIOException
&
)
catch
(
const
packages
::
zip
::
ZipIOException
&
)
{
{
return
ERRCODE_IO_BROKENPACKAGE
;
return
ERRCODE_IO_BROKENPACKAGE
;
}
}
catch
(
uno
::
Exception
&
)
catch
(
const
uno
::
Exception
&
)
{
{
return
SCERR_IMPORT_UNKNOWN
;
return
SCERR_IMPORT_UNKNOWN
;
}
}
...
@@ -187,7 +187,7 @@ sal_uInt32 ScXMLImportWrapper::ImportFromComponent(uno::Reference<lang::XMultiSe
...
@@ -187,7 +187,7 @@ sal_uInt32 ScXMLImportWrapper::ImportFromComponent(uno::Reference<lang::XMultiSe
{
{
xParser
->
parseStream
(
aParserInput
);
xParser
->
parseStream
(
aParserInput
);
}
}
catch
(
xml
::
sax
::
SAXParseException
&
r
)
catch
(
const
xml
::
sax
::
SAXParseException
&
r
)
{
{
// sax parser sends wrapped exceptions,
// sax parser sends wrapped exceptions,
// try to find the original one
// try to find the original one
...
@@ -444,7 +444,7 @@ sal_Bool ScXMLImportWrapper::Import(sal_Bool bStylesOnly, ErrCode& nError)
...
@@ -444,7 +444,7 @@ sal_Bool ScXMLImportWrapper::Import(sal_Bool bStylesOnly, ErrCode& nError)
pObjSh
->
GetMedium
()
->
GetInteractionHandler
()
);
pObjSh
->
GetMedium
()
->
GetInteractionHandler
()
);
xDMA
->
loadMetadataFromStorage
(
xStorage
,
xBaseURI
,
xHandler
);
xDMA
->
loadMetadataFromStorage
(
xStorage
,
xBaseURI
,
xHandler
);
}
}
catch
(
lang
::
WrappedTargetException
&
e
)
catch
(
const
lang
::
WrappedTargetException
&
e
)
{
{
ucb
::
InteractiveAugmentedIOException
iaioe
;
ucb
::
InteractiveAugmentedIOException
iaioe
;
if
(
e
.
TargetException
>>=
iaioe
)
if
(
e
.
TargetException
>>=
iaioe
)
...
@@ -456,7 +456,7 @@ sal_Bool ScXMLImportWrapper::Import(sal_Bool bStylesOnly, ErrCode& nError)
...
@@ -456,7 +456,7 @@ sal_Bool ScXMLImportWrapper::Import(sal_Bool bStylesOnly, ErrCode& nError)
nError
=
SCWARN_IMPORT_FEATURES_LOST
;
nError
=
SCWARN_IMPORT_FEATURES_LOST
;
}
}
}
}
catch
(
uno
::
Exception
&
)
catch
(
const
uno
::
Exception
&
)
{
{
nError
=
SCWARN_IMPORT_FEATURES_LOST
;
nError
=
SCWARN_IMPORT_FEATURES_LOST
;
}
}
...
@@ -628,7 +628,7 @@ sal_Bool ScXMLImportWrapper::Import(sal_Bool bStylesOnly, ErrCode& nError)
...
@@ -628,7 +628,7 @@ sal_Bool ScXMLImportWrapper::Import(sal_Bool bStylesOnly, ErrCode& nError)
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"BasicLibraries"
)
)
),
uno
::
UNO_QUERY_THROW
);
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"BasicLibraries"
)
)
),
uno
::
UNO_QUERY_THROW
);
xVBACompat
->
setVBACompatibilityMode
(
sal_True
);
xVBACompat
->
setVBACompatibilityMode
(
sal_True
);
}
}
catch
(
uno
::
Exception
&
)
catch
(
const
uno
::
Exception
&
)
{
{
}
}
}
}
...
@@ -741,7 +741,7 @@ sal_Bool ScXMLImportWrapper::ExportToComponent(uno::Reference<lang::XMultiServic
...
@@ -741,7 +741,7 @@ sal_Bool ScXMLImportWrapper::ExportToComponent(uno::Reference<lang::XMultiServic
if
(
xSrcStream
.
is
())
if
(
xSrcStream
.
is
())
xSrcInput
=
xSrcStream
->
getInputStream
();
xSrcInput
=
xSrcStream
->
getInputStream
();
}
}
catch
(
uno
::
Exception
&
)
catch
(
const
uno
::
Exception
&
)
{
{
// stream not available (for example, password protected) - save normally (xSrcInput is null)
// stream not available (for example, password protected) - save normally (xSrcInput is null)
}
}
...
@@ -882,10 +882,10 @@ sal_Bool ScXMLImportWrapper::Export(sal_Bool bStylesOnly)
...
@@ -882,10 +882,10 @@ sal_Bool ScXMLImportWrapper::Export(sal_Bool bStylesOnly)
xDMA
->
storeMetadataToStorage
(
xStorage
);
xDMA
->
storeMetadataToStorage
(
xStorage
);
}
}
}
}
catch
(
beans
::
UnknownPropertyException
&
)
catch
(
const
beans
::
UnknownPropertyException
&
)
{
{
}
}
catch
(
uno
::
Exception
&
)
catch
(
const
uno
::
Exception
&
)
{
{
}
}
}
}
...
...
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