diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2007-02-27 11:57:36 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2007-02-27 11:57:36 +0000 |
commit | 49a992bf35e8bd100f97894eaf9357e02d5cf819 (patch) | |
tree | ff2d296c614540e06f7ec0deeaff5809ed685e73 /sc | |
parent | 4bb52d8782f8354ddafa25fee12135f2191f1371 (diff) |
INTEGRATION: CWS calcwarnings (1.34.8); FILE MERGED
2006/12/18 09:35:23 nn 1.34.8.3: RESYNC: (1.34-1.35); FILE MERGED
2006/12/12 17:03:06 nn 1.34.8.2: #i69284# warning-free: ui, unxlngi6
2006/12/01 08:53:21 nn 1.34.8.1: #i69284# warning-free: ui, wntmsci10
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/app/drwtrans.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sc/source/ui/app/drwtrans.cxx b/sc/source/ui/app/drwtrans.cxx index cfcbcf5e983a..02413be4b176 100644 --- a/sc/source/ui/app/drwtrans.cxx +++ b/sc/source/ui/app/drwtrans.cxx @@ -4,9 +4,9 @@ * * $RCSfile: drwtrans.cxx,v $ * - * $Revision: 1.35 $ + * $Revision: 1.36 $ * - * last change: $Author: kz $ $Date: 2006-12-12 16:06:29 $ + * last change: $Author: vg $ $Date: 2007-02-27 12:57:36 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -118,8 +118,8 @@ using namespace com::sun::star; ScDrawTransferObj::ScDrawTransferObj( SdrModel* pClipModel, ScDocShell* pContainerShell, const TransferableObjectDescriptor& rDesc ) : - aObjDesc( rDesc ), pModel( pClipModel ), + aObjDesc( rDesc ), pBookmark( NULL ), bGraphic( FALSE ), bGrIsBit( FALSE ), @@ -204,7 +204,7 @@ ScDrawTransferObj::ScDrawTransferObj( SdrModel* pClipModel, ScDocShell* pContain String aUrl = sTmp; String aAbs; const SfxMedium* pMedium; - if (pContainerShell && (pMedium = pContainerShell->GetMedium())) + if (pContainerShell && (pMedium = pContainerShell->GetMedium()) != NULL) { bool bWasAbs = true; aAbs = pMedium->GetURLObject().smartRel2Abs( aUrl, bWasAbs ). @@ -409,7 +409,7 @@ sal_Bool ScDrawTransferObj::GetData( const ::com::sun::star::datatransfer::DataF if( aOleData.GetTransferable().is() && aOleData.HasFormat( rFlavor ) ) { - ULONG nOldSwapMode; + ULONG nOldSwapMode = 0; if( pModel ) { @@ -500,7 +500,7 @@ sal_Bool ScDrawTransferObj::GetData( const ::com::sun::star::datatransfer::DataF } sal_Bool ScDrawTransferObj::WriteObject( SotStorageStreamRef& rxOStm, void* pUserObject, sal_uInt32 nUserObjectId, - const ::com::sun::star::datatransfer::DataFlavor& rFlavor ) + const ::com::sun::star::datatransfer::DataFlavor& /* rFlavor */ ) { // called from SetObject, put data into stream @@ -680,7 +680,7 @@ void lcl_InitMarks( SdrMarkView& rDest, const SdrMarkView& rSource, SCTAB nTab ) { rDest.ShowSdrPage(rDest.GetModel()->GetPage(nTab)); SdrPageView* pDestPV = rDest.GetSdrPageView(); - DBG_ASSERT(pDestPV,"PageView ??!?!"); + DBG_ASSERT(pDestPV,"PageView ?"); const SdrMarkList& rMarkList = rSource.GetMarkedObjectList(); ULONG nCount = rMarkList.GetMarkCount(); |