summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-05-31 13:01:18 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-05-31 13:09:04 +0100
commitc326e8c68748b8793272018c2c5fa414613aa722 (patch)
treead1d77af6df2c0b3bcd992172c445e7d07ebc3d8 /reportdesign
parentdbd01385199225ff7011811b28a75e88b0d2f8c8 (diff)
targetted revert of minor cppcheck cleanups
Change-Id: I2ec1bc3fd5dd5d38c2b3b9600265943083873515
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/report/ReportController.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx
index 43a69100bac7..a85de0c4f578 100644
--- a/reportdesign/source/ui/report/ReportController.cxx
+++ b/reportdesign/source/ui/report/ReportController.cxx
@@ -3201,7 +3201,7 @@ void OReportController::createControl(const Sequence< PropertyValue >& _aArgs,co
,PROPERTY_FORMATSSUPPLIER
,PROPERTY_BACKGROUNDCOLOR
};
- for(size_t i = 0; i < sizeof (nProps) / sizeof (nProps[0]);++i)
+ for(size_t i = 0; i < sizeof (sProps) / sizeof (sProps[0]); ++i)
{
if ( xInfo->hasPropertyByName(sProps[i]) && xShapeInfo->hasPropertyByName(sProps[i]) )
xUnoProp->setPropertyValue(sProps[i],xShapeProp->getPropertyValue(sProps[i]));