Kaydet (Commit) 2864db07 authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

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)
üst dacb2494
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite * OpenOffice.org - a multi-platform office productivity suite
* *
* $RCSfile: tdoc_content.cxx,v $ * $RCSfile: tdoc_content.cxx,v $
* $Revision: 1.15 $ * $Revision: 1.16 $
* *
* This file is part of OpenOffice.org. * This file is part of OpenOffice.org.
* *
...@@ -278,8 +278,9 @@ uno::Sequence< uno::Type > SAL_CALL Content::getTypes() ...@@ -278,8 +278,9 @@ uno::Sequence< uno::Type > SAL_CALL Content::getTypes()
pFolderTypes = pCollection; pFolderTypes = pCollection;
} }
} }
else else {
OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER(); OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER();
}
} }
else else
{ {
...@@ -309,8 +310,9 @@ uno::Sequence< uno::Type > SAL_CALL Content::getTypes() ...@@ -309,8 +310,9 @@ uno::Sequence< uno::Type > SAL_CALL Content::getTypes()
pDocumentTypes = pCollection; pDocumentTypes = pCollection;
} }
} }
else else {
OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER(); OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER();
}
} }
return (*pCollection).getTypes(); 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