summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/servuno.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-04-24 22:57:58 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-04-26 09:58:02 -0400
commitf43d0e0a124172cfa9a2bed89ed999626ba91e61 (patch)
treeaec00f9365145ecb78e5908a54db14c5e1c18c17 /sc/source/ui/unoobj/servuno.cxx
parent6705f284f41ed7ca2d10d9f6d2ab67005ec045d4 (diff)
Likewise, pass edit source instance to ScEditFieldObj.
Diffstat (limited to 'sc/source/ui/unoobj/servuno.cxx')
-rw-r--r--sc/source/ui/unoobj/servuno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/servuno.cxx b/sc/source/ui/unoobj/servuno.cxx
index 816be4140cf4..d7c2d9ba09c1 100644
--- a/sc/source/ui/unoobj/servuno.cxx
+++ b/sc/source/ui/unoobj/servuno.cxx
@@ -432,7 +432,7 @@ uno::Reference<uno::XInterface> ScServiceProvider::MakeInstance(
{
uno::Reference<text::XTextRange> xNullContent;
xRet.set(static_cast<text::XTextField*>(
- new ScEditFieldObj(xNullContent, ScEditFieldObj::URL, NULL, ScAddress(), ESelection())));
+ new ScEditFieldObj(xNullContent, NULL, ScEditFieldObj::URL, ESelection())));
}
break;
case SC_SERVICE_PAGEFIELD: