summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper.java
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper.java')
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper.java
index 498a8919b20c..2932a7791367 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper.java
@@ -83,7 +83,7 @@ public class PropChgHelper implements
for (int i = 0; i < nCnt; ++i)
{
XLinguServiceEventListener xLstnr =
- (XLinguServiceEventListener) aLngSvcEvtListeners.get(i);
+ aLngSvcEvtListeners.get(i);
if (xLstnr != null)
xLstnr.processLinguServiceEvent( aEvt );
}
@@ -105,7 +105,7 @@ public class PropChgHelper implements
{
try {
xPropSet.addPropertyChangeListener(
- aPropNames[i], (XPropertyChangeListener) this );
+ aPropNames[i], this );
}
catch( Exception e ) {
}
@@ -125,7 +125,7 @@ public class PropChgHelper implements
{
try {
xPropSet.removePropertyChangeListener(
- aPropNames[i], (XPropertyChangeListener) this );
+ aPropNames[i], this );
}
catch( Exception e ) {
}