summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-20 10:34:01 +0200
committerNoel Grandin <noel@peralex.com>2016-04-21 08:32:47 +0200
commit5abc669599001bf888b97c4d3c2715e1fb7523b9 (patch)
tree2407c6fc040a795e6ffc69de02ba940285c04c7f /io
parent5bb308a9ad16f6002486a60e4a753693818580b6 (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 'io')
-rw-r--r--io/source/TextInputStream/TextInputStream.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/io/source/TextInputStream/TextInputStream.cxx b/io/source/TextInputStream/TextInputStream.cxx
index a82bd4c1c9ff..1852ed855939 100644
--- a/io/source/TextInputStream/TextInputStream.cxx
+++ b/io/source/TextInputStream/TextInputStream.cxx
@@ -138,12 +138,12 @@ OTextInputStream::~OTextInputStream()
void OTextInputStream::implResizeBuffer()
{
- sal_Int32 mnNewBufferSize = mnBufferSize * 2;
- sal_Unicode* pNewBuffer = new sal_Unicode[ mnNewBufferSize ];
+ sal_Int32 nNewBufferSize = mnBufferSize * 2;
+ sal_Unicode* pNewBuffer = new sal_Unicode[ nNewBufferSize ];
memcpy( pNewBuffer, mpBuffer, mnCharsInBuffer * sizeof( sal_Unicode ) );
delete[] mpBuffer;
mpBuffer = pNewBuffer;
- mnBufferSize = mnNewBufferSize;
+ mnBufferSize = nNewBufferSize;
}