[Libreoffice-commits] core.git: sc/source

Stephan Bergmann sbergman at redhat.com
Thu Apr 2 10:57:21 PDT 2015


 sc/source/ui/unoobj/condformatuno.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9dc49453dca5a519ec680d4c2c0c85d97508c089
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Apr 2 19:56:47 2015 +0200

    -Werror,-Wdeprecated-declarations
    
    Change-Id: Ia2c37fd20cec9e5b11f4518da33f18065d592783

diff --git a/sc/source/ui/unoobj/condformatuno.cxx b/sc/source/ui/unoobj/condformatuno.cxx
index ad79b20..3d12b97 100644
--- a/sc/source/ui/unoobj/condformatuno.cxx
+++ b/sc/source/ui/unoobj/condformatuno.cxx
@@ -279,7 +279,7 @@ const SfxItemPropertyMapEntry* getCondDatePropSet()
     static const SfxItemPropertyMapEntry aCondDatePropertyMap_Impl[] =
     {
         {OUString("StyleName"), StyleName, cppu::UnoType<OUString>::get(), 0, 0},
-        {OUString("DateType"), Icons, getCppuType(&sheet::DateType::TODAY), 0, 0 },
+        {OUString("DateType"), Icons, cppu::UnoType<decltype(sheet::DateType::TODAY)>::get(), 0, 0 },
         {OUString(), 0, css::uno::Type(), 0, 0}
     };
     return aCondDatePropertyMap_Impl;


More information about the Libreoffice-commits mailing list