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.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/miscdlgs/linkarea.cxx b/sc/source/ui/miscdlgs/linkarea.cxx
index c88bbf7f3477..284471cab820 100644
--- a/sc/source/ui/miscdlgs/linkarea.cxx
+++ b/sc/source/ui/miscdlgs/linkarea.cxx
@@ -118,7 +118,7 @@ IMPL_LINK_NOARG(ScLinkedAreaDlg, FileHdl)
// #i53241# replace HTML filter with DataQuery filter
if (aFilter.equalsAscii(FILTERNAME_HTML))
- aFilter = OUString(RTL_CONSTASCII_USTRINGPARAM(FILTERNAME_QUERY));
+ aFilter = OUString(FILTERNAME_QUERY);
LoadDocument( aEntered, aFilter, aOptions );
@@ -213,8 +213,8 @@ IMPL_LINK( ScLinkedAreaDlg, DialogClosedHdl, sfx2::FileDialogHelper*, _pFileDlg
WaitObject aWait( this );
// replace HTML filter with DataQuery filter
- const OUString aHTMLFilterName( RTL_CONSTASCII_USTRINGPARAM( FILTERNAME_HTML ) );
- const OUString aWebQFilterName( RTL_CONSTASCII_USTRINGPARAM( FILTERNAME_QUERY ) );
+ const OUString aHTMLFilterName( FILTERNAME_HTML );
+ const OUString aWebQFilterName( FILTERNAME_QUERY );
const SfxFilter* pFilter = pMed->GetFilter();
if (pFilter && aHTMLFilterName.equals(pFilter->GetFilterName()))