summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-05-10 23:51:21 +0200
committerJulien Nabet <serval2412@yahoo.fr>2014-05-10 23:54:07 +0200
commitfa51b556800f332b311786770b3d6e57b65f615c (patch)
tree4218dbf7025f8d88550d941c2394c8c442324187 /extensions
parent2241dd8d83fa8a89502ad7985427c5c79d94ce21 (diff)
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part9
Change-Id: I82ed4a4868cb22566706ca0f4b1321e0d45016cf
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/resource/ResourceIndexAccess.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/resource/ResourceIndexAccess.cxx b/extensions/source/resource/ResourceIndexAccess.cxx
index 467108651f42..10bb0bc5fc1b 100644
--- a/extensions/source/resource/ResourceIndexAccess.cxx
+++ b/extensions/source/resource/ResourceIndexAccess.cxx
@@ -66,7 +66,7 @@ namespace
virtual ::com::sun::star::uno::Any SAL_CALL getByIndex( ::sal_Int32 Index ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XElementAccessBase
virtual ::com::sun::star::uno::Type SAL_CALL getElementType( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
- { return ::getCppuType(static_cast< OUString*>(0)); };
+ { return ::cppu::UnoType<OUString>::get(); };
};
class ResourceStringListIndexAccess : public ResourceIndexAccessBase