Warning: unused variable 'sManufacturer' [loplugin]

Change-Id: Id0ce31dc4dc252539a7a4e955ebcca6c58b44148
This commit is contained in:
Tor Lillqvist
2013-03-25 11:51:35 +02:00
parent cadb3433b3
commit 124f7f1a03

View File

@@ -250,7 +250,6 @@ static Sequence<PropertyValue> lcl_CreateProperties(
// function fills SwLabDlg with label definitions for manufacturer rManufacturer
void SwLabelConfig::FillLabels(const OUString& rManufacturer, SwLabRecs& rLabArr)
{
OUString sManufacturer(wrapConfigurationElementName(rManufacturer));
if (m_aLabels.find(rManufacturer) == m_aLabels.end())
return;
for (std::map<OUString, SwLabelMeasure>::iterator it = m_aLabels[rManufacturer].begin();