diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-01-28 21:26:09 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-01-28 21:26:09 +0100 |
commit | 7947d959db2a84860cdfd479d95ea5b30fdba051 (patch) | |
tree | 4cc2ec4d16ee75d338f85d966b089ca5a0240097 /patches/vba/range-listBox-compare.diff | |
parent | 2786d0238b25d7bcc1408bb1a45a8f7f4bd1febd (diff) |
replace obsolete "master" branch with README that points at new repoHEADmaster-deletedmaster
Diffstat (limited to 'patches/vba/range-listBox-compare.diff')
-rw-r--r-- | patches/vba/range-listBox-compare.diff | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/patches/vba/range-listBox-compare.diff b/patches/vba/range-listBox-compare.diff deleted file mode 100644 index 4d260cb76..000000000 --- a/patches/vba/range-listBox-compare.diff +++ /dev/null @@ -1,35 +0,0 @@ -diff --git basic/source/runtime/step0.cxx basic/source/runtime/step0.cxx -index 25adf15..cbd2fad 100644 ---- basic/source/runtime/step0.cxx -+++ basic/source/runtime/step0.cxx -@@ -109,19 +109,24 @@ void SbiRuntime::StepCompare( SbxOperato - // values ( and type ) set as appropriate - SbxDataType p1Type = p1->GetType(); - SbxDataType p2Type = p2->GetType(); -+ if ( p1Type == SbxEMPTY ) -+ { -+ p1->Broadcast( SBX_HINT_DATAWANTED ); -+ p1Type = p1->GetType(); -+ } -+ if ( p2Type == SbxEMPTY ) -+ { -+ p2->Broadcast( SBX_HINT_DATAWANTED ); -+ p2Type = p2->GetType(); -+ } - if ( p1Type == p2Type ) - { -- if ( p1Type == SbxEMPTY ) -- { -- p1->Broadcast( SBX_HINT_DATAWANTED ); -- p2->Broadcast( SBX_HINT_DATAWANTED ); -- } - // if both sides are an object and have default props - // then we need to use the default props - // we don't need to worry if only one side ( lhs, rhs ) is an - // object ( object side will get coerced to correct type in - // Compare ) -- else if ( p1Type == SbxOBJECT ) -+ if ( p1Type == SbxOBJECT ) - { - SbxVariable* pDflt = getDefaultProp( p1 ); - if ( pDflt ) |