diff options
Diffstat (limited to 'ucb/source/ucp/file/filtask.hxx')
-rwxr-xr-x[-rw-r--r--] | ucb/source/ucp/file/filtask.hxx | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/ucb/source/ucp/file/filtask.hxx b/ucb/source/ucp/file/filtask.hxx index 6ce4f35b4240..f34ef10c88d2 100644..100755 --- a/ucb/source/ucp/file/filtask.hxx +++ b/ucb/source/ucp/file/filtask.hxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -28,7 +29,7 @@ #define _FILTASK_HXX_ #endif -#include <hash_map> +#include <boost/unordered_map.hpp> #include <rtl/ustring.hxx> #include "osl/mutex.hxx" @@ -39,7 +40,6 @@ #include <com/sun/star/task/XInteractionRequest.hpp> #include "filerror.hxx" - namespace fileaccess { class BaseContent; @@ -92,7 +92,7 @@ namespace fileaccess m_bHandled = true; } - bool isHandled() + bool isHandled() const { return true; } @@ -147,7 +147,7 @@ namespace fileaccess }; // end class TaskHandling - typedef std::hash_map< sal_Int32,TaskHandling,std::hash< sal_Int32 > > TaskMap; + typedef boost::unordered_map< sal_Int32,TaskHandling,boost::hash< sal_Int32 > > TaskMap; private: @@ -183,15 +183,6 @@ namespace fileaccess sal_Int32 ErrorCode, sal_Int32 minorCode = TASKHANDLER_NO_ERROR ); - -// void SAL_CALL installError( sal_Int32 CommandId, -// sal_Int32 ErrorCode, -// rtl::OUString message ); - -// void SAL_CALL installError( sal_Int32 CommandId, -// sal_Int32 ErrorCode, -// rtl::OUString message ); - void SAL_CALL retrieveError( sal_Int32 CommandId, sal_Int32 &ErrorCode, sal_Int32 &minorCode); @@ -223,3 +214,5 @@ namespace fileaccess }; } // end namespace TaskHandling + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |