Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
27459c71
Kaydet (Commit)
27459c71
authored
Agu 05, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
java: remove unused fields
Change-Id: I25fef9590a34ec8d9aab182b3d267ae3cd649a87
üst
8d6cf7a1
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
1 addition
and
101 deletions
+1
-101
LocalOfficeConnection.java
bean/com/sun/star/beans/LocalOfficeConnection.java
+1
-5
LocalOfficeConnection.java
bean/com/sun/star/comp/beans/LocalOfficeConnection.java
+0
-4
Bug107753_Test.java
bridges/test/java_remote/Bug107753_Test.java
+0
-3
FlatFileAccess.java
connectivity/qa/complex/connectivity/FlatFileAccess.java
+0
-5
OptionsEventHandler.java
...m/sun/star/comp/extensionoptions/OptionsEventHandler.java
+0
-3
StatusIndicator.java
framework/qa/complex/loadAllDocuments/StatusIndicator.java
+0
-7
LicenseTest.java
...DevelopersGuide/Components/SimpleLicense/LicenseTest.java
+0
-18
ReportDesignerTest.java
reportdesign/qa/complex/reportdesign/ReportDesignerTest.java
+0
-2
SecurityDialog.java
...om/sun/star/script/framework/security/SecurityDialog.java
+0
-3
LocalOfficeImpl.java
...rg/openoffice/idesupport/localoffice/LocalOfficeImpl.java
+0
-2
Register.java
scripting/workben/installer/Register.java
+0
-3
Welcome.java
scripting/workben/installer/Welcome.java
+0
-1
XmlUpdater.java
scripting/workben/installer/XmlUpdater.java
+0
-3
TestExtension.java
smoketest/com/sun/star/comp/smoketest/TestExtension.java
+0
-18
SmoketestCommandEnvironment.java
...rg/libreoffice/smoketest/SmoketestCommandEnvironment.java
+0
-11
Canvas.java
toolkit/test/accessibility/Canvas.java
+0
-5
OfficeDocument.java
wizards/com/sun/star/wizards/document/OfficeDocument.java
+0
-2
ReportTextDocument.java
wizards/com/sun/star/wizards/report/ReportTextDocument.java
+0
-2
TextSectionHandler.java
wizards/com/sun/star/wizards/text/TextSectionHandler.java
+0
-2
TextTableHandler.java
wizards/com/sun/star/wizards/text/TextTableHandler.java
+0
-2
No files found.
bean/com/sun/star/beans/LocalOfficeConnection.java
Dosyayı görüntüle @
27459c71
...
...
@@ -44,7 +44,6 @@ public class LocalOfficeConnection
public
static
final
String
OFFICE_ID_SUFFIX
=
"_Office"
;
private
Process
mProcess
;
private
ContainerFactory
mContainerFactory
;
private
XComponentContext
mContext
;
private
String
mURL
;
...
...
@@ -134,14 +133,13 @@ public class LocalOfficeConnection
}
/**
* Sets an AWT container
ca
tory.
* Sets an AWT container
fac
tory.
*
* @param containerFactory This is a application provided AWT container
* factory.
*/
public
void
setContainerFactory
(
ContainerFactory
containerFactory
)
{
mContainerFactory
=
containerFactory
;
}
/**
...
...
@@ -185,8 +183,6 @@ public class LocalOfficeConnection
catch
(
RuntimeException
aExc
)
{}
}
mComponents
.
clear
();
mContainerFactory
=
null
;
mContext
=
null
;
}
...
...
bean/com/sun/star/comp/beans/LocalOfficeConnection.java
Dosyayı görüntüle @
27459c71
...
...
@@ -50,7 +50,6 @@ public class LocalOfficeConnection
public
static
final
String
OFFICE_ID_SUFFIX
=
"_Office"
;
private
Process
mProcess
;
private
ContainerFactory
mContainerFactory
;
private
XComponentContext
mContext
;
private
XBridge
mBridge
;
...
...
@@ -196,7 +195,6 @@ public class LocalOfficeConnection
*/
public
void
setContainerFactory
(
ContainerFactory
containerFactory
)
{
mContainerFactory
=
containerFactory
;
}
/**
...
...
@@ -258,8 +256,6 @@ public class LocalOfficeConnection
mBridge
=
null
;
}
mContainerFactory
=
null
;
mContext
=
null
;
}
...
...
bridges/test/java_remote/Bug107753_Test.java
Dosyayı görüntüle @
27459c71
...
...
@@ -348,7 +348,6 @@ public final class Bug107753_Test extends ComplexTestCase {
private
static
final
class
Provider
implements
XInstanceProvider
{
public
Provider
(
TestBed
testBed
)
{
this
.
testBed
=
testBed
;
}
public
Object
getInstance
(
String
instanceName
)
{
...
...
@@ -362,8 +361,6 @@ public final class Bug107753_Test extends ComplexTestCase {
}
};
}
private
final
TestBed
testBed
;
}
public
interface
XTransport
extends
XInterface
{
...
...
connectivity/qa/complex/connectivity/FlatFileAccess.java
Dosyayı görüntüle @
27459c71
...
...
@@ -86,11 +86,6 @@ public class FlatFileAccess extends ComplexTestCase
super
(
i_day
,
i_month
,
i_year
);
}
EqualityDate
(
Date
i_date
)
{
super
(
i_date
.
Day
,
i_date
.
Month
,
i_date
.
Year
);
}
@Override
public
boolean
equals
(
Object
i_compare
)
{
...
...
desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/OptionsEventHandler.java
Dosyayı görüntüle @
27459c71
...
...
@@ -52,8 +52,6 @@ public class OptionsEventHandler {
private
XComponentContext
m_cmpCtx
;
private
XMultiComponentFactory
m_xMCF
;
private
XNameAccess
m_xAccessLeaves
;
/**Names of supported options pages.
...
...
@@ -71,7 +69,6 @@ public class OptionsEventHandler {
public
_OptionsEventHandler
(
XComponentContext
xCompContext
)
{
m_cmpCtx
=
xCompContext
;
m_xMCF
=
m_cmpCtx
.
getServiceManager
();
//Create the com.sun.star.configuration.ConfigurationUpdateAccess
//for the registry node which contains the data for our option
...
...
framework/qa/complex/loadAllDocuments/StatusIndicator.java
Dosyayı görüntüle @
27459c71
...
...
@@ -45,10 +45,6 @@ public class StatusIndicator implements com.sun.star.task.XStatusIndicator
/**
* @member m_nRange max value for any progress
*/
private
int
m_nRange
;
private
boolean
m_bWasUsed
;
...
...
@@ -59,7 +55,6 @@ public class StatusIndicator implements com.sun.star.task.XStatusIndicator
*/
public
StatusIndicator
(
int
nOut
)
{
m_nRange
=
100
;
m_bWasUsed
=
false
;
}
...
...
@@ -79,7 +74,6 @@ public class StatusIndicator implements com.sun.star.task.XStatusIndicator
synchronized
(
this
)
{
m_bWasUsed
=
true
;
m_nRange
=
nRange
;
}
impl_show
();
}
...
...
@@ -94,7 +88,6 @@ public class StatusIndicator implements com.sun.star.task.XStatusIndicator
synchronized
(
this
)
{
m_bWasUsed
=
true
;
m_nRange
=
100
;
}
impl_show
();
}
...
...
odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java
Dosyayı görüntüle @
27459c71
...
...
@@ -55,29 +55,11 @@ public class LicenseTest {
static
private
final
String
__serviceName
=
"org.openoffice.LicenseTest"
;
/** The initial component contextr, that gives access to
* the service manager, supported singletons, ...
* It's often later used
*/
private
XComponentContext
m_cmpCtx
;
/** The service manager, that gives access to all registered services.
* It's often later used
*/
private
XMultiComponentFactory
m_xMCF
;
/** The constructor of the inner class has a XMultiServiceFactory parameter.
* @param xmultiservicefactoryInitialization A special service factory
* could be introduced while initializing.
*/
public
_LicenseTest
(
XComponentContext
xCompContext
)
{
try
{
m_cmpCtx
=
xCompContext
;
m_xMCF
=
m_cmpCtx
.
getServiceManager
();
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
}
/** This method returns an array of all supported service names.
...
...
reportdesign/qa/complex/reportdesign/ReportDesignerTest.java
Dosyayı görüntüle @
27459c71
...
...
@@ -179,8 +179,6 @@ public class ReportDesignerTest
}
private
OfficeProvider
m_aProvider
=
null
;
private
String
m_sMailAddress
=
null
;
private
String
m_sUPDMinor
;
...
...
scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java
Dosyayı görüntüle @
27459c71
...
...
@@ -488,16 +488,13 @@ XInitialization {
}
public
class
ActionListenerImpl
implements
com
.
sun
.
star
.
awt
.
XActionListener
{
private
XControlContainer
_xControlCont
;
private
String
_buttonName
;
public
ActionListenerImpl
(
XControlContainer
xControlCont
,
String
buttonName
)
{
_xControlCont
=
xControlCont
;
_buttonName
=
buttonName
;
}
// XEventListener
public
void
disposing
(
EventObject
eventObject
)
{
_xControlCont
=
null
;
}
// XActionListener
...
...
scripting/java/org/openoffice/idesupport/localoffice/LocalOfficeImpl.java
Dosyayı görüntüle @
27459c71
...
...
@@ -46,7 +46,6 @@ public final class LocalOfficeImpl
private
final
static
String
STORAGE_MRG_SINGLETON
=
"/singletons/drafts.com.sun.star.script.framework.storage.theScriptStorageManager"
;
private
transient
String
mOfficePath
;
private
transient
XMultiComponentFactory
mComponentFactory
;
private
transient
XComponentContext
mComponentContext
;
/**
...
...
@@ -66,7 +65,6 @@ public final class LocalOfficeImpl
protected
void
connect
(
String
officePath
,
int
port
)
throws
ConnectException
{
mOfficePath
=
officePath
;
try
{
bootstrap
(
port
);
}
catch
(
java
.
lang
.
Exception
ex
)
{
...
...
scripting/workben/installer/Register.java
Dosyayı görüntüle @
27459c71
...
...
@@ -22,9 +22,6 @@ import java.lang.String;
import
java.io.*
;
import
javax.swing.*
;
public
class
Register
{
private
static
String
[]
singletonDefParams
=
{
"drafts.com.sun.star.script.framework.theScriptRuntimeForJava=drafts.com.sun.star.script.framework.ScriptRuntimeForJava"
,
"drafts.com.sun.star.script.framework.storage.theScriptStorageManager=drafts.com.sun.star.script.framework.storage.ScriptStorageManager"
,
"drafts.com.sun.star.script.framework.theScriptRuntimeManager=drafts.com.sun.star.script.framework.ScriptRuntimeManager"
};
public
static
boolean
register
(
String
path
,
JLabel
statusLabel
)
{
...
...
scripting/workben/installer/Welcome.java
Dosyayı görüntüle @
27459c71
...
...
@@ -79,7 +79,6 @@ public class Welcome extends javax.swing.JPanel implements ActionListener {
private
javax
.
swing
.
JPanel
welcomePanel
;
private
javax
.
swing
.
JTextArea
area
;
private
InstallWizard
wizard
;
private
static
final
String
[]
versions
=
{
"StarOffice 6.1"
};
private
boolean
nextButtonEnable
=
true
;
// End of variables declaration//GEN-END:variables
...
...
scripting/workben/installer/XmlUpdater.java
Dosyayı görüntüle @
27459c71
...
...
@@ -24,7 +24,6 @@ import javax.swing.*;
public
class
XmlUpdater
extends
Thread
{
private
String
classesPath
=
null
;
private
String
installPath
;
private
boolean
netInstall
;
private
boolean
bindingsInstall
;
...
...
@@ -154,8 +153,6 @@ public class XmlUpdater extends Thread {
internalThread
=
Thread
.
currentThread
();
classesPath
=
installPath
.
concat
(
File
.
separator
+
"program"
+
File
.
separator
+
"classes"
+
File
.
separator
);
String
progpath
=
installPath
;
progpath
=
progpath
.
concat
(
File
.
separator
+
"program"
+
File
.
separator
);
...
...
smoketest/com/sun/star/comp/smoketest/TestExtension.java
Dosyayı görüntüle @
27459c71
...
...
@@ -42,29 +42,11 @@ public class TestExtension {
static
private
final
String
__serviceName
=
"com.sun.star.comp.smoketest.TestExtension"
;
/** The initial component contextr, that gives access to
* the service manager, supported singletons, ...
* It's often later used
*/
private
XComponentContext
m_cmpCtx
;
/** The service manager, that gives access to all registered services.
* It's often later used
*/
private
XMultiComponentFactory
m_xMCF
;
/** The constructor of the inner class has a XMultiServiceFactory parameter.
* @param xmultiservicefactoryInitialization A special service factory
* could be introduced while initializing.
*/
public
_TestExtension
(
XComponentContext
xCompContext
)
{
try
{
m_cmpCtx
=
xCompContext
;
m_xMCF
=
m_cmpCtx
.
getServiceManager
();
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
}
/** This method returns an array of all supported service names.
...
...
smoketest/org/libreoffice/smoketest/SmoketestCommandEnvironment.java
Dosyayı görüntüle @
27459c71
...
...
@@ -35,18 +35,7 @@ public class SmoketestCommandEnvironment extends WeakBase
static
private
final
String
__serviceName
=
"com.sun.star.deployment.test.SmoketestCommandEnvironment"
;
private
XComponentContext
m_cmpCtx
;
private
XMultiComponentFactory
m_xMCF
;
public
SmoketestCommandEnvironment
(
XComponentContext
xCompContext
)
{
try
{
m_cmpCtx
=
xCompContext
;
m_xMCF
=
m_cmpCtx
.
getServiceManager
();
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
}
public
static
String
[]
getServiceNames
()
{
...
...
toolkit/test/accessibility/Canvas.java
Dosyayı görüntüle @
27459c71
...
...
@@ -70,7 +70,6 @@ class Canvas
setShowDescriptions
(
true
);
setShowNames
(
true
);
setAntialiasing
(
true
);
maLastWidgetSize
=
new
Dimension
(
0
,
0
);
}
/** Tell the canvas which tree view to use to highlight accessible
...
...
@@ -340,7 +339,6 @@ class Canvas
mnVOffset
=
0
;
}
}
maLastWidgetSize
=
aWidgetSize
;
}
...
...
@@ -463,7 +461,4 @@ class Canvas
maBoundingBox
;
private
JTree
maTree
;
// The size of the widget at the last call of setupTransformation()
private
Dimension
maLastWidgetSize
;
}
wizards/com/sun/star/wizards/document/OfficeDocument.java
Dosyayı görüntüle @
27459c71
...
...
@@ -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
)
...
...
wizards/com/sun/star/wizards/report/ReportTextDocument.java
Dosyayı görüntüle @
27459c71
...
...
@@ -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
);
...
...
wizards/com/sun/star/wizards/text/TextSectionHandler.java
Dosyayı görüntüle @
27459c71
...
...
@@ -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
);
}
...
...
wizards/com/sun/star/wizards/text/TextTableHandler.java
Dosyayı görüntüle @
27459c71
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment