summaryrefslogtreecommitdiff
path: root/framework/source/xml
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-17 16:14:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-17 16:52:34 +0100
commitab3acb7ef79fcae8776b8d1ce0e81da5698ef516 (patch)
tree0dad3a5d6c6897887cc8ff5c6837d83b7e89a070 /framework/source/xml
parent803a8a04e980d24bf6c336e4416615a49614367f (diff)
Consolidate framework::{Read,Write}Guard
...now that it is obvious that they both do the same Change-Id: I6878acca4750ef4204fe32a695b6d9e1c5140115
Diffstat (limited to 'framework/source/xml')
-rw-r--r--framework/source/xml/acceleratorconfigurationwriter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/xml/acceleratorconfigurationwriter.cxx b/framework/source/xml/acceleratorconfigurationwriter.cxx
index f18a72b9de21..82f98c1a5bb6 100644
--- a/framework/source/xml/acceleratorconfigurationwriter.cxx
+++ b/framework/source/xml/acceleratorconfigurationwriter.cxx
@@ -20,7 +20,7 @@
#include <xml/acceleratorconfigurationwriter.hxx>
#include <acceleratorconst.h>
-#include <threadhelp/readguard.hxx>
+#include <threadhelp/guard.hxx>
#include <com/sun/star/xml/sax/XExtendedDocumentHandler.hpp>
#include <com/sun/star/xml/sax/XAttributeList.hpp>
@@ -53,7 +53,7 @@ AcceleratorConfigurationWriter::~AcceleratorConfigurationWriter()
void AcceleratorConfigurationWriter::flush()
{
// SAFE -> ----------------------------------
- ReadGuard aReadLock(m_aLock);
+ Guard aReadLock(m_aLock);
css::uno::Reference< css::xml::sax::XDocumentHandler > xCFG = m_xConfig;
css::uno::Reference< css::xml::sax::XExtendedDocumentHandler > xExtendedCFG(m_xConfig, css::uno::UNO_QUERY_THROW);