summaryrefslogtreecommitdiff
path: root/sd/source/core/drawdoc3.cxx
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-01-16 14:06:21 +0100
committerDavid Tardon <dtardon@redhat.com>2013-01-22 13:37:25 +0100
commit34add900d03aa1ac194152f9f96d5b8b852a1175 (patch)
tree97d9e995bde1356a7be1997d089d00fff167f410 /sd/source/core/drawdoc3.cxx
parentc6a5e93b79e01e13185a909106d9dd6a68be63f6 (diff)
use already defined variable
Change-Id: Ibadc8327cef327625d6b4663c1487b126e2e6920
Diffstat (limited to 'sd/source/core/drawdoc3.cxx')
-rw-r--r--sd/source/core/drawdoc3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/core/drawdoc3.cxx b/sd/source/core/drawdoc3.cxx
index a3ff2ec52dd3..e7ac380512ba 100644
--- a/sd/source/core/drawdoc3.cxx
+++ b/sd/source/core/drawdoc3.cxx
@@ -419,7 +419,7 @@ sal_Bool SdDrawDocument::InsertBookmarkAsPage(
Orientation eOrient = pRefPage->GetOrientation();
SdPage* pNPage = GetSdPage(0, PK_NOTES);
- Size aNSize(GetSdPage(0, PK_NOTES)->GetSize());
+ Size aNSize(pNPage->GetSize());
sal_Int32 nNLeft = pNPage->GetLftBorder();
sal_Int32 nNRight = pNPage->GetRgtBorder();
sal_Int32 nNUpper = pNPage->GetUppBorder();