diff options
Diffstat (limited to 'comphelper/source/misc/documentinfo.cxx')
-rw-r--r-- | comphelper/source/misc/documentinfo.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/misc/documentinfo.cxx b/comphelper/source/misc/documentinfo.cxx index 7456e64925f8..4ddf1f2871c3 100644 --- a/comphelper/source/misc/documentinfo.cxx +++ b/comphelper/source/misc/documentinfo.cxx @@ -96,7 +96,7 @@ namespace comphelper { // private:object as URL sDocURL = _rxDocument->getURL(); if ( sDocURL.matchAsciiL( "private:", 8 ) ) - sDocURL = OUString(); + sDocURL.clear(); // 2. if the document is not saved, yet, check the frame title if ( sDocURL.isEmpty() ) |