From acdd5aad07fc197f099cc99e19f6135039cb0343 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Tue, 16 Jul 2013 01:37:01 -0400 Subject: More of the same. Change-Id: I6a5f94723b5efb916abc88d0de9f972e142199df --- sc/source/ui/vba/vbanames.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/ui/vba/vbanames.cxx') diff --git a/sc/source/ui/vba/vbanames.cxx b/sc/source/ui/vba/vbanames.cxx index 4abdd11e00f0..c0a9615eb2bd 100644 --- a/sc/source/ui/vba/vbanames.cxx +++ b/sc/source/ui/vba/vbanames.cxx @@ -163,7 +163,7 @@ ScVbaNames::Add( const css::uno::Any& Name , { ScRange aRange; ScDocShell* pDocSh = excel::getDocShell(getModel()); - if ( pTokens->IsValidReference( aRange ) ) + if (pTokens->IsValidReference(aRange, aBlank)) xUnoRange = new ScCellRangeObj( pDocSh, aRange ); else { -- cgit