summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/objectinspectormodel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/propctrlr/objectinspectormodel.cxx')
-rw-r--r--extensions/source/propctrlr/objectinspectormodel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/propctrlr/objectinspectormodel.cxx b/extensions/source/propctrlr/objectinspectormodel.cxx
index 99447d5c8a3f..6ed1db687aa0 100644
--- a/extensions/source/propctrlr/objectinspectormodel.cxx
+++ b/extensions/source/propctrlr/objectinspectormodel.cxx
@@ -127,9 +127,9 @@ namespace pcr
return;
}
- sal_Int32 nMinHelpTextLines( 0 ), nMaxHelpTextLines( 0 );
if ( arguments.size() == 3 )
{ // constructor: "createWithHandlerFactoriesAndHelpSection( any[], long, long )"
+ sal_Int32 nMinHelpTextLines( 0 ), nMaxHelpTextLines( 0 );
impl_verifyArgument_throw( arguments[1] >>= nMinHelpTextLines, 2 );
impl_verifyArgument_throw( arguments[2] >>= nMaxHelpTextLines, 3 );
createWithHandlerFactoriesAndHelpSection( factories, nMinHelpTextLines, nMaxHelpTextLines );