diff options
Diffstat (limited to 'ucb/source')
-rw-r--r-- | ucb/source/ucp/hierarchy/hierarchycontent.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ucb/source/ucp/hierarchy/hierarchycontent.cxx b/ucb/source/ucp/hierarchy/hierarchycontent.cxx index 14e0f8865cb6..b3dfaba1fbb8 100644 --- a/ucb/source/ucp/hierarchy/hierarchycontent.cxx +++ b/ucb/source/ucp/hierarchy/hierarchycontent.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: hierarchycontent.cxx,v $ - * $Revision: 1.30 $ + * $Revision: 1.31 $ * * This file is part of OpenOffice.org. * @@ -262,8 +262,9 @@ uno::Sequence< uno::Type > SAL_CALL HierarchyContent::getTypes() pFolderTypes = pCollection; } } - else + else { OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER(); + } } else { @@ -293,8 +294,9 @@ uno::Sequence< uno::Type > SAL_CALL HierarchyContent::getTypes() pDocumentTypes = pCollection; } } - else + else { OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER(); + } } return (*pCollection).getTypes(); |