diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-11-08 14:13:54 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-11-08 16:05:24 +0100 |
commit | 669128178f4697f4fba746f1ece1c18b0056022a (patch) | |
tree | c742a7c7654ae302ad39b616a7bb80149fd68ca8 /sfx2/source/doc | |
parent | fa7085bd182e1968237b742c544de3ff0a5b9742 (diff) |
Make INetURLObject-from-OUString ctor explicit
...and clean up call sites.
Change-Id: I7219a33652835e82fdc44e9e801a7e62868e4f38
Diffstat (limited to 'sfx2/source/doc')
-rw-r--r-- | sfx2/source/doc/docfile.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index 95ff9dd888c4..a8125d20c992 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -2994,8 +2994,7 @@ const INetURLObject& SfxMedium::GetURLObject() const if (!pImp->m_pURLObj) { pImp->m_pURLObj = new INetURLObject( pImp->m_aLogicName ); - if (pImp->m_pURLObj->HasMark()) - *pImp->m_pURLObj = INetURLObject( pImp->m_aLogicName ).GetURLNoMark(); + pImp->m_pURLObj->SetMark(""); } return *pImp->m_pURLObj; |