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 /vcl/workben | |
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 'vcl/workben')
-rw-r--r-- | vcl/workben/vcldemo.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx index 9b77a41a6dba..1c95e32ba3dd 100644 --- a/vcl/workben/vcldemo.cxx +++ b/vcl/workben/vcldemo.cxx @@ -404,7 +404,7 @@ public: else aText = aLatinText; - std::vector<OUString> maFontNames; + std::vector<OUString> aFontNames; sal_uInt32 nCols[] = { COL_BLACK, COL_BLUE, COL_GREEN, COL_CYAN, COL_RED, COL_MAGENTA, @@ -420,7 +420,7 @@ public: size_t nNumFontNames = SAL_N_ELEMENTS(pNames); for (size_t i = 0; i < nNumFontNames; i++) - maFontNames.push_back(OUString::createFromAscii(pNames[i])); + aFontNames.push_back(OUString::createFromAscii(pNames[i])); if (bClip && !bRotate) { @@ -445,12 +445,12 @@ public: { // random font size to avoid buffering nFontHeight = 1 + i * (0.9 + comphelper::rng::uniform_real_distribution(0.0, std::nextafter(0.1, DBL_MAX))) * (r.Top() - r.Bottom()) / nPrintNumCopies; - nFontIndex = (i % maFontNames.size()); - nFontColorIndex=(i % maFontNames.size()); + nFontIndex = (i % aFontNames.size()); + nFontColorIndex=(i % aFontNames.size()); } rDev.SetTextColor(Color(nCols[nFontColorIndex])); - vcl::Font aFont( maFontNames[nFontIndex], Size(0, nFontHeight )); + vcl::Font aFont( aFontNames[nFontIndex], Size(0, nFontHeight )); if (bRotate) { |