[Libreoffice-commits] .: binfilter/bf_forms
Thomas Arnhold
tarnhold at kemper.freedesktop.org
Sun Jan 30 14:43:43 PST 2011
binfilter/bf_forms/source/component/forms_Columns.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 09a129a48187afaa0b44e8928750dddc27c30c4f
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Sun Jan 30 23:42:15 2011 +0100
Revert "cppcheck: remove unused variable pProps."
This reverts commit 6ada77e610f1ca067bf5b937b9e640a192f72033.
Macros DECL_PROP* are using nProps.
diff --git a/binfilter/bf_forms/source/component/forms_Columns.cxx b/binfilter/bf_forms/source/component/forms_Columns.cxx
index 54632bd..8e5c009 100644
--- a/binfilter/bf_forms/source/component/forms_Columns.cxx
+++ b/binfilter/bf_forms/source/component/forms_Columns.cxx
@@ -341,6 +341,7 @@ void OGridColumn::clearAggregateProperties(Sequence<Property>& seqProps, sal_Boo
void OGridColumn::setOwnProperties(Sequence<Property>& aDescriptor)
{
aDescriptor.realloc(5);
+ Property* pProps = aDescriptor.getArray();
sal_Int32 nPos = 0;
DECL_PROP1(LABEL, ::rtl::OUString, BOUND);
DECL_PROP3(WIDTH, sal_Int32, BOUND, MAYBEVOID, MAYBEDEFAULT);
More information about the Libreoffice-commits
mailing list