diff options
author | Peter Burow <pb@openoffice.org> | 2000-09-26 05:37:20 +0000 |
---|---|---|
committer | Peter Burow <pb@openoffice.org> | 2000-09-26 05:37:20 +0000 |
commit | 344886da6cf74cb029f43fc6c2a2fc9d4acb8692 (patch) | |
tree | 21e04863f89f7329b807a3e6f3bec1d9f431d43a /svx/source/dialog/tpgradnt.cxx | |
parent | 57937a85ff7cbc56f8d0b68ec790bd045a75560b (diff) |
chg: now uses the new config items
Diffstat (limited to 'svx/source/dialog/tpgradnt.cxx')
-rw-r--r-- | svx/source/dialog/tpgradnt.cxx | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/svx/source/dialog/tpgradnt.cxx b/svx/source/dialog/tpgradnt.cxx index ce2d51954b4e..05c8bad5fa28 100644 --- a/svx/source/dialog/tpgradnt.cxx +++ b/svx/source/dialog/tpgradnt.cxx @@ -2,9 +2,9 @@ * * $RCSfile: tpgradnt.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:01:13 $ + * last change: $Author: pb $ $Date: 2000-09-26 06:37:20 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -75,8 +75,8 @@ #ifndef _SV_MSGBOX_HXX #include <vcl/msgbox.hxx> #endif -#ifndef _SFXINIMGR_HXX -#include <svtools/iniman.hxx> +#ifndef INCLUDED_SVTOOLS_PATHOPTIONS_HXX +#include <svtools/pathoptions.hxx> #endif #ifndef _SFXAPP_HXX #include <sfx2/app.hxx> @@ -698,8 +698,7 @@ IMPL_LINK( SvxGradientTabPage, ClickLoadHdl_Impl, void *, p ) String aStrFilterType( RTL_CONSTASCII_USTRINGPARAM( "*.sog" ) ); pFileDlg->AddFilter( aStrFilterType, aStrFilterType ); - - String aFile( SFX_APP()->GetAppIniManager()->Get( SFX_KEY_PALETTE_PATH ) ); + String aFile( SvtPathOptions().GetPalettePath() ); pFileDlg->SetPath( aFile ); if( pFileDlg->Execute() == RET_OK ) @@ -790,8 +789,7 @@ IMPL_LINK( SvxGradientTabPage, ClickSaveHdl_Impl, void *, p ) String aStrFilterType( RTL_CONSTASCII_USTRINGPARAM( "*.sog" ) ); pFileDlg->AddFilter( aStrFilterType, aStrFilterType ); - - INetURLObject aFile; aFile.SetSmartURL( SFX_APP()->GetAppIniManager()->Get( SFX_KEY_PALETTE_PATH ) ); + INetURLObject aFile( SvtPathOptions().GetPalettePath(), INET_PROT_FILE ); if( pGradientList->GetName().Len() ) { |