summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-02-05 14:11:36 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-02-05 14:11:36 +0100
commit5a6a877ad0cc8b0703d55302ac01bf79530664fe (patch)
treee13b403439c32dbd102c7f57ae2509724b94cb94 /wizards
parent871979d155e34a66d5bee248475f915aec1b386e (diff)
autorecovery: use a human-readable media type instead of this strange class ID
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java b/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java
index 9fb9ce575417..59c99b77de03 100644
--- a/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java
+++ b/wizards/com/sun/star/wizards/reportbuilder/ReportBuilderImplementation.java
@@ -139,14 +139,12 @@ public class ReportBuilderImplementation extends ReportImplementationHelper
private void initialize(Object _aDoc, XConnection _xConnection)
{
m_aReportDocument = _aDoc;
- // TODO: type down how we got such ID
- final String sClassID = "d7896d52-b7af-4820-9dfe-d404d015960f"; // CLASSID for Report Builder
try
{
NamedValueCollection creationArgs = new NamedValueCollection();
creationArgs.put( "ActiveConnection", _xConnection );
- creationArgs.put( "ClassID", sClassID );
+ creationArgs.put( "MediaType", "com.sun.star.report.ReportDefinition" );
creationArgs.put( "Mode", "remote" );
XComponent[] docDefinition = new XComponent[] { null };