summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-01-26 16:53:44 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-01-26 17:06:42 +0100
commita567413c30e7797afea106d499c0cbb35171085f (patch)
tree5e68a568e162fadf97001aa6a5b4d73a4066baaf /extensions
parent4b68b6d323e555595b540946d5fcc6a2cd9ae2fe (diff)
-Werror,-Wignored-qualifiers (clang-cl)
Change-Id: I82d109db92d820df7a7d5875270c20449e77d0a5
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/ole/ole2uno.hxx2
-rw-r--r--extensions/source/ole/unoobjw.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/ole/ole2uno.hxx b/extensions/source/ole/ole2uno.hxx
index 346de1e95496..d341b45e6e21 100644
--- a/extensions/source/ole/ole2uno.hxx
+++ b/extensions/source/ole/ole2uno.hxx
@@ -59,7 +59,7 @@ using namespace std;
namespace ole_adapter
{
-const VARTYPE getVarType( const Any& val);
+VARTYPE getVarType( const Any& val);
/* creates a Type object for a given type name.
The function returns false if the name does not represent
diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx
index 2f1ad7feaf79..91363108337f 100644
--- a/extensions/source/ole/unoobjw.cxx
+++ b/extensions/source/ole/unoobjw.cxx
@@ -1618,7 +1618,7 @@ static HRESULT mapCannotConvertException(const CannotConvertException &e, unsign
// function returned VT_DISPATCH then the IDispatch of the same
// object is being returned.
// See InterfaceOleWrapper_Impl::Invoke, InterfaceOleWrapper_Impl::m_defaultValueType
-const VARTYPE getVarType( const Any& value)
+VARTYPE getVarType( const Any& value)
{
VARTYPE ret= VT_EMPTY;