summaryrefslogtreecommitdiff
path: root/ucb
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
commita6c5712109687fb272b6226fcad3b3e94c2d6190 (patch)
tree221d6dac956e1bf0f73da8735d4a42fd78318ac2 /ucb
parentfdabdbca60ee915d2ebaa35e38863acd09dc1eb8 (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')
-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 3de4d9f75e..3256aa84b6 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();