Kaydet (Commit) b2fdaed4 authored tarafından Caolán McNamara's avatar Caolán McNamara

WaE: MSVC2008 C2220 unsafe mix of types in operation

üst 6f9971f3
......@@ -73,7 +73,7 @@ protected:
SbiImage* pImage; // the Image
SbiBreakpoints* pBreaks; // Breakpoints
SbClassData* pClassData;
sal_Bool mbVBACompat;
bool mbVBACompat;
sal_Int32 mnType;
SbxObjectRef pDocObject; // an impl object ( used by Document Modules )
bool bIsProxyModule;
......@@ -139,8 +139,8 @@ public:
sal_Bool ExceedsLegacyModuleSize();
void fixUpMethodStart( bool bCvtToLegacy, SbiImage* pImg = NULL ) const;
bool HasExeCode();
sal_Bool IsVBACompat() const;
void SetVBACompat( sal_Bool bCompat );
bool IsVBACompat() const;
void SetVBACompat( bool bCompat );
sal_Int32 GetModuleType() { return mnType; }
void SetModuleType( sal_Int32 nType ) { mnType = nType; }
bool isProxyModule() { return bIsProxyModule; }
......
......@@ -1077,15 +1077,17 @@ void ClearUnoObjectsInRTL_Impl( StarBASIC* pBasic )
if( ((StarBASIC*)p) != pBasic )
ClearUnoObjectsInRTL_Impl_Rek( (StarBASIC*)p );
}
sal_Bool SbModule::IsVBACompat() const
bool SbModule::IsVBACompat() const
{
return mbVBACompat;
}
void SbModule::SetVBACompat( sal_Bool bCompat )
void SbModule::SetVBACompat( bool bCompat )
{
mbVBACompat = bCompat;
}
// Run a Basic-subprogram
sal_uInt16 SbModule::Run( SbMethod* pMeth )
{
......
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