sbxmod.cxx (07a3d7f1) sbxmod.cxx (32698fcc)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 788 unchanged lines hidden (view full) ---

797 Run( (SbMethod*) pVar );
798 pMOD = pOld;
799 }
800 }
801 }
802 else
803 {
804 // #i92642: Special handling for name property to avoid
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 788 unchanged lines hidden (view full) ---

797 Run( (SbMethod*) pVar );
798 pMOD = pOld;
799 }
800 }
801 }
802 else
803 {
804 // #i92642: Special handling for name property to avoid
805 // side effects when using name as variable implicitely
805 // side effects when using name as variable implicitly
806 bool bForwardToSbxObject = true;
807
808 sal_uIntPtr nId = pHint->GetId();
809 if( (nId == SBX_HINT_DATAWANTED || nId == SBX_HINT_DATACHANGED) &&
810 pVar->GetName().EqualsIgnoreCaseAscii( "name" ) )
811 bForwardToSbxObject = false;
812
813 if( bForwardToSbxObject )

--- 1887 unchanged lines hidden ---
806 bool bForwardToSbxObject = true;
807
808 sal_uIntPtr nId = pHint->GetId();
809 if( (nId == SBX_HINT_DATAWANTED || nId == SBX_HINT_DATACHANGED) &&
810 pVar->GetName().EqualsIgnoreCaseAscii( "name" ) )
811 bForwardToSbxObject = false;
812
813 if( bForwardToSbxObject )

--- 1887 unchanged lines hidden ---