diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 21:27:20 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 21:27:20 +0000 |
commit | 742dd88f4d9b00475540bcf56366582696d71546 (patch) | |
tree | 1b8ba78cddccda3c4ae2eb09b926b437d61e3c26 /sfx2/source/doc/doctempl.cxx | |
parent | 01fafd3f67b44a4b63f5a1931d1a707b557c3289 (diff) |
INTEGRATION: CWS warnings01 (1.65.48); FILE MERGED
2005/11/28 16:16:17 cd 1.65.48.1: #i55991# Remove warnings
Diffstat (limited to 'sfx2/source/doc/doctempl.cxx')
-rw-r--r-- | sfx2/source/doc/doctempl.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx index 33aaa8242001..fc1a6a45dcff 100644 --- a/sfx2/source/doc/doctempl.cxx +++ b/sfx2/source/doc/doctempl.cxx @@ -4,9 +4,9 @@ * * $RCSfile: doctempl.cxx,v $ * - * $Revision: 1.65 $ + * $Revision: 1.66 $ * - * last change: $Author: hr $ $Date: 2005-09-30 10:24:23 $ + * last change: $Author: hr $ $Date: 2006-06-19 22:27:20 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -267,7 +267,7 @@ public: sal_Bool DeleteObjectShell(); }; -}; +} using namespace ::DocTempl; @@ -275,7 +275,7 @@ using namespace ::DocTempl; class RegionData_Impl { - DECLARE_LIST( EntryList_Impl, DocTempl_EntryData_Impl* ); + DECLARE_LIST( EntryList_Impl, DocTempl_EntryData_Impl* ) const SfxDocTemplate_Impl* mpParent; EntryList_Impl maEntries; OUString maTitle; @@ -317,7 +317,7 @@ public: int Compare( RegionData_Impl* pCompareWith ) const; }; -DECLARE_LIST( RegionList_Impl, RegionData_Impl* ); +DECLARE_LIST( RegionList_Impl, RegionData_Impl* ) // ------------------------------------------------------------------------ @@ -1418,11 +1418,11 @@ sal_Bool SfxDocumentTemplates::InsertDir if ( xTemplates->addGroup( rText ) ) { - RegionData_Impl* pRegion = new RegionData_Impl( pImp, rText ); + RegionData_Impl* pNewRegion = new RegionData_Impl( pImp, rText ); - if ( ! pImp->InsertRegion( pRegion, nRegion ) ) + if ( ! pImp->InsertRegion( pNewRegion, nRegion ) ) { - delete pRegion; + delete pNewRegion; return sal_False; } return sal_True; @@ -2403,7 +2403,7 @@ sal_Bool SfxDocTemplate_Impl::Construct( ) // ----------------------------------------------------------------------- void SfxDocTemplate_Impl::GetTemplates( Content& rTargetFolder, - Content& rParentFolder, + Content& /*rParentFolder*/, RegionData_Impl* pRegion ) { Reference< XResultSet > xResultSet; |