diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-02-24 18:39:08 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-02-24 18:42:02 +0100 |
commit | 305bf19e390aebdf2d20ea052a92f782e8d1185c (patch) | |
tree | 7a94d504a364f03e998e73774eb10b162b173731 /sc/source/ui/unoobj/afmtuno.cxx | |
parent | e5444ae3e099e1279b9b685b623c6e50bb8efd3b (diff) |
loplugin: unused variables
And some fallout.
Change-Id: I8dfc12f3566e72d79d4f9930284c92577aa485a1
Diffstat (limited to 'sc/source/ui/unoobj/afmtuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/afmtuno.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/afmtuno.cxx b/sc/source/ui/unoobj/afmtuno.cxx index 85ca2477d5d0..b2137e8e7c3f 100644 --- a/sc/source/ui/unoobj/afmtuno.cxx +++ b/sc/source/ui/unoobj/afmtuno.cxx @@ -297,7 +297,6 @@ void SAL_CALL ScAutoFormatsObj::removeByName( const rtl::OUString& aName ) lang::WrappedTargetException, uno::RuntimeException) { SolarMutexGuard aGuard; - String aNameStr(aName); ScAutoFormat* pFormats = ScGlobal::GetOrCreateAutoFormat(); ScAutoFormat::iterator it = pFormats->find(aName); @@ -372,7 +371,6 @@ uno::Sequence<rtl::OUString> SAL_CALL ScAutoFormatsObj::getElementNames() { SolarMutexGuard aGuard; ScAutoFormat* pFormats = ScGlobal::GetOrCreateAutoFormat(); - String aName; uno::Sequence<rtl::OUString> aSeq(pFormats->size()); rtl::OUString* pAry = aSeq.getArray(); ScAutoFormat::const_iterator it = pFormats->begin(), itEnd = pFormats->end(); |