summaryrefslogtreecommitdiff
path: root/desktop/source/app/check_ext_deps.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/app/check_ext_deps.cxx')
-rw-r--r--desktop/source/app/check_ext_deps.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/desktop/source/app/check_ext_deps.cxx b/desktop/source/app/check_ext_deps.cxx
index 9c7a300f01eb..6440786317e1 100644
--- a/desktop/source/app/check_ext_deps.cxx
+++ b/desktop/source/app/check_ext_deps.cxx
@@ -258,9 +258,10 @@ static bool impl_checkDependencies( const uno::Reference< uno::XComponentContext
throw uno::RuntimeException( e.Message, e.Context );
}
- sal_Int32 nMax = 2;
#ifdef DEBUG
- nMax = 3;
+ sal_Int32 const nMax = 3;
+#else
+ sal_Int32 const nMax = 2;
#endif
for ( sal_Int32 i = 0; i < xAllPackages.getLength(); ++i )