summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-08-10 23:24:48 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-12 09:46:21 +0200
commitf3261ba74815b30f1018954bfb9ecd332fa8f1d5 (patch)
treeb359f61130ff26d4898f4b6c7dba430de9831190 /unotools
parent0286f76b84478a38b252a39a4e33e51339286bcd (diff)
Fix typos
"its" Change-Id: I02c660e46964270376a66210fdb5f1b1985ce5b6 Reviewed-on: https://gerrit.libreoffice.org/77255 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/misc/mediadescriptor.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/unotools/source/misc/mediadescriptor.cxx b/unotools/source/misc/mediadescriptor.cxx
index 18df713e52d2..0d0839f62b18 100644
--- a/unotools/source/misc/mediadescriptor.cxx
+++ b/unotools/source/misc/mediadescriptor.cxx
@@ -638,7 +638,7 @@ bool MediaDescriptor::impl_openStreamWithURL( const OUString& sURL, bool bLockFi
}
// try to open the file in read/write mode
- // (if its allowed to do so).
+ // (if it's allowed to do so).
// But handle errors in a "hidden mode". Because
// we try it readonly later - if read/write is not an option.
css::uno::Reference< css::io::XStream > xStream;
@@ -668,7 +668,7 @@ bool MediaDescriptor::impl_openStreamWithURL( const OUString& sURL, bool bLockFi
{
css::uno::Any ex( cppu::getCaughtException() );
// ignore exception, if reason was problem reasoned on
- // open it in WRITEABLE mode! Then we try it READONLY
+ // open it in WRITABLE mode! Then we try it READONLY
// later a second time.
// All other errors must be handled as real error an
// break this method.
@@ -710,7 +710,7 @@ bool MediaDescriptor::impl_openStreamWithURL( const OUString& sURL, bool bLockFi
bool bRequestReadOnly = bReadOnly;
aContent.getPropertyValue("IsReadOnly") >>= bReadOnly;
if ( bReadOnly && !bRequestReadOnly && bModeRequestedExplicitly )
- return false; // the document is explicitly requested with WRITEABLE mode
+ return false; // the document is explicitly requested with WRITABLE mode
}
}
catch(const css::uno::RuntimeException&)