summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-27 09:22:13 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-28 09:31:16 +0000
commit43b4903db3e925c652e25c34362490f8adc9c5ec (patch)
treeaf12777b72d42280467e8cc19b914b2c7f4f3816 /ucb
parent7d6308dad9f4a079d57719a6e3a9c4cebb47d051 (diff)
teach stylepolice plugin about ref-counted-pointer naming
Change-Id: I6e91d22fc1826038c05ddb6fc065563c6a250752 Reviewed-on: https://gerrit.libreoffice.org/24459 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/file/shell.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/ucb/source/ucp/file/shell.cxx b/ucb/source/ucp/file/shell.cxx
index a6bdcbd2d4b5..6dd405ad5d63 100644
--- a/ucb/source/ucp/file/shell.cxx
+++ b/ucb/source/ucp/file/shell.cxx
@@ -653,21 +653,21 @@ shell::open( sal_Int32 CommandId,
const OUString& aUnqPath,
bool bLock )
{
- XInputStream_impl* xInputStream = new XInputStream_impl( aUnqPath, bLock ); // from filinpstr.hxx
+ XInputStream_impl* pInputStream = new XInputStream_impl( aUnqPath, bLock ); // from filinpstr.hxx
- sal_Int32 ErrorCode = xInputStream->CtorSuccess();
+ sal_Int32 ErrorCode = pInputStream->CtorSuccess();
if( ErrorCode != TASKHANDLER_NO_ERROR )
{
installError( CommandId,
ErrorCode,
- xInputStream->getMinorError() );
+ pInputStream->getMinorError() );
- delete xInputStream;
- xInputStream = nullptr;
+ delete pInputStream;
+ pInputStream = nullptr;
}
- return uno::Reference< io::XInputStream >( xInputStream );
+ return uno::Reference< io::XInputStream >( pInputStream );
}
@@ -686,20 +686,20 @@ shell::open_rw( sal_Int32 CommandId,
const OUString& aUnqPath,
bool bLock )
{
- XStream_impl* xStream = new XStream_impl( aUnqPath, bLock ); // from filstr.hxx
+ XStream_impl* pStream = new XStream_impl( aUnqPath, bLock ); // from filstr.hxx
- sal_Int32 ErrorCode = xStream->CtorSuccess();
+ sal_Int32 ErrorCode = pStream->CtorSuccess();
if( ErrorCode != TASKHANDLER_NO_ERROR )
{
installError( CommandId,
ErrorCode,
- xStream->getMinorError() );
+ pStream->getMinorError() );
- delete xStream;
- xStream = nullptr;
+ delete pStream;
+ pStream = nullptr;
}
- return uno::Reference< io::XStream >( xStream );
+ return uno::Reference< io::XStream >( pStream );
}