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
2ef7e204
Kaydet (Commit)
2ef7e204
authored
Agu 15, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
catch by const reference
üst
0a9fa3d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
dispatchwatcher.cxx
desktop/source/app/dispatchwatcher.cxx
+5
-5
No files found.
desktop/source/app/dispatchwatcher.cxx
Dosyayı görüntüle @
2ef7e204
...
@@ -340,7 +340,7 @@ sal_Bool DispatchWatcher::executeDispatchRequests( const DispatchList& aDispatch
...
@@ -340,7 +340,7 @@ sal_Bool DispatchWatcher::executeDispatchRequests( const DispatchList& aDispatch
else
else
xDispatcher
->
dispatch
(
aURL
,
aArgs2
);
xDispatcher
->
dispatch
(
aURL
,
aArgs2
);
}
}
catch
(
::
com
::
sun
::
star
::
uno
::
Exception
&
)
catch
(
const
::
com
::
sun
::
star
::
uno
::
Exception
&
)
{
{
OUString
aMsg
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
OUString
aMsg
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Desktop::OpenDefault() IllegalArgumentException while calling XNotifyingDispatch: "
));
"Desktop::OpenDefault() IllegalArgumentException while calling XNotifyingDispatch: "
));
...
@@ -397,14 +397,14 @@ sal_Bool DispatchWatcher::executeDispatchRequests( const DispatchList& aDispatch
...
@@ -397,14 +397,14 @@ sal_Bool DispatchWatcher::executeDispatchRequests( const DispatchList& aDispatch
{
{
xDoc
=
Reference
<
XPrintable
>
(
::
comphelper
::
SynchronousDispatch
::
dispatch
(
xDesktop
,
aName
,
aTarget
,
0
,
aArgs
),
UNO_QUERY
);
xDoc
=
Reference
<
XPrintable
>
(
::
comphelper
::
SynchronousDispatch
::
dispatch
(
xDesktop
,
aName
,
aTarget
,
0
,
aArgs
),
UNO_QUERY
);
}
}
catch
(
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
&
iae
)
catch
(
const
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
&
iae
)
{
{
OUString
aMsg
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
OUString
aMsg
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Dispatchwatcher IllegalArgumentException while calling loadComponentFromURL: "
))
"Dispatchwatcher IllegalArgumentException while calling loadComponentFromURL: "
))
+
iae
.
Message
;
+
iae
.
Message
;
OSL_FAIL
(
OUStringToOString
(
aMsg
,
RTL_TEXTENCODING_ASCII_US
).
getStr
());
OSL_FAIL
(
OUStringToOString
(
aMsg
,
RTL_TEXTENCODING_ASCII_US
).
getStr
());
}
}
catch
(
com
::
sun
::
star
::
io
::
IOException
&
ioe
)
catch
(
co
nst
co
m
::
sun
::
star
::
io
::
IOException
&
ioe
)
{
{
OUString
aMsg
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
OUString
aMsg
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Dispatchwatcher IOException while calling loadComponentFromURL: "
))
"Dispatchwatcher IOException while calling loadComponentFromURL: "
))
...
@@ -483,7 +483,7 @@ sal_Bool DispatchWatcher::executeDispatchRequests( const DispatchList& aDispatch
...
@@ -483,7 +483,7 @@ sal_Bool DispatchWatcher::executeDispatchRequests( const DispatchList& aDispatch
{
{
xStorable
->
storeToURL
(
aOutFile
,
conversionProperties
);
xStorable
->
storeToURL
(
aOutFile
,
conversionProperties
);
}
}
catch
(
Exception
&
e
)
catch
(
const
Exception
&
)
{
{
fprintf
(
stderr
,
"Error: Please reverify input parameters...
\n
"
);
fprintf
(
stderr
,
"Error: Please reverify input parameters...
\n
"
);
}
}
...
@@ -566,7 +566,7 @@ sal_Bool DispatchWatcher::executeDispatchRequests( const DispatchList& aDispatch
...
@@ -566,7 +566,7 @@ sal_Bool DispatchWatcher::executeDispatchRequests( const DispatchList& aDispatch
xComp
->
dispose
();
xComp
->
dispose
();
}
}
}
}
catch
(
com
::
sun
::
star
::
util
::
CloseVetoException
&
)
catch
(
const
com
::
sun
::
star
::
util
::
CloseVetoException
&
)
{
{
}
}
...
...
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