summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2008-04-22 14:35:53 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2008-04-22 14:35:53 +0000
commit4d90bf7f44d90d805dd0eb515f98b849738cffbe (patch)
tree6dae48fd42d1d4ada70a64b75769968ec7cb1a3c /ucb/source
parent87b4db74c475690d7361d6a40f3f7698f5e55287 (diff)
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)
Diffstat (limited to 'ucb/source')
-rw-r--r--ucb/source/ucp/webdav/webdavcontent.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/ucb/source/ucp/webdav/webdavcontent.cxx b/ucb/source/ucp/webdav/webdavcontent.cxx
index 768eb8c87f1d..23ffd436dc67 100644
--- a/ucb/source/ucp/webdav/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav/webdavcontent.cxx
@@ -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,8 +514,9 @@ uno::Sequence< uno::Type > SAL_CALL Content::getTypes()
pFolderTypes = pCollection;
}
}
- else
+ else {
OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER();
+ }
}
else
{
@@ -545,8 +546,9 @@ uno::Sequence< uno::Type > SAL_CALL Content::getTypes()
pDocumentTypes = pCollection;
}
}
- else
+ else {
OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER();
+ }
}
return (*pCollection).getTypes();