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 | |
parent | a4f4e51304e9c26b58d4ab5ee4f0a63e3cd4ec91 (diff) |
German comment translation for odk folder
Mark
Diffstat (limited to 'odk/examples/cpp')
-rw-r--r-- | odk/examples/cpp/complextoolbarcontrols/MyListener.cxx | 4 | ||||
-rw-r--r-- | odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/odk/examples/cpp/complextoolbarcontrols/MyListener.cxx b/odk/examples/cpp/complextoolbarcontrols/MyListener.cxx index 755e69123af0..94d15d80f8b6 100644 --- a/odk/examples/cpp/complextoolbarcontrols/MyListener.cxx +++ b/odk/examples/cpp/complextoolbarcontrols/MyListener.cxx @@ -99,8 +99,8 @@ css::uno::Any SAL_CALL MyListener::execute(const css::uno::Sequence< css::beans: !xInfo->supportsService(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.text.GlobalDocument"))) ); - // Wir interessieren uns nur fr Writer und Calc. Werden hier aber fr - // alle neu geffneten Dokumente benachrichtigt ... + // We are interested only in Writer and Calc. However, here we are + // notified of all newly opened Documents... if (!bCalc && !bWriter) return css::uno::Any(); 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" |