summaryrefslogtreecommitdiff
path: root/unotools/source/ucbhelper
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 13:09:51 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 13:09:51 +0000
commitb128283cf17ce0b73cf68faa456b960b4bbcc25b (patch)
tree1df16fcc83ac8162cfecae4aa0ebcfb79ab2c0c9 /unotools/source/ucbhelper
parent409dab2c26b5b973586e02a02e1ac43648e3ed48 (diff)
INTEGRATION: CWS warnings01 (1.22.16); FILE MERGED
2006/04/07 17:53:28 sb 1.22.16.4: RESYNC: (1.22-1.23); FILE MERGED 2005/12/21 11:32:04 fs 1.22.16.3: #i55991# warning-free code 2005/10/27 10:51:18 pl 1.22.16.2: #i55991# removed warnings for solaris platform 2005/10/21 09:49:01 dbo 1.22.16.1: #i53898# warning free code
Diffstat (limited to 'unotools/source/ucbhelper')
-rw-r--r--unotools/source/ucbhelper/tempfile.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/unotools/source/ucbhelper/tempfile.cxx b/unotools/source/ucbhelper/tempfile.cxx
index b4d8f7ab22f0..bb450c06da4c 100644
--- a/unotools/source/ucbhelper/tempfile.cxx
+++ b/unotools/source/ucbhelper/tempfile.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: tempfile.cxx,v $
*
- * $Revision: 1.23 $
+ * $Revision: 1.24 $
*
- * last change: $Author: rt $ $Date: 2006-02-07 10:28:13 $
+ * last change: $Author: hr $ $Date: 2006-06-19 14:09:51 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -195,7 +195,7 @@ String ConstructTempDir_Impl( const String* pParent )
}
// Make sure that directory ends with a separator
- sal_Int32 i = aName.Len();
+ xub_StrLen i = aName.Len();
if( i>0 && aName.GetChar(i-1) != '/' )
aName += '/';
@@ -210,7 +210,6 @@ void CreateTempName_Impl( String& rName, sal_Bool bKeep, sal_Bool bDir = sal_Tru
const unsigned nRadix = 26;
String aName( rName );
aName += String::CreateFromAscii( "sv" );
- sal_Int32 i = aName.Len();
rName.Erase();
static unsigned long u = Time::GetSystemTicks();
@@ -481,4 +480,4 @@ String TempFile::GetTempNameBaseDirectory()
return aTmp;
}
-};
+}