[Libreoffice-commits] .: chart2/workbench

Thorsten Behrens thorsten at kemper.freedesktop.org
Tue Nov 9 13:17:53 PST 2010


 chart2/workbench/addin/sampleaddin.cxx |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

New commits:
commit e9c722080569917ecf1f0e383f527233cfcf00c1
Author: Thorsten Behrens <tbehrens at novell.com>
Date:   Tue Nov 9 22:16:26 2010 +0100

    Cleansed commented-out code
    
    Just using a German title clearly conveys no useful information.

diff --git a/chart2/workbench/addin/sampleaddin.cxx b/chart2/workbench/addin/sampleaddin.cxx
index 507610c..6dd4143 100644
--- a/chart2/workbench/addin/sampleaddin.cxx
+++ b/chart2/workbench/addin/sampleaddin.cxx
@@ -314,12 +314,7 @@ void SAL_CALL SampleAddIn::refresh() throw( uno::RuntimeException )
                     xPage->add( mxMyText );
 
                     // change text
-                    OUString aText;
-// 					if( maLocale.Language.equalsIgnoreCase( OUString( RTL_CONSTASCII_USTRINGPARAM( "DE" ))))
-// 						aText = OUString( RTL_CONSTASCII_USTRINGPARAM( "Kleines Beispiel" ));
-// 					else
-                        aText = OUString( RTL_CONSTASCII_USTRINGPARAM( "Little Example" ));
-
+                    OUString aText(RTL_CONSTASCII_USTRINGPARAM( "Little Example" ));
                     uno::Reference< beans::XPropertySet > xTextProp( mxMyText, uno::UNO_QUERY );
                     if( xTextProp.is())
                     {


More information about the Libreoffice-commits mailing list