summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chart2/workbench/addin/sampleaddin.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/chart2/workbench/addin/sampleaddin.cxx b/chart2/workbench/addin/sampleaddin.cxx
index b039490b6793..9491ae20d236 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())
{