diff options
Diffstat (limited to 'svx/source/dialog/tpbitmap.cxx')
-rw-r--r-- | svx/source/dialog/tpbitmap.cxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/svx/source/dialog/tpbitmap.cxx b/svx/source/dialog/tpbitmap.cxx index 19b3c325ee5c..80b92a11279e 100644 --- a/svx/source/dialog/tpbitmap.cxx +++ b/svx/source/dialog/tpbitmap.cxx @@ -2,9 +2,9 @@ * * $RCSfile: tpbitmap.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:01:12 $ + * 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 @@ -88,8 +88,8 @@ #ifndef _URLOBJ_HXX #include <tools/urlobj.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> @@ -859,7 +859,7 @@ IMPL_LINK( SvxBitmapTabPage, ClickLoadHdl_Impl, void *, p ) String aStrFilterType( RTL_CONSTASCII_USTRINGPARAM( "*.sob" ) ); 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 ) @@ -946,8 +946,7 @@ IMPL_LINK( SvxBitmapTabPage, ClickSaveHdl_Impl, void *, p ) String aStrFilterType( RTL_CONSTASCII_USTRINGPARAM( "*.sob" ) ); pFileDlg->AddFilter( aStrFilterType, aStrFilterType ); - - INetURLObject aFile; aFile.SetSmartURL( SFX_APP()->GetAppIniManager()->Get( SFX_KEY_PALETTE_PATH ) ); + INetURLObject aFile( SvtPathOptions().GetPalettePath(), INET_PROT_FILE ); if( pBitmapList->GetName().Len() ) { |