summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-07 14:54:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-07 15:39:22 +0100
commit2c3bf6bfc244517a0134e320acaa1f720703d8f2 (patch)
tree43bedfb3f95fbe820ede615779f397134505ff82
parentbb3286016c4e34f313a4c5fb7c561c08f582113e (diff)
Related: tdf#89905 these PalettePath uses appear to really be UserConfigPath
which is the same path at the moment Change-Id: Ifdefa478003a2b5cc5c065b1942194dda1275f5e
-rw-r--r--sd/source/ui/dlg/PhotoAlbumDialog.cxx2
-rw-r--r--svx/source/sidebar/nbdtmg.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/dlg/PhotoAlbumDialog.cxx b/sd/source/ui/dlg/PhotoAlbumDialog.cxx
index 85bf2ffa6a90..2740dbc80ab1 100644
--- a/sd/source/ui/dlg/PhotoAlbumDialog.cxx
+++ b/sd/source/ui/dlg/PhotoAlbumDialog.cxx
@@ -480,7 +480,7 @@ IMPL_LINK_NOARG(SdPhotoAlbumDialog, FileHdl)
// Read configuration
OUString sUrl(officecfg::Office::Impress::Pictures::Path::get());
- INetURLObject aFile( SvtPathOptions().GetPalettePath() );
+ INetURLObject aFile( SvtPathOptions().GetUserConfigPath() );
if (!sUrl.isEmpty())
aDlg.SetDisplayDirectory(sUrl);
else
diff --git a/svx/source/sidebar/nbdtmg.cxx b/svx/source/sidebar/nbdtmg.cxx
index d70386aa4215..6fc1fd73bb27 100644
--- a/svx/source/sidebar/nbdtmg.cxx
+++ b/svx/source/sidebar/nbdtmg.cxx
@@ -157,7 +157,7 @@ void NBOTypeMgrBase::ImplLoad(const OUString& filename)
bIsLoading = true;
SfxMapUnit eOldCoreUnit=eCoreUnit;
eCoreUnit = SFX_MAPUNIT_100TH_MM;
- INetURLObject aFile( SvtPathOptions().GetPalettePath() );
+ INetURLObject aFile( SvtPathOptions().GetUserConfigPath() );
aFile.Append( filename);
std::unique_ptr<SvStream> xIStm(::utl::UcbStreamHelper::CreateStream( aFile.GetMainURL( INetURLObject::NO_DECODE ), StreamMode::READ ));
if( xIStm ) {
@@ -196,7 +196,7 @@ void NBOTypeMgrBase::ImplStore(const OUString& filename)
if (bIsLoading) return;
SfxMapUnit eOldCoreUnit=eCoreUnit;
eCoreUnit = SFX_MAPUNIT_100TH_MM;
- INetURLObject aFile( SvtPathOptions().GetPalettePath() );
+ INetURLObject aFile( SvtPathOptions().GetUserConfigPath() );
aFile.Append( filename);
std::unique_ptr<SvStream> xOStm(::utl::UcbStreamHelper::CreateStream( aFile.GetMainURL( INetURLObject::NO_DECODE ), StreamMode::WRITE ));
if( xOStm ) {