summaryrefslogtreecommitdiff
path: root/sc/source/ui/sidebar
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 /sc/source/ui/sidebar
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 'sc/source/ui/sidebar')
-rw-r--r--sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx8
-rw-r--r--sc/source/ui/sidebar/CellBorderUpdater.cxx4
2 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx b/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx
index 670c55ac9292..5f39d8eb35bc 100644
--- a/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx
+++ b/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx
@@ -286,10 +286,10 @@ void CellAppearancePropertyPanel::NotifyItemUpdate(
if(pSvxLineItem)
{
- const editeng::SvxBorderLine* mbLineItem = pSvxLineItem->GetLine();
- mnIn = mbLineItem->GetInWidth();
- mnOut = mbLineItem->GetOutWidth();
- mnDis = mbLineItem->GetDistance();
+ const editeng::SvxBorderLine* pLineItem = pSvxLineItem->GetLine();
+ mnIn = pLineItem->GetInWidth();
+ mnOut = pLineItem->GetOutWidth();
+ mnDis = pLineItem->GetDistance();
if(mnIn == 0 && mnOut == 0 && mnDis == 0)
mbBorderStyleAvailable = false;
diff --git a/sc/source/ui/sidebar/CellBorderUpdater.cxx b/sc/source/ui/sidebar/CellBorderUpdater.cxx
index 80fb3461f4a8..12a87773182e 100644
--- a/sc/source/ui/sidebar/CellBorderUpdater.cxx
+++ b/sc/source/ui/sidebar/CellBorderUpdater.cxx
@@ -41,7 +41,7 @@ void CellBorderUpdater::UpdateCellBorder(bool bTop, bool bBot, bool bLeft, bool
BitmapEx aBmpEx( aImg.GetBitmapEx() );
Bitmap aBmp( aBmpEx.GetBitmap() );
BitmapWriteAccess* pBmpAcc = aBmp.AcquireWriteAccess();
- const Size maBmpSize = aBmp.GetSizePixel();
+ const Size aBmpSize = aBmp.GetSizePixel();
if( pBmpAcc )
{
@@ -58,7 +58,7 @@ void CellBorderUpdater::UpdateCellBorder(bool bTop, bool bBot, bool bLeft, bool
pBmpAcc->SetLineColor( ::Application::GetSettings().GetStyleSettings().GetFieldTextColor() ) ;
pBmpAcc->SetFillColor( COL_BLACK);
- if(maBmpSize.Width() == 43 && maBmpSize.Height() == 43)
+ if(aBmpSize.Width() == 43 && aBmpSize.Height() == 43)
{
Point aTL(2, 1), aTR(42,1), aBL(2, 41), aBR(42, 41), aHL(2,21), aHR(42, 21), aVT(22,1), aVB(22, 41);
if( pMskAcc )