diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-18 12:05:53 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-11-18 12:44:37 +0200 |
commit | f5d1368659fdead1ae7ff5dc625a8c0d56d4da9a (patch) | |
tree | ce9ab3b2448f3c21d61576acc75ece16bd24c9ea /wizards/com/sun/star/wizards/text/TextDocument.java | |
parent | a3a57bebcd761a0c0910e482ffdc4a3f11cbcde5 (diff) |
java, wizards: remove unused local variables and fields
Change-Id: I77dfcaae8950397e0f22c9a3e744e744055b6cf3
Diffstat (limited to 'wizards/com/sun/star/wizards/text/TextDocument.java')
-rw-r--r-- | wizards/com/sun/star/wizards/text/TextDocument.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/wizards/com/sun/star/wizards/text/TextDocument.java b/wizards/com/sun/star/wizards/text/TextDocument.java index e836a818656f..43b2a56e7acb 100644 --- a/wizards/com/sun/star/wizards/text/TextDocument.java +++ b/wizards/com/sun/star/wizards/text/TextDocument.java @@ -266,7 +266,7 @@ public class TextDocument DocSize = getPageSize(); xMSFDoc = UnoRuntime.queryInterface(XMultiServiceFactory.class, xTextDocument); - ViewHandler myViewHandler = new ViewHandler(xMSFDoc, xTextDocument); + ViewHandler myViewHandler = new ViewHandler(xTextDocument); try { myViewHandler.setViewSetting("ZoomType", Short.valueOf(com.sun.star.view.DocumentZoomType.ENTIRE_PAGE)); @@ -307,7 +307,6 @@ public class TextDocument public TextDocument(XMultiServiceFactory xMSF, String URL, PropertyValue[] xArgs, XTerminateListener listener) { this.xMSF = xMSF; - XDesktop xDesktop = Desktop.getDesktop(xMSF); xFrame = OfficeDocument.createNewFrame(xMSF, listener); Object oDoc = OfficeDocument.load(xFrame, URL, "_self", xArgs); |