summaryrefslogtreecommitdiffstats
path: root/framework/source/dispatch/mailtodispatcher.cxx
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/dispatch/mailtodispatcher.cxx
parentRemove unused framework::WriteGuard::getMode (diff)
downloadcore-ab3acb7ef79fcae8776b8d1ce0e81da5698ef516.tar.gz
core-ab3acb7ef79fcae8776b8d1ce0e81da5698ef516.zip
Consolidate framework::{Read,Write}Guard
...now that it is obvious that they both do the same Change-Id: I6878acca4750ef4204fe32a695b6d9e1c5140115
Diffstat (limited to 'framework/source/dispatch/mailtodispatcher.cxx')
-rw-r--r--framework/source/dispatch/mailtodispatcher.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/dispatch/mailtodispatcher.cxx b/framework/source/dispatch/mailtodispatcher.cxx
index 72df6a7bd7b1..0be69d9e06c0 100644
--- a/framework/source/dispatch/mailtodispatcher.cxx
+++ b/framework/source/dispatch/mailtodispatcher.cxx
@@ -18,7 +18,7 @@
*/
#include <dispatch/mailtodispatcher.hxx>
-#include <threadhelp/readguard.hxx>
+#include <threadhelp/guard.hxx>
#include <general.h>
#include <services.h>
@@ -202,7 +202,7 @@ sal_Bool MailToDispatcher::implts_dispatch( const css::util::URL&
css::uno::Reference< css::uno::XComponentContext > xContext;
/* SAFE */{
- ReadGuard aReadLock( m_aLock );
+ Guard aReadLock( m_aLock );
xContext = m_xContext;
/* SAFE */}