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
8ffb2074
Kaydet (Commit)
8ffb2074
authored
Mar 30, 2013
tarafından
Peter Foley
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix loplugin unused warnings
Change-Id: I23fc6bf62e74f192f77c74ed48d5276737375f3c
üst
761af309
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
25 deletions
+15
-25
synchronousdispatch.cxx
comphelper/source/misc/synchronousdispatch.cxx
+1
-2
sessionlistener.cxx
framework/source/services/sessionlistener.cxx
+3
-6
opump.cxx
io/source/stm/opump.cxx
+6
-15
log-areas.dox
sal/inc/sal/log-areas.dox
+4
-0
wrapper.cxx
sdext/source/pdfimport/wrapper/wrapper.cxx
+1
-2
No files found.
comphelper/source/misc/synchronousdispatch.cxx
Dosyayı görüntüle @
8ffb2074
...
@@ -72,8 +72,7 @@ uno::Reference< lang::XComponent > SynchronousDispatch::dispatch(
...
@@ -72,8 +72,7 @@ uno::Reference< lang::XComponent > SynchronousDispatch::dispatch(
}
}
catch
(
uno
::
Exception
&
)
catch
(
uno
::
Exception
&
)
{
{
OUString
aMsg
=
"SynchronousDispatch::dispatch() Error while dispatching! "
;
SAL_WARN
(
"comphelper"
,
"SynchronousDispatch::dispatch() Error while dispatching!"
);
OSL_FAIL
(
OUStringToOString
(
aMsg
,
RTL_TEXTENCODING_ASCII_US
).
getStr
());
}
}
}
}
...
...
framework/source/services/sessionlistener.cxx
Dosyayı görüntüle @
8ffb2074
...
@@ -150,8 +150,7 @@ void SessionListener::StoreSession( sal_Bool bAsync )
...
@@ -150,8 +150,7 @@ void SessionListener::StoreSession( sal_Bool bAsync )
args
[
0
]
=
PropertyValue
(
OUString
(
"DispatchAsynchron"
),
-
1
,
makeAny
(
bAsync
),
PropertyState_DIRECT_VALUE
);
args
[
0
]
=
PropertyValue
(
OUString
(
"DispatchAsynchron"
),
-
1
,
makeAny
(
bAsync
),
PropertyState_DIRECT_VALUE
);
xDispatch
->
dispatch
(
aURL
,
args
);
xDispatch
->
dispatch
(
aURL
,
args
);
}
catch
(
const
com
::
sun
::
star
::
uno
::
Exception
&
e
)
{
}
catch
(
const
com
::
sun
::
star
::
uno
::
Exception
&
e
)
{
OString
aMsg
=
OUStringToOString
(
e
.
Message
,
RTL_TEXTENCODING_UTF8
);
SAL_WARN
(
"fwk.session"
,
e
.
Message
);
OSL_FAIL
(
aMsg
.
getStr
());
// save failed, but tell manager to go on if we havent yet dispatched the request
// save failed, but tell manager to go on if we havent yet dispatched the request
// in case of synchronous saving the notification is done by the caller
// in case of synchronous saving the notification is done by the caller
if
(
bAsync
&&
m_rSessionManager
.
is
()
)
if
(
bAsync
&&
m_rSessionManager
.
is
()
)
...
@@ -179,8 +178,7 @@ void SessionListener::QuitSessionQuietly()
...
@@ -179,8 +178,7 @@ void SessionListener::QuitSessionQuietly()
args
[
0
]
=
PropertyValue
(
OUString
(
"DispatchAsynchron"
),
-
1
,
makeAny
(
sal_False
),
PropertyState_DIRECT_VALUE
);
args
[
0
]
=
PropertyValue
(
OUString
(
"DispatchAsynchron"
),
-
1
,
makeAny
(
sal_False
),
PropertyState_DIRECT_VALUE
);
xDispatch
->
dispatch
(
aURL
,
args
);
xDispatch
->
dispatch
(
aURL
,
args
);
}
catch
(
const
com
::
sun
::
star
::
uno
::
Exception
&
e
)
{
}
catch
(
const
com
::
sun
::
star
::
uno
::
Exception
&
e
)
{
OString
aMsg
=
OUStringToOString
(
e
.
Message
,
RTL_TEXTENCODING_UTF8
);
SAL_WARN
(
"fwk.session"
,
e
.
Message
);
OSL_FAIL
(
aMsg
.
getStr
());
}
}
}
}
...
@@ -263,8 +261,7 @@ sal_Bool SAL_CALL SessionListener::doRestore()
...
@@ -263,8 +261,7 @@ sal_Bool SAL_CALL SessionListener::doRestore()
m_bRestored
=
sal_True
;
m_bRestored
=
sal_True
;
}
catch
(
const
com
::
sun
::
star
::
uno
::
Exception
&
e
)
{
}
catch
(
const
com
::
sun
::
star
::
uno
::
Exception
&
e
)
{
OString
aMsg
=
OUStringToOString
(
e
.
Message
,
RTL_TEXTENCODING_UTF8
);
SAL_WARN
(
"fwk.session"
,
e
.
Message
);
OSL_FAIL
(
aMsg
.
getStr
());
}
}
return
m_bRestored
;
return
m_bRestored
;
...
...
io/source/stm/opump.cxx
Dosyayı görüntüle @
8ffb2074
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#include <stdio.h>
#include <stdio.h>
#include <
osl/diagnose.h
>
#include <
sal/log.hxx
>
#include <com/sun/star/io/XActiveDataSource.hpp>
#include <com/sun/star/io/XActiveDataSource.hpp>
#include <com/sun/star/io/XActiveDataSink.hpp>
#include <com/sun/star/io/XActiveDataSink.hpp>
...
@@ -48,10 +48,6 @@ using namespace com::sun::star::lang;
...
@@ -48,10 +48,6 @@ using namespace com::sun::star::lang;
using
namespace
com
::
sun
::
star
::
registry
;
using
namespace
com
::
sun
::
star
::
registry
;
using
namespace
com
::
sun
::
star
::
io
;
using
namespace
com
::
sun
::
star
::
io
;
using
::
rtl
::
OUString
;
using
::
rtl
::
OUStringToOString
;
using
::
rtl
::
OString
;
#include "factreg.hxx"
#include "factreg.hxx"
namespace
io_stm
{
namespace
io_stm
{
...
@@ -137,8 +133,7 @@ void Pump::fireError( const Any & exception )
...
@@ -137,8 +133,7 @@ void Pump::fireError( const Any & exception )
}
}
catch
(
const
RuntimeException
&
e
)
catch
(
const
RuntimeException
&
e
)
{
{
OString
sMessage
=
OUStringToOString
(
e
.
Message
,
RTL_TEXTENCODING_ASCII_US
);
SAL_WARN
(
"io.streams"
,
"com.sun.star.comp.stoc.Pump: unexpected exception during calling listeners"
<<
e
.
Message
);
OSL_ENSURE
(
!
"com.sun.star.comp.stoc.Pump: unexpected exception during calling listeners"
,
sMessage
.
getStr
()
);
}
}
}
}
}
}
...
@@ -166,8 +161,7 @@ void Pump::fireClose()
...
@@ -166,8 +161,7 @@ void Pump::fireClose()
}
}
catch
(
const
RuntimeException
&
e
)
catch
(
const
RuntimeException
&
e
)
{
{
OString
sMessage
=
OUStringToOString
(
e
.
Message
,
RTL_TEXTENCODING_ASCII_US
);
SAL_WARN
(
"io.streams"
,
"com.sun.star.comp.stoc.Pump: unexpected exception during calling listeners"
<<
e
.
Message
);
OSL_ENSURE
(
!
"com.sun.star.comp.stoc.Pump: unexpected exception during calling listeners"
,
sMessage
.
getStr
()
);
}
}
}
}
}
}
...
@@ -184,8 +178,7 @@ void Pump::fireStarted()
...
@@ -184,8 +178,7 @@ void Pump::fireStarted()
}
}
catch
(
const
RuntimeException
&
e
)
catch
(
const
RuntimeException
&
e
)
{
{
OString
sMessage
=
OUStringToOString
(
e
.
Message
,
RTL_TEXTENCODING_ASCII_US
);
SAL_WARN
(
"io.streams"
,
"com.sun.star.comp.stoc.Pump: unexpected exception during calling listeners"
<<
e
.
Message
);
OSL_ENSURE
(
!
"com.sun.star.comp.stoc.Pump: unexpected exception during calling listeners"
,
sMessage
.
getStr
()
);
}
}
}
}
}
}
...
@@ -201,8 +194,7 @@ void Pump::fireTerminated()
...
@@ -201,8 +194,7 @@ void Pump::fireTerminated()
}
}
catch
(
const
RuntimeException
&
e
)
catch
(
const
RuntimeException
&
e
)
{
{
OString
sMessage
=
OUStringToOString
(
e
.
Message
,
RTL_TEXTENCODING_ASCII_US
);
SAL_WARN
(
"io.streams"
,
"com.sun.star.comp.stoc.Pump: unexpected exception during calling listeners"
<<
e
.
Message
);
OSL_ENSURE
(
!
"com.sun.star.comp.stoc.Pump: unexpected exception during calling listeners"
,
sMessage
.
getStr
()
);
}
}
}
}
}
}
...
@@ -308,8 +300,7 @@ void Pump::run()
...
@@ -308,8 +300,7 @@ void Pump::run()
{
{
// we are the last on the stack.
// we are the last on the stack.
// this is to avoid crashing the program, when e.g. a bridge crashes
// this is to avoid crashing the program, when e.g. a bridge crashes
OString
sMessage
=
OUStringToOString
(
e
.
Message
,
RTL_TEXTENCODING_ASCII_US
);
SAL_WARN
(
"io.streams"
,
"com.sun.star.comp.stoc.Pump: unexpected exception during calling listeners"
<<
e
.
Message
);
OSL_ENSURE
(
!
"com.sun.star.comp.stoc.Pump: unexpected exception"
,
sMessage
.
getStr
()
);
}
}
}
}
...
...
sal/inc/sal/log-areas.dox
Dosyayı görüntüle @
8ffb2074
...
@@ -137,6 +137,10 @@ certain functionality.
...
@@ -137,6 +137,10 @@ certain functionality.
@li @c i18n - module independent i18n related, e.g. language tag usage
@li @c i18n - module independent i18n related, e.g. language tag usage
@section io
@li @c io.streams
@section jvmfwk
@section jvmfwk
@li @c jfw
@li @c jfw
...
...
sdext/source/pdfimport/wrapper/wrapper.cxx
Dosyayı görüntüle @
8ffb2074
...
@@ -642,8 +642,7 @@ uno::Sequence<beans::PropertyValue> Parser::readImageImpl()
...
@@ -642,8 +642,7 @@ uno::Sequence<beans::PropertyValue> Parser::readImageImpl()
aFileName
=
aPbmFile
;
aFileName
=
aPbmFile
;
else
else
{
{
OSL_PRECOND
(
aToken
.
compareTo
(
aPpmMarker
)
==
0
,
SAL_WARN_IF
(
aToken
.
compareTo
(
aPpmMarker
),
"sdext.pdfimport"
,
"Invalid bitmap format"
);
"Invalid bitmap format"
);
aFileName
=
aPpmFile
;
aFileName
=
aPpmFile
;
}
}
...
...
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