summaryrefslogtreecommitdiff
path: root/sd/source/ui/app
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-11 12:50:39 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-11 12:50:39 +0200
commitf9e73fe26b3319c851e8d54dac0dbb2acc65f847 (patch)
tree912e49d738a13358710b9aaaf347a9880b511f0d /sd/source/ui/app
parent68ebb45c01eabbd1f6e67b70926093b8ccad43bd (diff)
loplugin:cstylecast: nop between pointer types of exactly same spelling
Change-Id: Ia78ebb57f69c678ddc4ca2b42c82105fa528ff2b
Diffstat (limited to 'sd/source/ui/app')
-rw-r--r--sd/source/ui/app/sdmod2.cxx2
-rw-r--r--sd/source/ui/app/sdxfer.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/app/sdmod2.cxx b/sd/source/ui/app/sdmod2.cxx
index 9e8ea11ddae4..5025cab3d5e4 100644
--- a/sd/source/ui/app/sdmod2.cxx
+++ b/sd/source/ui/app/sdmod2.cxx
@@ -554,7 +554,7 @@ void SdModule::ApplyItemSet( sal_uInt16 nSlot, const SfxItemSet& rSet )
SdOptions* pOptions = GetSdOptions(eDocType);
// Grid
if( SfxItemState::SET == rSet.GetItemState( SID_ATTR_GRID_OPTIONS ,
- false, (const SfxPoolItem**) &pItem ))
+ false, &pItem ))
{
const SdOptionsGridItem* pGridItem = static_cast<const SdOptionsGridItem*>(pItem);
pGridItem->SetOptions( pOptions );
diff --git a/sd/source/ui/app/sdxfer.cxx b/sd/source/ui/app/sdxfer.cxx
index 587ead7f68ac..f90cac33d578 100644
--- a/sd/source/ui/app/sdxfer.cxx
+++ b/sd/source/ui/app/sdxfer.cxx
@@ -723,7 +723,7 @@ void SdTransferable::SetPageBookmarks( const std::vector<OUString> &rPageBookmar
if( pPage )
{
- ( (SdrMarkView*) mpSdViewIntern )->MarkAllObj( (SdrPageView*) mpSdViewIntern->ShowSdrPage( pPage ) );
+ ( (SdrMarkView*) mpSdViewIntern )->MarkAllObj( mpSdViewIntern->ShowSdrPage( pPage ) );
}
}