Kaydet (Commit) 3b9dcfee authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:indentation in codemaker..comphelper

Change-Id: I8dee6245cfa1f7998591b31a3752bbbae13f499d
Reviewed-on: https://gerrit.libreoffice.org/67527
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 21b22421
...@@ -86,8 +86,7 @@ bool JavaOptions::initOptions(int ac, char* av[], bool bCmdFile) ...@@ -86,8 +86,7 @@ bool JavaOptions::initOptions(int ac, char* av[], bool bCmdFile)
case 'n': case 'n':
if (av[i][2] != 'D' || av[i][3] != '\0') if (av[i][2] != 'D' || av[i][3] != '\0')
{ {
OString tmp("'-nD', please check"); OString tmp("'-nD', please check your input '" + OString(av[i]) + "'");
tmp += " your input '" + OString(av[i]) + "'";
throw IllegalArgument(tmp); throw IllegalArgument(tmp);
} }
......
...@@ -196,7 +196,7 @@ OUString SAL_CALL NumberedCollection::getUntitledPrefix() ...@@ -196,7 +196,7 @@ OUString SAL_CALL NumberedCollection::getUntitledPrefix()
// SYNCHRONIZED -> // SYNCHRONIZED ->
::osl::ResettableMutexGuard aLock(m_aMutex); ::osl::ResettableMutexGuard aLock(m_aMutex);
{
TDeadItemList lDeadItems; TDeadItemList lDeadItems;
TNumberedItemHash::const_iterator pComponent; TNumberedItemHash::const_iterator pComponent;
...@@ -226,7 +226,7 @@ OUString SAL_CALL NumberedCollection::getUntitledPrefix() ...@@ -226,7 +226,7 @@ OUString SAL_CALL NumberedCollection::getUntitledPrefix()
// b) return first free number // b) return first free number
return *(lPossibleNumbers.begin ()); return *(lPossibleNumbers.begin ());
}
// <- SYNCHRONIZED // <- SYNCHRONIZED
} }
......
...@@ -152,8 +152,10 @@ namespace comphelper ...@@ -152,8 +152,10 @@ namespace comphelper
PropertyState OPropertyStateContainer::getPropertyStateByHandle( sal_Int32 _nHandle ) const PropertyState OPropertyStateContainer::getPropertyStateByHandle( sal_Int32 _nHandle ) const
{ {
// simply compare the current and the default value // simply compare the current and the default value
Any aCurrentValue; getFastPropertyValue( aCurrentValue, _nHandle ); Any aCurrentValue;
Any aDefaultValue; getPropertyDefaultByHandle( _nHandle, aDefaultValue ); getFastPropertyValue( aCurrentValue, _nHandle );
Any aDefaultValue;
getPropertyDefaultByHandle( _nHandle, aDefaultValue );
bool bEqual = uno_type_equalData( bool bEqual = uno_type_equalData(
const_cast< void* >( aCurrentValue.getValue() ), aCurrentValue.getValueType().getTypeLibType(), const_cast< void* >( aCurrentValue.getValue() ), aCurrentValue.getValueType().getTypeLibType(),
......
...@@ -146,7 +146,8 @@ namespace comphelper ...@@ -146,7 +146,8 @@ namespace comphelper
{ {
// simply compare the current and the default value // simply compare the current and the default value
Any aCurrentValue = getPropertyDefaultByHandle( _nHandle ); Any aCurrentValue = getPropertyDefaultByHandle( _nHandle );
Any aDefaultValue; getFastPropertyValue( aDefaultValue, _nHandle ); Any aDefaultValue;
getFastPropertyValue( aDefaultValue, _nHandle );
bool bEqual = uno_type_equalData( bool bEqual = uno_type_equalData(
const_cast< void* >( aCurrentValue.getValue() ), aCurrentValue.getValueType().getTypeLibType(), const_cast< void* >( aCurrentValue.getValue() ), aCurrentValue.getValueType().getTypeLibType(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment