summaryrefslogtreecommitdiff
path: root/svx/source/gengal/gengal.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/gengal/gengal.cxx')
-rw-r--r--svx/source/gengal/gengal.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/gengal/gengal.cxx b/svx/source/gengal/gengal.cxx
index 7a8f1a5b5969..0b81ff122a30 100644
--- a/svx/source/gengal/gengal.cxx
+++ b/svx/source/gengal/gengal.cxx
@@ -122,10 +122,10 @@ static void createTheme( const OUString& aThemeName, const OUString& aGalleryURL
if ( ! pGalTheme->InsertURL( *aIter ) )
fprintf( stderr, "Failed to import '%s'\n",
- OUStringToOString( aIter->GetMainURL(INetURLObject::NO_DECODE), RTL_TEXTENCODING_UTF8 ).getStr() );
+ OUStringToOString( aIter->GetMainURL(INetURLObject::DecodeMechanism::NONE), RTL_TEXTENCODING_UTF8 ).getStr() );
else
fprintf( stderr, "Imported file '%s' (%" SAL_PRI_SIZET "u)\n",
- OUStringToOString( aIter->GetMainURL(INetURLObject::NO_DECODE), RTL_TEXTENCODING_UTF8 ).getStr(),
+ OUStringToOString( aIter->GetMainURL(INetURLObject::DecodeMechanism::NONE), RTL_TEXTENCODING_UTF8 ).getStr(),
pGalTheme->GetObjectCount() );
}
@@ -298,7 +298,7 @@ int GalApp::Main()
aName = GetCommandLineParam( ++i );
else if ( aParam == "--path" )
aPath = Smartify( GetCommandLineParam( ++i ) ).
- GetMainURL(INetURLObject::NO_DECODE);
+ GetMainURL(INetURLObject::DecodeMechanism::NONE);
else if ( aParam == "--destdir" )
aDestDir = GetCommandLineParam( ++i );
else if ( aParam == "--relative-urls" )