diff options
Diffstat (limited to 'framework/source/inc/pattern')
-rw-r--r-- | framework/source/inc/pattern/frame.hxx | 8 | ||||
-rw-r--r-- | framework/source/inc/pattern/storages.hxx | 2 | ||||
-rw-r--r-- | framework/source/inc/pattern/window.hxx | 8 |
3 files changed, 9 insertions, 9 deletions
diff --git a/framework/source/inc/pattern/frame.hxx b/framework/source/inc/pattern/frame.hxx index 00b2416263b0..ad940f31f48b 100644 --- a/framework/source/inc/pattern/frame.hxx +++ b/framework/source/inc/pattern/frame.hxx @@ -72,8 +72,8 @@ inline css::uno::Reference< css::frame::XModel > extractFrameModel(const css::un @descr It try to close the given resource first. Delegating of the ownership can be influenced from - outside. If closing isnt possible (because the - needed interface isnt available) dispose() is tried instead. + outside. If closing isn't possible (because the + needed interface isn't available) dispose() is tried instead. Al possible exception are handled inside. So the user of this method has to look for the return value only. @@ -111,10 +111,10 @@ inline sal_Bool closeIt(const css::uno::Reference< css::uno::XInterface >& xReso catch(const css::lang::DisposedException&) {} // disposed is closed is ... catch(const css::uno::RuntimeException&) - { throw; } // shouldnt be suppressed! + { throw; } // shouldn't be suppressed! catch(const css::uno::Exception&) { return sal_False; } // ??? We defined to return a boolen value instead of throwing exceptions ... - // (OK: RuntimeExceptions shouldnt be catched inside the core ..) + // (OK: RuntimeExceptions shouldn't be catched inside the core ..) return sal_True; } diff --git a/framework/source/inc/pattern/storages.hxx b/framework/source/inc/pattern/storages.hxx index 2ee2bb92996a..f34369dd5053 100644 --- a/framework/source/inc/pattern/storages.hxx +++ b/framework/source/inc/pattern/storages.hxx @@ -62,7 +62,7 @@ css::uno::Reference< css::embed::XStorage > createTempStorageBasedOnFolder(const const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR , sal_Bool bReadOnly) { - // error during opening the temp file isnt realy a runtime error -> handle it gracefully + // error during opening the temp file isn't really a runtime error -> handle it gracefully css::uno::Reference< css::io::XOutputStream > xTempFile(xSMGR->createInstance(SERVICENAME_TEMPFILE), css::uno::UNO_QUERY); if (!xTempFile.is()) return css::uno::Reference< css::embed::XStorage >(); diff --git a/framework/source/inc/pattern/window.hxx b/framework/source/inc/pattern/window.hxx index b188159f32eb..b7f491b70016 100644 --- a/framework/source/inc/pattern/window.hxx +++ b/framework/source/inc/pattern/window.hxx @@ -74,7 +74,7 @@ static ::rtl::OUString getWindowState(const css::uno::Reference< css::awt::XWind ByteString sWindowState; Window* pWindow = VCLUnoHelper::GetWindow(xWindow); - // check for system window is neccessary to guarantee correct pointer cast! + // check for system window is necessary to guarantee correct pointer cast! if (pWindow!=NULL && pWindow->IsSystemWindow()) { sal_uLong nMask = WINDOWSTATE_MASK_ALL; @@ -102,7 +102,7 @@ static void setWindowState(const css::uno::Reference< css::awt::XWindow >& xWind ::vos::OClearableGuard aSolarGuard(Application::GetSolarMutex()); Window* pWindow = VCLUnoHelper::GetWindow(xWindow); - // check for system window is neccessary to guarantee correct pointer cast! + // check for system window is necessary to guarantee correct pointer cast! if ( (pWindow ) && (pWindow->IsSystemWindow()) && @@ -128,8 +128,8 @@ static ::sal_Bool isTopWindow(const css::uno::Reference< css::awt::XWindow >& xW if (xTopWindowCheck.is()) { // Note: Toolkit interface XTopWindow sometimes is used by real VCL-child-windows also .-) - // Be sure that these window is realy a "top system window". - // Attention ! Checking Window->GetParent() isnt the right approach here. + // Be sure that these window is really a "top system window". + // Attention ! Checking Window->GetParent() isn't the right approach here. // Because sometimes VCL create "implicit border windows" as parents even we created // a simple XWindow using the toolkit only .-( ::vos::OGuard aSolarLock(&Application::GetSolarMutex()); |