summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-05-17 22:36:29 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-05-17 22:44:43 +0900
commit9902f0ee3d7b22e4984be7225370fb552da03838 (patch)
tree69d7fa35977328f6a605cc389177ab4ee353bedc /unotools
parentac6833f97921981050722bee3d3cfa13f0897566 (diff)
removed unused const rtl::OUString
Change-Id: I7c3409ac39e690fcf2f7e4085bf6857e6bd182fb
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/configitem.cxx1
-rw-r--r--unotools/source/config/pathoptions.cxx1
2 files changed, 0 insertions, 2 deletions
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<XHierarchicalNameAccess> 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();