summaryrefslogtreecommitdiff
path: root/sc/source/ui/miscdlgs/linkarea.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/miscdlgs/linkarea.cxx')
-rw-r--r--sc/source/ui/miscdlgs/linkarea.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/miscdlgs/linkarea.cxx b/sc/source/ui/miscdlgs/linkarea.cxx
index 94fc4e677dff..180e089f305e 100644
--- a/sc/source/ui/miscdlgs/linkarea.cxx
+++ b/sc/source/ui/miscdlgs/linkarea.cxx
@@ -84,8 +84,7 @@ void ScLinkedAreaDlg::dispose()
IMPL_LINK_NOARG(ScLinkedAreaDlg, BrowseHdl, Button*, void)
{
if ( !pDocInserter )
- pDocInserter = new sfx2::DocumentInserter(
- OUString::createFromAscii( ScDocShell::Factory().GetShortName() ) );
+ pDocInserter = new sfx2::DocumentInserter(ScDocShell::Factory().GetFactoryName());
pDocInserter->StartExecuteModal( LINK( this, ScLinkedAreaDlg, DialogClosedHdl ) );
}