summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorLaurent Balland-Poirier <laurent.balland-poirier@laposte.net>2014-09-22 08:07:01 +0200
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-09-23 19:21:18 -0400
commit801bd49a4c394bd0f7bc9cc05ffa95b38ce17a60 (patch)
treee243846c6a19b5487ab0370ae249f66bbccdded4 /sc
parentf1ea6f2d1ef5e40a832c3fbe2475a4ee8cc475ec (diff)
fdo#83848 Add GetAddressConvention to RefButton
Reviewed-on: https://gerrit.libreoffice.org/11578 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us> (cherry picked from commit 2c7595a911c3b0102162c2ad9cef4a84538b66f8) Change-Id: I20d633909d3c13bf49998a6cca054ab125b6c991
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/dbgui/validate.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/dbgui/validate.cxx b/sc/source/ui/dbgui/validate.cxx
index 49e0bce38287..84a62f88737c 100644
--- a/sc/source/ui/dbgui/validate.cxx
+++ b/sc/source/ui/dbgui/validate.cxx
@@ -48,6 +48,7 @@
#include <sfx2/viewfrm.hxx>
#include <sfx2/childwin.hxx>
#include "reffact.hxx"
+#include <document.hxx>
// ============================================================================
@@ -88,7 +89,7 @@ void ScTPValidationValue::SetReferenceHdl( const ScRange&rRange , ScDocument* pD
if ( m_pRefEdit )
{
- OUString aStr(rRange.Format(SCR_ABS_3D, pDoc));
+ OUString aStr(rRange.Format(SCR_ABS_3D, pDoc, pDoc->GetAddressConvention()));
m_pRefEdit->SetRefString( aStr );
}
}