summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-11-08 14:13:54 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-11-08 16:05:24 +0100
commit669128178f4697f4fba746f1ece1c18b0056022a (patch)
treec742a7c7654ae302ad39b616a7bb80149fd68ca8 /cui
parentfa7085bd182e1968237b742c544de3ff0a5b9742 (diff)
Make INetURLObject-from-OUString ctor explicit
...and clean up call sites. Change-Id: I7219a33652835e82fdc44e9e801a7e62868e4f38
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/cuigaldlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx
index 2c8d085d9594..86e405832478 100644
--- a/cui/source/dialogs/cuigaldlg.cxx
+++ b/cui/source/dialogs/cuigaldlg.cxx
@@ -316,7 +316,7 @@ void TakeThread::execute()
{
SolarMutexGuard aGuard;
- mpProgress->SetFile( aURL.GetMainURL( INetURLObject::DECODE_UNAMBIGUOUS ) );
+ mpProgress->SetFile( aURL );
pStatusProgress->Update( i, nEntries - 1 );
mpProgress->Sync();
pThm->InsertURL( aURL );
@@ -1008,7 +1008,7 @@ void TPGalleryThemeProperties::SearchFiles()
aLbxFound.Clear();
pProgress->SetFileType( aCbbFileType.GetText() );
- pProgress->SetDirectory( OUString() );
+ pProgress->SetDirectory( INetURLObject() );
pProgress->Update();
pProgress->StartExecuteModal( LINK( this, TPGalleryThemeProperties, EndSearchProgressHdl ) );