summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-02 19:56:47 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-02 19:56:47 +0200
commit9dc49453dca5a519ec680d4c2c0c85d97508c089 (patch)
tree49e28fcc21fc6a2960a45dad196d6a79f2c7aba5
parent4c449bc71224aa4055b9122275885951a39605db (diff)
-Werror,-Wdeprecated-declarations
Change-Id: Ia2c37fd20cec9e5b11f4518da33f18065d592783
-rw-r--r--sc/source/ui/unoobj/condformatuno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/condformatuno.cxx b/sc/source/ui/unoobj/condformatuno.cxx
index ad79b201b0c2..3d12b9752630 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;