diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-20 10:34:01 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-21 08:32:47 +0200 |
commit | 5abc669599001bf888b97c4d3c2715e1fb7523b9 (patch) | |
tree | 2407c6fc040a795e6ffc69de02ba940285c04c7f /ucb/source | |
parent | 5bb308a9ad16f6002486a60e4a753693818580b6 (diff) |
new plugin stylepolice
check for local variables which follow our member field naming
convention, which is highly confusing
Change-Id: Idacedf7145d09843e96a584237b385f7662eea10
Diffstat (limited to 'ucb/source')
-rw-r--r-- | ucb/source/ucp/cmis/cmis_content.cxx | 20 | ||||
-rw-r--r-- | ucb/source/ucp/file/filglob.cxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/file/filrset.cxx | 6 |
3 files changed, 15 insertions, 15 deletions
diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx index 7ea714f12175..e4c64352c2ca 100644 --- a/ucb/source/ucp/cmis/cmis_content.cxx +++ b/ucb/source/ucp/cmis/cmis_content.cxx @@ -187,8 +187,8 @@ namespace { uno::Sequence< OUString > seqValue; value >>= seqValue; - sal_Int32 m_nNumValue = seqValue.getLength( ); - for ( sal_Int32 i = 0; i < m_nNumValue; ++i ) + sal_Int32 nNumValue = seqValue.getLength( ); + for ( sal_Int32 i = 0; i < nNumValue; ++i ) { values.push_back( OUSTR_TO_STDSTR( seqValue[i] ) ); } @@ -198,8 +198,8 @@ namespace { uno::Sequence< sal_Bool > seqValue; value >>= seqValue; - sal_Int32 m_nNumValue = seqValue.getLength( ); - for ( sal_Int32 i = 0; i < m_nNumValue; ++i ) + sal_Int32 nNumValue = seqValue.getLength( ); + for ( sal_Int32 i = 0; i < nNumValue; ++i ) { values.push_back( OUSTR_TO_STDSTR( OUString::boolean( seqValue[i] ) ) ); } @@ -209,8 +209,8 @@ namespace { uno::Sequence< sal_Int64 > seqValue; value >>= seqValue; - sal_Int32 m_nNumValue = seqValue.getLength( ); - for ( sal_Int32 i = 0; i < m_nNumValue; ++i ) + sal_Int32 nNumValue = seqValue.getLength( ); + for ( sal_Int32 i = 0; i < nNumValue; ++i ) { values.push_back( OUSTR_TO_STDSTR( OUString::number( seqValue[i] ) ) ); } @@ -220,8 +220,8 @@ namespace { uno::Sequence< double > seqValue; value >>= seqValue; - sal_Int32 m_nNumValue = seqValue.getLength( ); - for ( sal_Int32 i = 0; i < m_nNumValue; ++i ) + sal_Int32 nNumValue = seqValue.getLength( ); + for ( sal_Int32 i = 0; i < nNumValue; ++i ) { values.push_back( OUSTR_TO_STDSTR( OUString::number( seqValue[i] ) ) ); } @@ -231,8 +231,8 @@ namespace { uno::Sequence< util::DateTime > seqValue; value >>= seqValue; - sal_Int32 m_nNumValue = seqValue.getLength( ); - for ( sal_Int32 i = 0; i < m_nNumValue; ++i ) + sal_Int32 nNumValue = seqValue.getLength( ); + for ( sal_Int32 i = 0; i < nNumValue; ++i ) { OUStringBuffer aBuffer; ::sax::Converter::convertDateTime( aBuffer, seqValue[i], nullptr ); diff --git a/ucb/source/ucp/file/filglob.cxx b/ucb/source/ucp/file/filglob.cxx index 1f34f8fdea68..5b1613d9df5f 100644 --- a/ucb/source/ucp/file/filglob.cxx +++ b/ucb/source/ucp/file/filglob.cxx @@ -564,12 +564,12 @@ namespace fileaccess { PropertyValue prop; prop.Name = "ResourceName"; prop.Handle = -1; - OUString m_aClashingName( + OUString aClashingName( rtl::Uri::decode( getTitle(aUncPath), rtl_UriDecodeWithCharset, RTL_TEXTENCODING_UTF8)); - prop.Value <<= m_aClashingName; + prop.Value <<= aClashingName; Sequence<Any> seq(1); seq[0] <<= prop; excep.Arguments = seq; diff --git a/ucb/source/ucp/file/filrset.cxx b/ucb/source/ucp/file/filrset.cxx index 3fdfe61eab71..acace4e175c5 100644 --- a/ucb/source/ucp/file/filrset.cxx +++ b/ucb/source/ucp/file/filrset.cxx @@ -217,12 +217,12 @@ XResultSet_impl::OneMore( osl::FileBase::RC err; bool IsRegular; OUString aUnqPath; - osl::DirectoryItem m_aDirIte; + osl::DirectoryItem aDirIte; uno::Reference< sdbc::XRow > aRow; while( true ) { - err = m_aFolder.getNextItem( m_aDirIte ); + err = m_aFolder.getNextItem( aDirIte ); if( err == osl::FileBase::E_NOENT || err == osl::FileBase::E_INVAL ) { @@ -233,7 +233,7 @@ XResultSet_impl::OneMore( else if( err == osl::FileBase::E_None ) { aRow = m_pMyShell->getv( - this, m_sProperty, m_aDirIte, aUnqPath, IsRegular ); + this, m_sProperty, aDirIte, aUnqPath, IsRegular ); if( m_nOpenMode == ucb::OpenMode::DOCUMENTS && IsRegular ) { |