summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/sdview5.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/sdview5.cxx')
-rw-r--r--sd/source/ui/view/sdview5.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/sdview5.cxx b/sd/source/ui/view/sdview5.cxx
index 2cc5ccad7c4b..c28d2c5658cf 100644
--- a/sd/source/ui/view/sdview5.cxx
+++ b/sd/source/ui/view/sdview5.cxx
@@ -61,7 +61,7 @@ SdrObject* View::GetEmptyPresentationObject( PresObjKind eKind )
if( pPV )
{
SdPage* pPage = static_cast< SdPage* >( pPV->GetPage() );
- if( pPage )
+ if( pPage && !pPage->IsMasterPage() )
{
// first try selected shape
if ( AreObjectsMarked() )