summaryrefslogtreecommitdiff
path: root/desktop/source/lib/init.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/lib/init.cxx')
-rw-r--r--desktop/source/lib/init.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 78e8eeaf2180..af2eba39876a 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -432,12 +432,12 @@ static void extractLinks(const uno::Reference< container::XNameAccess >& xLinks,
{
const uno::Sequence< OUString > aNames( xLinks->getElementNames() );
- const sal_uLong nLinks = aNames.getLength();
+ const sal_Int32 nLinks = aNames.getLength();
const OUString* pNames = aNames.getConstArray();
static constexpr OUStringLiteral aProp_LinkDisplayName( u"LinkDisplayName" );
static constexpr OUStringLiteral aProp_LinkTarget( u"com.sun.star.document.LinkTarget" );
bool bIsTarget = false;
- for( sal_uLong i = 0; i < nLinks; i++ )
+ for( sal_Int32 i = 0; i < nLinks; i++ )
{
uno::Any aAny;
OUString aLink( *pNames++ );