summaryrefslogtreecommitdiff
path: root/comphelper/source/officeinstdir
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 21:50:11 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 21:50:11 +0000
commit1502ce167a3f55ebd50ab550c1214636e570584e (patch)
treecc5a88621e488f5acb9d622fea1929d7457a38b2 /comphelper/source/officeinstdir
parent562b409c9155905e292b7afed6411ea09df70c35 (diff)
INTEGRATION: CWS warnings01 (1.3.130); FILE MERGED
2005/09/23 03:20:25 sb 1.3.130.2: RESYNC: (1.3-1.4); FILE MERGED 2005/09/08 13:16:53 sb 1.3.130.1: #i53898# Made code warning-free.
Diffstat (limited to 'comphelper/source/officeinstdir')
-rw-r--r--comphelper/source/officeinstdir/officeinstallationdirectories.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/comphelper/source/officeinstdir/officeinstallationdirectories.cxx b/comphelper/source/officeinstdir/officeinstallationdirectories.cxx
index 75c6229dc295..6e22529e8c5f 100644
--- a/comphelper/source/officeinstdir/officeinstallationdirectories.cxx
+++ b/comphelper/source/officeinstdir/officeinstallationdirectories.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: officeinstallationdirectories.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 02:54:13 $
+ * last change: $Author: hr $ $Date: 2006-06-19 22:50:11 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -234,7 +234,7 @@ OfficeInstallationDirectories::makeRelocatableURL( const rtl::OUString& URL )
}
else
{
- sal_Int32 nIndex = aCanonicalURL.indexOf( *m_pUserDir );
+ nIndex = aCanonicalURL.indexOf( *m_pUserDir );
if ( nIndex != -1 )
{
return rtl::OUString(
@@ -268,7 +268,7 @@ OfficeInstallationDirectories::makeAbsoluteURL( const rtl::OUString& URL )
}
else
{
- sal_Int32 nIndex = URL.indexOf( m_aUserDirMacro );
+ nIndex = URL.indexOf( m_aUserDirMacro );
if ( nIndex != -1 )
{
// late init m_pOfficeDir and m_pUserDir