summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-02-25 03:12:24 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-02-25 03:14:01 +0100
commit89003e9bd84634ac252c7cace5c7dfb53af1126d (patch)
treef0b18c53ac327db6cd0d9864fad80bf5699eec12 /framework
parent405caad685edd0ba914789bda01b5dc9b3030773 (diff)
loplugin: unused variables
Change-Id: I63553a09eec81e5ae28aa79ee1d3281053b23d06
Diffstat (limited to 'framework')
-rw-r--r--framework/source/accelerators/acceleratorconfiguration.cxx1
-rw-r--r--framework/source/fwe/classes/addonsoptions.cxx2
-rw-r--r--framework/source/services/license.cxx1
-rw-r--r--framework/source/uielement/toolbarmanager.cxx2
4 files changed, 0 insertions, 6 deletions
diff --git a/framework/source/accelerators/acceleratorconfiguration.cxx b/framework/source/accelerators/acceleratorconfiguration.cxx
index 0f45b264119b..5df1ab22ff33 100644
--- a/framework/source/accelerators/acceleratorconfiguration.cxx
+++ b/framework/source/accelerators/acceleratorconfiguration.cxx
@@ -1326,7 +1326,6 @@ void XCUBasedAcceleratorConfiguration::impl_ts_load( sal_Bool bPreferred, const
break;
sToken[k] = sKey.getToken(0, '_', nIndex);
- ::rtl::OUString sTest = sToken[k];
if (sToken[k].isEmpty())
{
bValid = sal_False;
diff --git a/framework/source/fwe/classes/addonsoptions.cxx b/framework/source/fwe/classes/addonsoptions.cxx
index 077c3a3f90c7..09d075e4d337 100644
--- a/framework/source/fwe/classes/addonsoptions.cxx
+++ b/framework/source/fwe/classes/addonsoptions.cxx
@@ -887,7 +887,6 @@ sal_Bool AddonsOptions_Impl::ReadMenuMergeInstructions( MergeMenuInstructionCont
// Init the property value sequence
Sequence< ::rtl::OUString > aNodePropNames( 5 );
- ::rtl::OUString aURL;
for ( sal_uInt32 i = 0; i < nCount; i++ )
{
@@ -974,7 +973,6 @@ sal_Bool AddonsOptions_Impl::ReadToolbarMergeInstructions( ToolbarMergingInstruc
// Init the property value sequence
Sequence< ::rtl::OUString > aNodePropNames( 6 );
- ::rtl::OUString aURL;
for ( sal_uInt32 i = 0; i < nCount; i++ )
{
diff --git a/framework/source/services/license.cxx b/framework/source/services/license.cxx
index 82594b6a91a2..6d948742f2fb 100644
--- a/framework/source/services/license.cxx
+++ b/framework/source/services/license.cxx
@@ -199,7 +199,6 @@ static sal_Bool _parseDateTime(const ::rtl::OUString& aString, DateTime& aDateTi
static ::rtl::OUString _getCurrentDateString()
{
- ::rtl::OUString aString;
return _makeDateTimeString(DateTime( DateTime::SYSTEM));
}
diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx
index cf529fab137f..db99cdbb98f2 100644
--- a/framework/source/uielement/toolbarmanager.cxx
+++ b/framework/source/uielement/toolbarmanager.cxx
@@ -1505,8 +1505,6 @@ void ToolBarManager::RequestImages()
pIter = m_aCommandMap.begin();
while ( pIter != pEnd )
{
- rtl::OUString aCommandURL = aCmdURLSeq[i];
-
Image aImage;
if ( aDocGraphicSeq.getLength() > 0 )
aImage = Image( aDocGraphicSeq[i] );