[Libreoffice-commits] core.git: 2 commits - toolkit/source
Chris Sherlock
chris.sherlock79 at gmail.com
Tue Feb 2 23:58:46 UTC 2016
toolkit/source/helper/vclunohelper.cxx | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
New commits:
commit 32096592fcf067d50e22090135b542325f5e3e62
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date: Wed Feb 3 10:57:51 2016 +1100
toolkit: remove some comment cruft from vclunohelper.cxx
Change-Id: I1670e8d1adccd2123d41e51b7d7ee5228c555280
diff --git a/toolkit/source/helper/vclunohelper.cxx b/toolkit/source/helper/vclunohelper.cxx
index 20bcae5..9c0f76f 100644
--- a/toolkit/source/helper/vclunohelper.cxx
+++ b/toolkit/source/helper/vclunohelper.cxx
@@ -57,9 +57,6 @@
using namespace ::com::sun::star;
-// class VCLUnoHelper
-
-
uno::Reference< css::awt::XToolkit> VCLUnoHelper::CreateToolkit()
{
uno::Reference< uno::XComponentContext > xContext = ::comphelper::getProcessComponentContext();
@@ -514,8 +511,6 @@ sal_Int32 VCLUnoHelper::VCL2UnoEmbedMapUnit( MapUnit nVCLMapUnit )
using namespace ::com::sun::star::util;
-//= file-local helpers
-
namespace
{
enum UnitConversionDirection
commit 9c77bb8fde80d7f35676cb1e41e5b122ac96b6a4
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date: Wed Feb 3 10:56:40 2016 +1100
tdf#39468 toolkit: translate some German comments in the VCL UNO helper file
Change-Id: Ib432f2cbfc71ebfec0ef1ecae99ae3fde1a4d946
diff --git a/toolkit/source/helper/vclunohelper.cxx b/toolkit/source/helper/vclunohelper.cxx
index ddab490..20bcae5 100644
--- a/toolkit/source/helper/vclunohelper.cxx
+++ b/toolkit/source/helper/vclunohelper.cxx
@@ -381,7 +381,7 @@ css::awt::FontDescriptor VCLUnoHelper::CreateFontDescriptor( const vcl::Font& rF
aFD.Orientation = rFont.GetOrientation();
aFD.Kerning = rFont.IsKerning();
aFD.WordLineMode = rFont.IsWordLineMode();
- aFD.Type = 0; // ??? => Nur an Metric...
+ aFD.Type = 0; // ??? => Only in Metric...
return aFD;
}
@@ -411,7 +411,7 @@ vcl::Font VCLUnoHelper::CreateFont( const css::awt::FontDescriptor& rDescr, cons
if ( (FontStrikeout)rDescr.Strikeout != STRIKEOUT_DONTKNOW )
aFont.SetStrikeout( (FontStrikeout)rDescr.Strikeout );
- // Kein DONTKNOW
+ // Not DONTKNOW
aFont.SetOrientation( (short)rDescr.Orientation );
aFont.SetKerning( static_cast<FontKerning>(rDescr.Kerning) );
aFont.SetWordLineMode( rDescr.WordLineMode );
More information about the Libreoffice-commits
mailing list