Kaydet (Commit) 61ce99c9 authored tarafından Matúš Kukan's avatar Matúš Kukan

"ConditionalFormat" -> SC_UNONAME_CONDFMT

Change-Id: Ic6c461e0e91b37c94381e6303d91f4a8438ee600
üst 026f59d3
......@@ -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& )
{
......
......@@ -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& )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment