summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-12-27 14:03:18 +0200
committerTor Lillqvist <tml@iki.fi>2012-12-27 14:03:18 +0200
commit6943c7b11c92f3d4971704abcb213f57eaa4e115 (patch)
treeb1a21045df0ad88eb5216c0ab134f2e5ddc836f3 /basic
parentd72a0b5c618a37b70ba4d111b457deefad8f025f (diff)
Sigh, my git grep regexps missed some cases
Change-Id: I085f14f40fb83cba171b35b14cf7c0d99091fc00
Diffstat (limited to 'basic')
-rw-r--r--basic/source/runtime/iosys.cxx2
-rw-r--r--basic/source/runtime/runtime.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx
index 124608eaafc1..60ed9145612e 100644
--- a/basic/source/runtime/iosys.cxx
+++ b/basic/source/runtime/iosys.cxx
@@ -842,7 +842,7 @@ void SbiIoSystem::Shutdown()
if( !aOut.isEmpty() )
{
rtl::OUString aOutStr(rtl::OStringToOUString(aOut, osl_getThreadTextEncoding()));
-#if defined GCC
+#if defined __GNUC__
Window* pParent = Application::GetDefDialogParent();
MessBox( pParent, WinBits( WB_OK ), OUString(), aOutStr ).Execute();
#else
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index 122357733cae..f8309a0bf1af 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -555,7 +555,7 @@ SbiRuntime::SbiRuntime( SbModule* pm, SbMethod* pe, sal_uInt32 nStart )
nOps = 0;
refExprStk = new SbxArray;
SetVBAEnabled( pMod->IsVBACompat() );
-#if defined GCC
+#if defined __GNUC__
SetParameters( pe ? pe->GetParameters() : (class SbxArray *)NULL );
#else
SetParameters( pe ? pe->GetParameters() : NULL );