summaryrefslogtreecommitdiffstats
path: root/chart2/workbench
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@novell.com>2010-11-09 22:16:26 +0100
committerThorsten Behrens <tbehrens@novell.com>2010-11-09 22:16:26 +0100
commita5317717f476b6f0f221215cd6ae859d59b848bd (patch)
tree3ee485db9813dd51725c64159ab5b3c2e3e8c8ab /chart2/workbench
parentEasyHack: createFromAscii to RTL macro (diff)
downloadcore-a5317717f476b6f0f221215cd6ae859d59b848bd.tar.gz
core-a5317717f476b6f0f221215cd6ae859d59b848bd.zip
Cleansed commented-out code
Just using a German title clearly conveys no useful information.
Diffstat (limited to 'chart2/workbench')
-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())
{