diff options
author | Mark Wolf <mark.wolf.music@gmail.com> | 2012-04-05 13:09:35 -0400 |
---|---|---|
committer | Philipp Weissenbacher <p.weissenbacher@gmail.com> | 2012-04-12 20:36:58 +0200 |
commit | 62640a8436c837db6d1f63d98585b9929c36682d (patch) | |
tree | cdf789edcc19755265e5d360c2d7d2ed559dc727 /odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx | |
parent | a4f4e51304e9c26b58d4ab5ee4f0a63e3cd4ec91 (diff) |
German comment translation for odk folder
Mark
Diffstat (limited to 'odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx')
-rw-r--r-- | odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx b/odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx index 2550faa21570..7602b129f86b 100644 --- a/odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx +++ b/odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx @@ -147,8 +147,8 @@ void SAL_CALL MyProtocolHandler::initialize( const Sequence< Any >& aArguments ) Reference < XFrame > xFrame; if ( aArguments.getLength() ) { - // das erste Argument ist immer der Frame, da ein ProtocolHandler den braucht um Zugriff - // auf den Context zu haben, in dem er aufgerufen wird + // the first Argument is always the Frame, as a ProtocolHandler needs to have access + // to the context in which it is invoked. aArguments[0] >>= xFrame; mxFrame = xFrame; } @@ -167,7 +167,7 @@ Reference< XDispatch > SAL_CALL MyProtocolHandler::queryDispatch( const URL& a Reference < XTextViewCursorSupplier > xCursor( xCtrl, UNO_QUERY ); Reference < XSpreadsheetView > xView( xCtrl, UNO_QUERY ); if ( !xCursor.is() && !xView.is() ) - // ohne ein entsprechendes Dokument funktioniert der Handler nicht + // without an appropriate corresponding document the handler doesn't function return xRet; if ( aURL.Path == "Command1" || aURL.Path == "Command2" || aURL.Path == "Command3" || aURL.Path == "Command4" || aURL.Path == "Command5" |