diff options
Diffstat (limited to 'dbaccess/source/ui/control/opendoccontrols.cxx')
-rw-r--r-- | dbaccess/source/ui/control/opendoccontrols.cxx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/dbaccess/source/ui/control/opendoccontrols.cxx b/dbaccess/source/ui/control/opendoccontrols.cxx index b94c4316a310..85bba326a054 100644 --- a/dbaccess/source/ui/control/opendoccontrols.cxx +++ b/dbaccess/source/ui/control/opendoccontrols.cxx @@ -186,15 +186,9 @@ namespace dbaui return sURL; } - OpenDocumentListBox::StringPair OpenDocumentListBox::impl_getDocumentAtIndex( sal_uInt16 _nListIndex, bool _bSystemNotation ) const + OpenDocumentListBox::StringPair OpenDocumentListBox::impl_getDocumentAtIndex( sal_uInt16 _nListIndex ) const { - StringPair aDocumentDescriptor = m_aURLs[_nListIndex]; - if ( _bSystemNotation && !aDocumentDescriptor.first.isEmpty() ) - { - ::svt::OFileNotation aNotation( aDocumentDescriptor.first ); - aDocumentDescriptor.first = aNotation.get( ::svt::OFileNotation::N_SYSTEM ); - } - return aDocumentDescriptor; + return m_aURLs[_nListIndex]; } } // namespace dbaui |