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
4c563b3a
Kaydet (Commit)
4c563b3a
authored
Haz 05, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
ucb: remove SAL_THROW macro
Change-Id: I023c342b0f086e57c821136498851999fb0152ec
üst
79df6cf5
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
32 additions
and
33 deletions
+32
-33
ucpexpand.cxx
ucb/source/ucp/expand/ucpexpand.cxx
+0
-1
ftpdirp.hxx
ucb/source/ucp/ftp/ftpdirp.hxx
+1
-1
tdoc_storage.cxx
ucb/source/ucp/tdoc/tdoc_storage.cxx
+1
-1
tdoc_storage.hxx
ucb/source/ucp/tdoc/tdoc_storage.hxx
+1
-1
DAVSession.hxx
ucb/source/ucp/webdav-neon/DAVSession.hxx
+2
-2
DAVSessionFactory.cxx
ucb/source/ucp/webdav-neon/DAVSessionFactory.cxx
+1
-1
DAVSessionFactory.hxx
ucb/source/ucp/webdav-neon/DAVSessionFactory.hxx
+2
-2
DAVSession.hxx
ucb/source/ucp/webdav/DAVSession.hxx
+2
-2
DAVSessionFactory.cxx
ucb/source/ucp/webdav/DAVSessionFactory.cxx
+1
-1
DAVSessionFactory.hxx
ucb/source/ucp/webdav/DAVSessionFactory.hxx
+2
-2
cachemapobject1.cxx
ucb/workben/cachemap/cachemapobject1.cxx
+3
-3
cachemapobject1.hxx
ucb/workben/cachemap/cachemapobject1.hxx
+5
-5
cachemapobject3.cxx
ucb/workben/cachemap/cachemapobject3.cxx
+4
-4
cachemapobject3.hxx
ucb/workben/cachemap/cachemapobject3.hxx
+5
-5
cachemapobjectcontainer2.cxx
ucb/workben/cachemap/cachemapobjectcontainer2.cxx
+1
-1
cachemapobjectcontainer2.hxx
ucb/workben/cachemap/cachemapobjectcontainer2.hxx
+1
-1
No files found.
ucb/source/ucp/expand/ucpexpand.cxx
Dosyayı görüntüle @
4c563b3a
...
...
@@ -117,7 +117,6 @@ void ExpandContentProviderImpl::disposing()
static
uno
::
Reference
<
uno
::
XInterface
>
SAL_CALL
create
(
uno
::
Reference
<
uno
::
XComponentContext
>
const
&
xComponentContext
)
SAL_THROW
(
(
uno
::
Exception
)
)
{
return
static_cast
<
::
cppu
::
OWeakObject
*
>
(
new
ExpandContentProviderImpl
(
xComponentContext
)
);
...
...
ucb/source/ucp/ftp/ftpdirp.hxx
Dosyayı görüntüle @
4c563b3a
...
...
@@ -47,7 +47,7 @@ namespace ftp {
const
sal_uInt16
&
hours
,
const
sal_uInt16
&
day
,
const
sal_uInt16
&
month
,
const
sal_uInt16
&
year
)
SAL_THROW
(())
const
sal_uInt16
&
year
)
:
com
::
sun
::
star
::
util
::
DateTime
(
nanoSeconds
,
seconds
,
minutes
,
...
...
ucb/source/ucp/tdoc/tdoc_storage.cxx
Dosyayı görüntüle @
4c563b3a
...
...
@@ -351,7 +351,7 @@ StorageElementFactory::createStream( const OUString & rUri,
}
void
StorageElementFactory
::
releaseElement
(
Storage
*
pElement
)
SAL_THROW
(())
void
StorageElementFactory
::
releaseElement
(
Storage
*
pElement
)
{
OSL_ASSERT
(
pElement
);
osl
::
MutexGuard
aGuard
(
m_aMutex
);
...
...
ucb/source/ucp/tdoc/tdoc_storage.hxx
Dosyayı görüntüle @
4c563b3a
...
...
@@ -97,7 +97,7 @@ namespace tdoc_ucp {
private
:
friend
class
Storage
;
void
releaseElement
(
Storage
*
pElement
)
SAL_THROW
(())
;
void
releaseElement
(
Storage
*
pElement
);
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
embed
::
XStorage
>
queryParentStorage
(
const
OUString
&
rUri
,
...
...
ucb/source/ucp/webdav-neon/DAVSession.hxx
Dosyayı görüntüle @
4c563b3a
...
...
@@ -54,12 +54,12 @@ namespace webdav_ucp
class
DAVSession
{
public
:
inline
void
acquire
()
SAL_THROW
(())
inline
void
acquire
()
{
osl_atomic_increment
(
&
m_nRefCount
);
}
void
release
()
SAL_THROW
(())
void
release
()
{
if
(
osl_atomic_decrement
(
&
m_nRefCount
)
==
0
)
{
...
...
ucb/source/ucp/webdav-neon/DAVSessionFactory.cxx
Dosyayı görüntüle @
4c563b3a
...
...
@@ -96,7 +96,7 @@ rtl::Reference< DAVSession > DAVSessionFactory::createDAVSession(
}
}
void
DAVSessionFactory
::
releaseElement
(
DAVSession
*
pElement
)
SAL_THROW
(())
void
DAVSessionFactory
::
releaseElement
(
DAVSession
*
pElement
)
{
OSL_ASSERT
(
pElement
);
osl
::
MutexGuard
aGuard
(
m_aMutex
);
...
...
ucb/source/ucp/webdav-neon/DAVSessionFactory.hxx
Dosyayı görüntüle @
4c563b3a
...
...
@@ -59,7 +59,7 @@ class DAVSession;
class
DAVSessionFactory
:
public
salhelper
::
SimpleReferenceObject
{
public
:
virtual
~
DAVSessionFactory
()
SAL_THROW
(())
;
virtual
~
DAVSessionFactory
();
rtl
::
Reference
<
DAVSession
>
createDAVSession
(
const
OUString
&
inUri
,
...
...
@@ -77,7 +77,7 @@ private:
::
uno
::
Reference
<
::
uno
::
XComponentContext
>
m_xContext
;
void
releaseElement
(
DAVSession
*
pElement
)
SAL_THROW
(())
;
void
releaseElement
(
DAVSession
*
pElement
);
friend
class
DAVSession
;
};
...
...
ucb/source/ucp/webdav/DAVSession.hxx
Dosyayı görüntüle @
4c563b3a
...
...
@@ -45,12 +45,12 @@ class DAVAuthListener;
class
DAVSession
{
public
:
inline
void
acquire
()
SAL_THROW
(())
inline
void
acquire
()
{
osl_incrementInterlockedCount
(
&
m_nRefCount
);
}
void
release
()
SAL_THROW
(())
void
release
()
{
if
(
osl_decrementInterlockedCount
(
&
m_nRefCount
)
==
0
)
{
...
...
ucb/source/ucp/webdav/DAVSessionFactory.cxx
Dosyayı görüntüle @
4c563b3a
...
...
@@ -84,7 +84,7 @@ rtl::Reference< DAVSession > DAVSessionFactory::createDAVSession(
}
}
void
DAVSessionFactory
::
releaseElement
(
DAVSession
*
pElement
)
SAL_THROW
(())
void
DAVSessionFactory
::
releaseElement
(
DAVSession
*
pElement
)
{
assert
(
pElement
);
osl
::
MutexGuard
aGuard
(
m_aMutex
);
...
...
ucb/source/ucp/webdav/DAVSessionFactory.hxx
Dosyayı görüntüle @
4c563b3a
...
...
@@ -47,7 +47,7 @@ class DAVSession;
class
DAVSessionFactory
:
public
salhelper
::
SimpleReferenceObject
{
public
:
virtual
~
DAVSessionFactory
()
SAL_THROW
(())
;
virtual
~
DAVSessionFactory
();
rtl
::
Reference
<
DAVSession
>
createDAVSession
(
const
OUString
&
inUri
,
...
...
@@ -63,7 +63,7 @@ private:
osl
::
Mutex
m_aMutex
;
std
::
auto_ptr
<
ucbhelper
::
InternetProxyDecider
>
m_xProxyDecider
;
void
releaseElement
(
DAVSession
*
pElement
)
SAL_THROW
(())
;
void
releaseElement
(
DAVSession
*
pElement
);
friend
class
DAVSession
;
};
...
...
ucb/workben/cachemap/cachemapobject1.cxx
Dosyayı görüntüle @
4c563b3a
...
...
@@ -37,10 +37,10 @@ Object1::Object1(rtl::Reference< ObjectContainer1 > const & rContainer):
OSL_ASSERT
(
m_xContainer
.
is
());
}
inline
Object1
::~
Object1
()
SAL_THROW
(())
inline
Object1
::~
Object1
()
{}
void
ObjectContainer1
::
releaseElement
(
Object1
*
pElement
)
SAL_THROW
(())
void
ObjectContainer1
::
releaseElement
(
Object1
*
pElement
)
{
OSL_ASSERT
(
pElement
);
bool
bDelete
=
false
;
...
...
@@ -59,7 +59,7 @@ void ObjectContainer1::releaseElement(Object1 * pElement) SAL_THROW(())
ObjectContainer1
::
ObjectContainer1
()
{}
ObjectContainer1
::~
ObjectContainer1
()
SAL_THROW
(())
ObjectContainer1
::~
ObjectContainer1
()
{}
rtl
::
Reference
<
Object1
>
ObjectContainer1
::
get
(
OUString
const
&
rKey
)
...
...
ucb/workben/cachemap/cachemapobject1.hxx
Dosyayı görüntüle @
4c563b3a
...
...
@@ -39,7 +39,7 @@ class ObjectContainer1: public salhelper::SimpleReferenceObject
public
:
ObjectContainer1
();
virtual
~
ObjectContainer1
()
SAL_THROW
(())
;
virtual
~
ObjectContainer1
();
rtl
::
Reference
<
Object1
>
get
(
OUString
const
&
rKey
);
...
...
@@ -49,7 +49,7 @@ private:
Map
m_aMap
;
osl
::
Mutex
m_aMutex
;
void
releaseElement
(
Object1
*
pElement
)
SAL_THROW
(())
;
void
releaseElement
(
Object1
*
pElement
);
friend
class
Object1
;
// to access Map, releaseElement()
};
...
...
@@ -57,10 +57,10 @@ private:
class
Object1
{
public
:
inline
void
acquire
()
SAL_THROW
(())
inline
void
acquire
()
{
osl_atomic_increment
(
&
m_nRefCount
);
}
inline
void
release
()
SAL_THROW
(())
inline
void
release
()
{
m_xContainer
->
releaseElement
(
this
);
}
private
:
...
...
@@ -70,7 +70,7 @@ private:
inline
Object1
(
rtl
::
Reference
<
ObjectContainer1
>
const
&
rContainer
);
inline
~
Object1
()
SAL_THROW
(())
;
inline
~
Object1
();
Object1
(
Object1
&
);
// not implemented
void
operator
=
(
Object1
);
// not implemented
...
...
ucb/workben/cachemap/cachemapobject3.cxx
Dosyayı görüntüle @
4c563b3a
...
...
@@ -37,10 +37,10 @@ Object3::Object3(rtl::Reference< ObjectContainer3 > const & rContainer):
OSL_ASSERT
(
m_xContainer
.
is
());
}
inline
Object3
::~
Object3
()
SAL_THROW
(())
inline
Object3
::~
Object3
()
{}
void
Object3
::
release
()
SAL_THROW
(())
void
Object3
::
release
()
{
if
(
osl_atomic_decrement
(
&
m_nRefCount
)
==
0
)
{
...
...
@@ -49,7 +49,7 @@ void Object3::release() SAL_THROW(())
}
}
void
ObjectContainer3
::
releaseElement
(
Object3
*
pElement
)
SAL_THROW
(())
void
ObjectContainer3
::
releaseElement
(
Object3
*
pElement
)
{
OSL_ASSERT
(
pElement
);
osl
::
MutexGuard
aGuard
(
m_aMutex
);
...
...
@@ -60,7 +60,7 @@ void ObjectContainer3::releaseElement(Object3 * pElement) SAL_THROW(())
ObjectContainer3
::
ObjectContainer3
()
{}
ObjectContainer3
::~
ObjectContainer3
()
SAL_THROW
(())
ObjectContainer3
::~
ObjectContainer3
()
{}
rtl
::
Reference
<
Object3
>
ObjectContainer3
::
get
(
OUString
const
&
rKey
)
...
...
ucb/workben/cachemap/cachemapobject3.hxx
Dosyayı görüntüle @
4c563b3a
...
...
@@ -39,7 +39,7 @@ class ObjectContainer3: public salhelper::SimpleReferenceObject
public
:
ObjectContainer3
();
virtual
~
ObjectContainer3
()
SAL_THROW
(())
;
virtual
~
ObjectContainer3
();
rtl
::
Reference
<
Object3
>
get
(
OUString
const
&
rKey
);
...
...
@@ -49,7 +49,7 @@ private:
Map
m_aMap
;
osl
::
Mutex
m_aMutex
;
void
releaseElement
(
Object3
*
pElement
)
SAL_THROW
(())
;
void
releaseElement
(
Object3
*
pElement
);
friend
class
Object3
;
// to access Map, releaseElement()
};
...
...
@@ -57,10 +57,10 @@ private:
class
Object3
{
public
:
inline
void
acquire
()
SAL_THROW
(())
inline
void
acquire
()
{
osl_atomic_increment
(
&
m_nRefCount
);
}
void
release
()
SAL_THROW
(())
;
void
release
();
private
:
rtl
::
Reference
<
ObjectContainer3
>
m_xContainer
;
...
...
@@ -69,7 +69,7 @@ private:
inline
Object3
(
rtl
::
Reference
<
ObjectContainer3
>
const
&
rContainer
);
inline
~
Object3
()
SAL_THROW
(())
;
inline
~
Object3
();
Object3
(
Object3
&
);
// not implemented
void
operator
=
(
Object3
);
// not implemented
...
...
ucb/workben/cachemap/cachemapobjectcontainer2.cxx
Dosyayı görüntüle @
4c563b3a
...
...
@@ -33,7 +33,7 @@ using namespace com::sun::star;
ObjectContainer2
::
ObjectContainer2
()
{}
ObjectContainer2
::~
ObjectContainer2
()
SAL_THROW
(())
ObjectContainer2
::~
ObjectContainer2
()
{}
rtl
::
Reference
<
Object2
>
ObjectContainer2
::
get
(
OUString
const
&
rKey
)
...
...
ucb/workben/cachemap/cachemapobjectcontainer2.hxx
Dosyayı görüntüle @
4c563b3a
...
...
@@ -40,7 +40,7 @@ class ObjectContainer2
public
:
ObjectContainer2
();
~
ObjectContainer2
()
SAL_THROW
(())
;
~
ObjectContainer2
();
rtl
::
Reference
<
Object2
>
get
(
OUString
const
&
rKey
);
...
...
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