diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-12-19 10:19:28 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-12-22 10:20:09 +0100 |
commit | 61ce99c9fdb75631f5f34b9b1cda98e7e08af08d (patch) | |
tree | 9dbebe75ca5849d41666b1ddfc8132e640c75b84 | |
parent | 026f59d323e713b96faca2bfa6e3b88ce3cdffab (diff) |
"ConditionalFormat" -> SC_UNONAME_CONDFMT
Change-Id: Ic6c461e0e91b37c94381e6303d91f4a8438ee600
-rw-r--r-- | sc/source/ui/vba/vbaformatcondition.cxx | 3 | ||||
-rw-r--r-- | sc/source/ui/vba/vbaformatconditions.cxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbaformatcondition.cxx b/sc/source/ui/vba/vbaformatcondition.cxx index 8833c753a8e7..1098d5e8da86 100644 --- a/sc/source/ui/vba/vbaformatcondition.cxx +++ b/sc/source/ui/vba/vbaformatcondition.cxx @@ -18,6 +18,7 @@ */ #include "vbaformatcondition.hxx" #include "vbaformatconditions.hxx" +#include "unonames.hxx" #include <ooo/vba/excel/XlFormatConditionType.hpp> using namespace ::ooo::vba; @@ -147,7 +148,7 @@ ScVbaFormatCondition::notifyRange() throw ( script::BasicErrorException ) { try { - mxParentRangePropertySet->setPropertyValue("ConditionalFormat", uno::makeAny( mxSheetConditionalEntries) ); + mxParentRangePropertySet->setPropertyValue(SC_UNONAME_CONDFMT, uno::makeAny( mxSheetConditionalEntries)); } catch (uno::Exception& ) { diff --git a/sc/source/ui/vba/vbaformatconditions.cxx b/sc/source/ui/vba/vbaformatconditions.cxx index b8b74e070abe..be2c9a9db403 100644 --- a/sc/source/ui/vba/vbaformatconditions.cxx +++ b/sc/source/ui/vba/vbaformatconditions.cxx @@ -22,6 +22,7 @@ #include <com/sun/star/sheet/XSheetConditionalEntry.hpp> #include <cppuhelper/exc_hlp.hxx> #include <vector> +#include "unonames.hxx" #include "vbaformatconditions.hxx" #include "vbaformatcondition.hxx" #include "vbaworkbook.hxx" @@ -227,7 +228,7 @@ ScVbaFormatConditions::notifyRange() throw ( script::BasicErrorException ) { try { - mxParentRangePropertySet->setPropertyValue("ConditionalFormat", uno::makeAny( mxSheetConditionalEntries )); + mxParentRangePropertySet->setPropertyValue(SC_UNONAME_CONDFMT, uno::makeAny( mxSheetConditionalEntries )); } catch (uno::Exception& ) { |