summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-04-06 17:16:41 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-04-14 12:31:55 +0200
commit60c8df432619e4aaf90e92e18f096a43acb3a30f (patch)
tree86d0d6dc6a7a6d1313c8e2427d0ddccc400513eb /svtools
parent18c7992d7ff66e796f18eeeb44b62a78f74f820a (diff)
remove static strings
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/misc/bindablecontrolhelper.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svtools/source/misc/bindablecontrolhelper.cxx b/svtools/source/misc/bindablecontrolhelper.cxx
index bc54fb6d1e83..ab22b2b50cb4 100644
--- a/svtools/source/misc/bindablecontrolhelper.cxx
+++ b/svtools/source/misc/bindablecontrolhelper.cxx
@@ -41,12 +41,11 @@ using namespace ::com::sun::star;
bool lcl_isNamedRange( const OUString& sAddress, const uno::Reference< frame::XModel >& xModel, table::CellRangeAddress& aAddress )
{
bool bRes = false;
- const static OUString sNamedRanges("NamedRanges");
uno::Reference< sheet::XCellRangeReferrer > xReferrer;
try
{
uno::Reference< beans::XPropertySet > xPropSet( xModel, uno::UNO_QUERY_THROW );
- uno::Reference< container::XNameAccess > xNamed( xPropSet->getPropertyValue( sNamedRanges ), uno::UNO_QUERY_THROW );
+ uno::Reference< container::XNameAccess > xNamed( xPropSet->getPropertyValue( "NamedRanges" ), uno::UNO_QUERY_THROW );
xReferrer.set ( xNamed->getByName( sAddress ), uno::UNO_QUERY );
}
catch( uno::Exception& /*e*/ )