Kaydet (Commit) 4d90bf7f authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

INTEGRATION: CWS hr50 (1.59.10); FILE MERGED

2008/03/05 17:44:29 hr 1.59.10.1: #i86574#: fix warning (gcc-4.2.3)
üst 87b4db74
......@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: webdavcontent.cxx,v $
* $Revision: 1.61 $
* $Revision: 1.62 $
*
* This file is part of OpenOffice.org.
*
......@@ -514,9 +514,10 @@ uno::Sequence< uno::Type > SAL_CALL Content::getTypes()
pFolderTypes = pCollection;
}
}
else
else {
OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER();
}
}
else
{
static cppu::OTypeCollection* pDocumentTypes = 0;
......@@ -545,9 +546,10 @@ uno::Sequence< uno::Type > SAL_CALL Content::getTypes()
pDocumentTypes = pCollection;
}
}
else
else {
OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER();
}
}
return (*pCollection).getTypes();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment