[Libreoffice-commits] core.git: vcl/source
Chris Sherlock
chris.sherlock79 at gmail.com
Thu Jan 7 17:18:22 PST 2016
vcl/source/gdi/print3.cxx | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
New commits:
commit 13ee43524dcaa3299b460c22cbde6b7994032e6e
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date: Fri Jan 8 12:14:45 2016 +1100
vcl: silence Doxygen warning about mismatched param var names in print3.cxx
Change-Id: Iebc06047a7b10b81c2b5b8be7e9a54da3a1dfac6
diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx
index db90aff..23f6269 100644
--- a/vcl/source/gdi/print3.cxx
+++ b/vcl/source/gdi/print3.cxx
@@ -1444,26 +1444,26 @@ const PropertyValue* PrinterController::getValue( const OUString& i_rProperty )
return it != mpImplData->maPropertyToIndex.end() ? &mpImplData->maUIProperties[it->second] : nullptr;
}
-void PrinterController::setValue( const OUString& i_rName, const Any& i_rValue )
+void PrinterController::setValue( const OUString& i_rPropertyName, const Any& i_rValue )
{
PropertyValue aVal;
- aVal.Name = i_rName;
+ aVal.Name = i_rPropertyName;
aVal.Value = i_rValue;
setValue( aVal );
}
-void PrinterController::setValue( const PropertyValue& i_rValue )
+void PrinterController::setValue( const PropertyValue& i_rPropertyValue )
{
std::unordered_map< OUString, size_t, OUStringHash >::const_iterator it =
- mpImplData->maPropertyToIndex.find( i_rValue.Name );
+ mpImplData->maPropertyToIndex.find( i_rPropertyValue.Name );
if( it != mpImplData->maPropertyToIndex.end() )
- mpImplData->maUIProperties[ it->second ] = i_rValue;
+ mpImplData->maUIProperties[ it->second ] = i_rPropertyValue;
else
{
// insert correct index into property map
- mpImplData->maPropertyToIndex[ i_rValue.Name ] = mpImplData->maUIProperties.size();
- mpImplData->maUIProperties.push_back( i_rValue );
+ mpImplData->maPropertyToIndex[ i_rPropertyValue.Name ] = mpImplData->maUIProperties.size();
+ mpImplData->maUIProperties.push_back( i_rPropertyValue );
mpImplData->maUIPropertyEnabled.push_back( true );
}
}
More information about the Libreoffice-commits
mailing list