summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/arealink.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-05-14 08:56:20 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-05-14 08:56:20 +0000
commitbe46df8d23de69b01b1ebf13e233b0097fa7b108 (patch)
tree346aedda5c7e4256ae7ffa5520564431841e6c06 /sc/source/ui/docshell/arealink.cxx
parent366b706e1c246d0b4d30071a5f35671c1d4121cb (diff)
INTEGRATION: CWS koheiformula01 (1.26.224); FILE MERGED
2008/04/23 15:10:12 kohei 1.26.224.2: RESYNC: (1.26-1.27); FILE MERGED 2008/03/20 23:20:14 kohei 1.26.224.1: Use the current address convention everywhere instead of always using the OOo convention.
Diffstat (limited to 'sc/source/ui/docshell/arealink.cxx')
-rw-r--r--sc/source/ui/docshell/arealink.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/arealink.cxx b/sc/source/ui/docshell/arealink.cxx
index 0d439112496d..f44686bcdc92 100644
--- a/sc/source/ui/docshell/arealink.cxx
+++ b/sc/source/ui/docshell/arealink.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: arealink.cxx,v $
- * $Revision: 1.27 $
+ * $Revision: 1.28 $
*
* This file is part of OpenOffice.org.
*
@@ -228,7 +228,8 @@ BOOL ScAreaLink::FindExtRange( ScRange& rRange, ScDocument* pSrcDoc, const Strin
}
if (!bFound) // direct reference (range or cell)
{
- if ( rRange.ParseAny( rAreaName, pSrcDoc ) & SCA_VALID )
+ ScAddress::Details aDetails(pSrcDoc->GetAddressConvention(), 0, 0);
+ if ( rRange.ParseAny( rAreaName, pSrcDoc, aDetails ) & SCA_VALID )
bFound = TRUE;
}
return bFound;