diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-01-30 16:29:27 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-01-30 16:29:27 +0100 |
commit | 1e33b3dc73e96c6c005d13e20c3f546fcb301ed8 (patch) | |
tree | b7f94203b5a904edd1131eaf5eebda19388c5cf0 /sal/inc | |
parent | 5443d6486215f12b6538b07c1f354c5a023df0cf (diff) |
osl::{File,Directory}::getURL() had curiously been missing
Change-Id: I0af83e7aeaf681440d4bbb50d8b00390f8464b1a
Diffstat (limited to 'sal/inc')
-rw-r--r-- | sal/inc/osl/file.hxx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sal/inc/osl/file.hxx b/sal/inc/osl/file.hxx index 7a61afe2ea50..5c9a268bd4b9 100644 --- a/sal/inc/osl/file.hxx +++ b/sal/inc/osl/file.hxx @@ -935,6 +935,15 @@ public: close(); } + /** Obtain the URL. + + @return + the URL with which this File instance was created. + + @since LibreOffice 4.1 + */ + inline rtl::OUString getURL() const { return _aPath; } + /** Open a regular file. Open a file. Only regular files can be openend. @@ -1673,6 +1682,15 @@ public: close(); } + /** Obtain the URL. + + @return + the URL with which this Directory instance was created. + + @since LibreOffice 4.1 + */ + inline rtl::OUString getURL() const { return _aPath; } + /** Open a directory for enumerating its contents. @return |