summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno/unotxdoc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uno/unotxdoc.cxx')
-rw-r--r--sw/source/uibase/uno/unotxdoc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx
index 7c4162a9a2f1..c3afd987974f 100644
--- a/sw/source/uibase/uno/unotxdoc.cxx
+++ b/sw/source/uibase/uno/unotxdoc.cxx
@@ -3092,8 +3092,8 @@ Size SwXTextDocument::getDocumentSize()
SwViewShell* pViewShell = pDocShell->GetWrtShell();
Size aDocSize = pViewShell->GetDocSize();
- return Size(aDocSize.Width() + 2L * DOCUMENTBORDER,
- aDocSize.Height() + 2L * DOCUMENTBORDER);
+ return Size(aDocSize.Width() + 2 * DOCUMENTBORDER,
+ aDocSize.Height() + 2 * DOCUMENTBORDER);
}
void SwXTextDocument::setPart(int nPart)