From 9902f0ee3d7b22e4984be7225370fb552da03838 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Thu, 17 May 2012 22:36:29 +0900 Subject: removed unused const rtl::OUString Change-Id: I7c3409ac39e690fcf2f7e4085bf6857e6bd182fb --- unotools/source/config/configitem.cxx | 1 - unotools/source/config/pathoptions.cxx | 1 - 2 files changed, 2 deletions(-) (limited to 'unotools') diff --git a/unotools/source/config/configitem.cxx b/unotools/source/config/configitem.cxx index 3aaeaf6dde61..9c6f01eecb8f 100644 --- a/unotools/source/config/configitem.cxx +++ b/unotools/source/config/configitem.cxx @@ -1114,7 +1114,6 @@ sal_Bool ConfigItem::ReplaceSetProperties( sal_Bool ConfigItem::getUniqueSetElementName( const ::rtl::OUString& _rSetNode, ::rtl::OUString& _rName) { - ::rtl::OUString sNewElementName; Reference xHierarchyAccess = GetTree(); sal_Bool bRet = sal_False; if(xHierarchyAccess.is()) diff --git a/unotools/source/config/pathoptions.cxx b/unotools/source/config/pathoptions.cxx index 443583088329..c18d004c94f4 100644 --- a/unotools/source/config/pathoptions.cxx +++ b/unotools/source/config/pathoptions.cxx @@ -372,7 +372,6 @@ OUString SvtPathOptions_Impl::SubstVar( const OUString& rVar ) const while ( ( nPosition != STRPOS_NOTFOUND ) && ( nLength > 0 ) ) { // YES; Get the next variable for replace. - OUString aReplacement; OUString aSubString = aWorkText.copy( nPosition, nLength ); aSubString = aSubString.toAsciiLowerCase(); -- cgit