diff options
Diffstat (limited to 'editors/libreoffice/files/patch-extensions__source__resource__ResourceIndexAccess.cxx')
-rw-r--r-- | editors/libreoffice/files/patch-extensions__source__resource__ResourceIndexAccess.cxx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/editors/libreoffice/files/patch-extensions__source__resource__ResourceIndexAccess.cxx b/editors/libreoffice/files/patch-extensions__source__resource__ResourceIndexAccess.cxx new file mode 100644 index 000000000000..6d8ac3ce1707 --- /dev/null +++ b/editors/libreoffice/files/patch-extensions__source__resource__ResourceIndexAccess.cxx @@ -0,0 +1,20 @@ +--- ./extensions/source/resource/ResourceIndexAccess.cxx.orig 2012-07-03 07:01:28.000000000 -0400 ++++ ./extensions/source/resource/ResourceIndexAccess.cxx 2012-07-18 15:15:23.000000000 -0400 +@@ -94,7 +94,7 @@ + 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); + // XElementAccessBase + virtual ::com::sun::star::uno::Type SAL_CALL getElementType( ) throw (::com::sun::star::uno::RuntimeException) +- { return ::getCppuType(reinterpret_cast< ::rtl::OUString*>(NULL)); }; ++ { return ::getCppuType(static_cast< ::rtl::OUString*>(0)); }; + }; + + class ResourceStringListIndexAccess : public ResourceIndexAccessBase +@@ -106,7 +106,7 @@ + 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); + // XElementAccessBase + virtual ::com::sun::star::uno::Type SAL_CALL getElementType( ) throw (::com::sun::star::uno::RuntimeException) +- { return ::getCppuType(reinterpret_cast<Sequence<PropertyValue> * >(NULL)); }; ++ { return ::getCppuType(static_cast<Sequence<PropertyValue> * >(0)); }; + }; + } + |