summaryrefslogtreecommitdiff
path: root/sd/source/filter/ppt
diff options
context:
space:
mode:
authorSun Ying <sunying@apache.org>2012-09-10 01:56:28 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-05-27 10:23:07 +0100
commitc05c16635b15a47591faa737947c2dce3dcb863e (patch)
treef98b4c7fca28107c54da681cce2e13f62d40a62f /sd/source/filter/ppt
parentba8485a9c87a5feca3c2673af532e73ecf517b69 (diff)
Resolves: #i119753# fix audio video object lost when save .ppt file
Reported by: Li Feng Wang Patch by: Ying Sun Review by: Jian Yuan Li (cherry picked from commit fbb7e8d8957877922f2f3a971e88685589f43939) Conflicts: filter/inc/filter/msfilter/escherex.hxx filter/source/msfilter/escherex.cxx Change-Id: I545a9e95c23cfba0cc918c9c4243528570734b2d
Diffstat (limited to 'sd/source/filter/ppt')
-rw-r--r--sd/source/filter/ppt/pptin.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index a543f5c5ecfa..fd66e79e0688 100644
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -2005,6 +2005,8 @@ String ImplSdPPTImport::ReadMedia( sal_uInt32 nMediaRef ) const
if( ::utl::LocalFileHelper::ConvertPhysicalNameToURL( aStr, aRetVal ) )
{
aRetVal = INetURLObject( aRetVal ).GetMainURL( INetURLObject::DECODE_UNAMBIGUOUS );
+ }else{
+ aRetVal = aStr;
}
}
}