diff --git a/src/file.cpp b/src/file.cpp
index e8e9af9d350d4c7582d7199a27ce9d6ed26d06f0..0e8a084e33439c504e59f171a5ccd1965e3687b1 100644 (file)
--- a/src/file.cpp
+++ b/src/file.cpp
// Show the Export To OCAL dialog
if (!exportDialogInstance)
- exportDialogInstance = Inkscape::UI::Dialog::FileExportToOCALDialog::create(
+ exportDialogInstance = new Inkscape::UI::Dialog::FileExportToOCALDialog(
parentWindow,
Inkscape::UI::Dialog::EXPORT_TYPES,
(char const *) _("Select file to export to")
if(!gotSuccess)
{
if (!exportPasswordDialogInstance)
- exportPasswordDialogInstance = Inkscape::UI::Dialog::FileExportToOCALPasswordDialog::create(
+ exportPasswordDialogInstance = new Inkscape::UI::Dialog::FileExportToOCALPasswordDialog(
parentWindow,
(char const *) _("Open Clip Art Login"));
success = exportPasswordDialogInstance->show();
static Inkscape::UI::Dialog::FileImportFromOCALDialog *importDialogInstance = NULL;
if (!importDialogInstance) {
- importDialogInstance =
- Inkscape::UI::Dialog::FileImportFromOCALDialog::create(
+ importDialogInstance = new
+ Inkscape::UI::Dialog::FileImportFromOCALDialog(
parentWindow,
import_path,
Inkscape::UI::Dialog::IMPORT_TYPES,