diff options
Diffstat (limited to 'unotools/source/ucbhelper/ucblockbytes.cxx')
-rw-r--r-- | unotools/source/ucbhelper/ucblockbytes.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx index 1aa5abaca117..b16bf68dfacd 100644 --- a/unotools/source/ucbhelper/ucblockbytes.cxx +++ b/unotools/source/ucbhelper/ucblockbytes.cxx @@ -194,8 +194,7 @@ void SAL_CALL UcbPropertiesChangeListener_Impl::propertiesChange ( const Sequenc OUString aUrl; if (evt.NewValue >>= aUrl) { - OUString aBad ("private:"); - if (!aUrl.startsWith(aBad)) + if (!aUrl.startsWith("private:")) { // URL changed (Redirection). m_xLockBytes->SetRealURL_Impl( aUrl ); |