diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-07 14:54:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-07 15:39:22 +0100 |
commit | 2c3bf6bfc244517a0134e320acaa1f720703d8f2 (patch) | |
tree | 43bedfb3f95fbe820ede615779f397134505ff82 /svx | |
parent | bb3286016c4e34f313a4c5fb7c561c08f582113e (diff) |
Related: tdf#89905 these PalettePath uses appear to really be UserConfigPath
which is the same path at the moment
Change-Id: Ifdefa478003a2b5cc5c065b1942194dda1275f5e
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sidebar/nbdtmg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 ) { |