diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-06-03 15:35:22 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-06-03 16:15:10 +0200 |
commit | 445b58a829ecc3868b79997480958571312cbc4a (patch) | |
tree | 9270b5c3b22eb54f618a3c95f81378446524795e /sw | |
parent | fbb3db64de22a7fd0e14dce5e14e3b690285afdb (diff) |
SwTextBoxHelper::queryInterface: handle css::text::XTextRange as well
Change-Id: If56d7cab269a76062ee75bb1a9484f154b72c4d7
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/doc/textboxhelper.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/core/doc/textboxhelper.cxx b/sw/source/core/doc/textboxhelper.cxx index b732af148171..e2b7d126ddef 100644 --- a/sw/source/core/doc/textboxhelper.cxx +++ b/sw/source/core/doc/textboxhelper.cxx @@ -202,6 +202,10 @@ uno::Any SwTextBoxHelper::queryInterface(SwFrmFmt* pShape, const uno::Type& rTyp { lcl_queryInterface<text::XText>(pShape, aRet); } + else if (rType == cppu::UnoType<css::text::XTextRange>::get()) + { + lcl_queryInterface<text::XTextRange>(pShape, aRet); + } return aRet; |