From 5fb5f8fdbec549516b05cd2b8744bce62cf9338b Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Wed, 8 Sep 2004 14:45:14 +0000 Subject: INTEGRATION: CWS ooo20040704 (1.2.556); FILE MERGED 2004/06/28 11:12:08 waratah 1.2.556.1: #i30812# Remove unused variable, bracket a pragma not defined for gcc --- sfx2/source/statbar/stbitem.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sfx2/source/statbar') diff --git a/sfx2/source/statbar/stbitem.cxx b/sfx2/source/statbar/stbitem.cxx index 652a741b555d..ced15bd12dc4 100644 --- a/sfx2/source/statbar/stbitem.cxx +++ b/sfx2/source/statbar/stbitem.cxx @@ -2,9 +2,9 @@ * * $RCSfile: stbitem.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: mba $ $Date: 2001-09-06 08:47:59 $ + * last change: $Author: rt $ $Date: 2004-09-08 15:45:14 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -62,7 +62,9 @@ #ifndef _SFXSTRITEM_HXX //autogen #include #endif +#ifndef GCC #pragma hdrstop +#endif #include "stbitem.hxx" #include "sfxtypes.hxx" @@ -329,7 +331,7 @@ SfxStatusBarControl* SfxStatusBarControl::CreateControl TypeId aSlotType = pSlotPool->GetSlotType(nId); if ( aSlotType ) { - SfxDispatcher *pDisp = rBindings.GetDispatcher_Impl(); + rBindings.GetDispatcher_Impl(); if ( pMod ) { SfxStbCtrlFactArr_Impl *pFactories = pMod->GetStbCtrlFactories_Impl(); -- cgit