summaryrefslogtreecommitdiffstats
path: root/io/source/stm/odata.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 23:17:40 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 23:17:40 +0000
commitd0ebece73e375ec34c201cd85cf3d51b14d9c787 (patch)
tree282b3a3856ed6303441b7982b25681e298bb6ffd /io/source/stm/odata.cxx
parentINTEGRATION: CWS warnings01 (1.3.132); FILE MERGED (diff)
downloadcore-d0ebece73e375ec34c201cd85cf3d51b14d9c787.tar.gz
core-d0ebece73e375ec34c201cd85cf3d51b14d9c787.zip
INTEGRATION: CWS warnings01 (1.8.36); FILE MERGED
2005/11/29 15:10:44 sb 1.8.36.4: #i53898# Made code warning-free. 2005/09/22 20:29:20 sb 1.8.36.3: RESYNC: (1.8-1.9); FILE MERGED 2005/09/07 14:14:54 sb 1.8.36.2: #i53898# Made code warning-free. 2005/09/01 08:14:28 sb 1.8.36.1: #i53898# Made code warning-free.
Diffstat (limited to 'io/source/stm/odata.cxx')
-rw-r--r--io/source/stm/odata.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx
index 3c822aaeec32..12f327db8c11 100644
--- a/io/source/stm/odata.cxx
+++ b/io/source/stm/odata.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: odata.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 18:30:46 $
+ * last change: $Author: hr $ $Date: 2006-06-20 00:17:40 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -509,7 +509,7 @@ Sequence< OUString > ODataInputStream::getSupportedServiceNames(void) throw ()
*
****/
-Reference< XInterface > SAL_CALL ODataInputStream_CreateInstance( const Reference < XComponentContext > & rSMgr ) throw( Exception)
+Reference< XInterface > SAL_CALL ODataInputStream_CreateInstance( const Reference < XComponentContext > & ) throw( Exception)
{
ODataInputStream *p = new ODataInputStream;
return Reference< XInterface > ( (OWeakObject * ) p );
@@ -916,7 +916,7 @@ Sequence< OUString > ODataOutputStream::getSupportedServiceNames(void) throw ()
-Reference< XInterface > SAL_CALL ODataOutputStream_CreateInstance( const Reference < XComponentContext > & rSMgr ) throw(Exception)
+Reference< XInterface > SAL_CALL ODataOutputStream_CreateInstance( const Reference < XComponentContext > & ) throw(Exception)
{
ODataOutputStream *p = new ODataOutputStream;
Reference< XInterface > xService = *p;
@@ -1156,7 +1156,7 @@ void OObjectOutputStream::connectToMarkable(void)
}
// find the markable stream !
- Reference< XInterface > rTry = m_output;
+ Reference< XInterface > rTry(m_output);
while( sal_True ) {
if( ! rTry.is() )
{
@@ -1225,7 +1225,7 @@ sal_Int32 OObjectOutputStream::offsetToMark(sal_Int32 nMark)
-Reference< XInterface > SAL_CALL OObjectOutputStream_CreateInstance( const Reference < XComponentContext > & rCtx )
+Reference< XInterface > SAL_CALL OObjectOutputStream_CreateInstance( const Reference < XComponentContext > & )
throw(Exception)
{
OObjectOutputStream *p = new OObjectOutputStream;
@@ -1314,9 +1314,9 @@ class OObjectInputStream :
{
public:
OObjectInputStream( const Reference < XComponentContext > &r)
- : m_bValidMarkable(sal_False)
+ : m_rSMgr( r->getServiceManager() )
, m_rCxt( r )
- , m_rSMgr( r->getServiceManager() )
+ , m_bValidMarkable(sal_False)
{
g_moduleCount.modCnt.acquire( &g_moduleCount.modCnt );
}
@@ -1526,7 +1526,7 @@ void OObjectInputStream::connectToMarkable()
}
// find the markable stream !
- Reference< XInterface > rTry = m_input;
+ Reference< XInterface > rTry(m_input);
while( sal_True ) {
if( ! rTry.is() )
{