diff options
Diffstat (limited to 'wizards')
4 files changed, 0 insertions, 8 deletions
diff --git a/wizards/com/sun/star/wizards/document/OfficeDocument.java b/wizards/com/sun/star/wizards/document/OfficeDocument.java index b2ca63020948..540c503bdf0f 100644 --- a/wizards/com/sun/star/wizards/document/OfficeDocument.java +++ b/wizards/com/sun/star/wizards/document/OfficeDocument.java @@ -60,12 +60,10 @@ public class OfficeDocument { private XWindowPeer xWindowPeer; - private XMultiServiceFactory xMSF; /** Creates a new instance of OfficeDocument */ public OfficeDocument(XMultiServiceFactory _xMSF) { - xMSF = _xMSF; } public static void attachEventCall(XComponent xComponent, String EventName, String EventType, String EventURL) diff --git a/wizards/com/sun/star/wizards/report/ReportTextDocument.java b/wizards/com/sun/star/wizards/report/ReportTextDocument.java index 7db1ff85e56f..cd6af8c937f8 100644 --- a/wizards/com/sun/star/wizards/report/ReportTextDocument.java +++ b/wizards/com/sun/star/wizards/report/ReportTextDocument.java @@ -57,7 +57,6 @@ class ReportTextDocument extends com.sun.star.wizards.text.TextDocument implemen private String sMsgTableNotExisting; private String sMsgCommonReportError; private String ContentTemplatePath; - private String LayoutTemplatePath; private String sMsgEndAutopilot; public boolean bIsCurLandscape; public TextTableHandler oTextTableHandler; @@ -160,7 +159,6 @@ class ReportTextDocument extends com.sun.star.wizards.text.TextDocument implemen { try { - this.LayoutTemplatePath = LayoutTemplatePath; boolean bOldIsCurLandscape = AnyConverter.toBoolean(Helper.getUnoPropertyValue(ReportPageStyle, ISLANDSCAPE)); oTextStyleHandler.loadStyleTemplates(LayoutTemplatePath, "LoadPageStyles"); changePageOrientation(bOldIsCurLandscape); diff --git a/wizards/com/sun/star/wizards/text/TextSectionHandler.java b/wizards/com/sun/star/wizards/text/TextSectionHandler.java index 931a0f30dd17..0500e60f6031 100644 --- a/wizards/com/sun/star/wizards/text/TextSectionHandler.java +++ b/wizards/com/sun/star/wizards/text/TextSectionHandler.java @@ -41,14 +41,12 @@ public class TextSectionHandler public XTextSectionsSupplier xTextSectionsSupplier; private XMultiServiceFactory xMSFDoc; - private XTextDocument xTextDocument; private XText xText; /** Creates a new instance of TextSectionHandler */ public TextSectionHandler(XMultiServiceFactory xMSF, XTextDocument xTextDocument) { this.xMSFDoc = xMSF; - this.xTextDocument = xTextDocument; xText = xTextDocument.getText(); xTextSectionsSupplier = UnoRuntime.queryInterface(XTextSectionsSupplier.class, xTextDocument); } diff --git a/wizards/com/sun/star/wizards/text/TextTableHandler.java b/wizards/com/sun/star/wizards/text/TextTableHandler.java index b61a080319fb..5b926145b0b7 100644 --- a/wizards/com/sun/star/wizards/text/TextTableHandler.java +++ b/wizards/com/sun/star/wizards/text/TextTableHandler.java @@ -48,7 +48,6 @@ public class TextTableHandler public XMultiServiceFactory xMSFDoc; public XTextDocument xTextDocument; public XSimpleText xSimpleText; - private XText xText; private NumberFormatter oNumberFormatter; private Locale aCharLocale; @@ -59,7 +58,6 @@ public class TextTableHandler { this.xMSFDoc = xMSF; this.xTextDocument = xTextDocument; - xText = xTextDocument.getText(); xTextTablesSupplier = UnoRuntime.queryInterface(XTextTablesSupplier.class, xTextDocument); xSimpleText = UnoRuntime.queryInterface(XSimpleText.class, xTextDocument.getText()); XNumberFormatsSupplier xNumberFormatsSupplier = UnoRuntime.queryInterface(XNumberFormatsSupplier.class, xTextDocument); |