summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2008-04-22 14:35:16 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2008-04-22 14:35:16 +0000
commitbd335c56c5a5b046adb3ff49a70cf0557db849a6 (patch)
tree674f5e3068b80a615206eadab887d5a890c8e4e8 /ucb
parent4ae4ace545ea37637673dfb540b3dc0407a2a211 (diff)
INTEGRATION: CWS hr50 (1.13.66); FILE MERGED
2008/03/05 14:22:23 hr 1.13.66.1: #i86574#: fix warning (gcc-4.2.3)
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_content.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_content.cxx b/ucb/source/ucp/tdoc/tdoc_content.cxx
index 4a9d40edd5..308dd0a934 100644
--- a/ucb/source/ucp/tdoc/tdoc_content.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_content.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: tdoc_content.cxx,v $
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
* This file is part of OpenOffice.org.
*
@@ -278,8 +278,9 @@ uno::Sequence< uno::Type > SAL_CALL Content::getTypes()
pFolderTypes = pCollection;
}
}
- else
+ else {
OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER();
+ }
}
else
{
@@ -309,8 +310,9 @@ uno::Sequence< uno::Type > SAL_CALL Content::getTypes()
pDocumentTypes = pCollection;
}
}
- else
+ else {
OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER();
+ }
}
return (*pCollection).getTypes();