summaryrefslogtreecommitdiff
path: root/sw/source/core/text/txtdrop.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-04-19 11:20:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-04-19 21:45:02 +0200
commit6e531f337b27e0979cce844c013352d05ef5281e (patch)
tree0c4820c1ce0b8e9f05707a3d0ff38d49f7016cdd /sw/source/core/text/txtdrop.cxx
parentca8f4a66e44aed731646066241cf2225bb9f8c2a (diff)
SwBreakIt::m_xBreak is always available
this all is a hold over from the initial tentitive changeover to using it in the first place Change-Id: I70e28023798d8ea637c61f9fac252bc698e8100d Reviewed-on: https://gerrit.libreoffice.org/36683 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/core/text/txtdrop.cxx')
-rw-r--r--sw/source/core/text/txtdrop.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/text/txtdrop.cxx b/sw/source/core/text/txtdrop.cxx
index 157bfeef6719..be96cbc6bf81 100644
--- a/sw/source/core/text/txtdrop.cxx
+++ b/sw/source/core/text/txtdrop.cxx
@@ -127,7 +127,7 @@ sal_Int32 SwTextNode::GetDropLen( sal_Int32 nWishLen ) const
if( nWishLen && nWishLen < nEnd )
nEnd = nWishLen;
- if ( ! nWishLen && g_pBreakIt->GetBreakIter().is() )
+ if (! nWishLen)
{
// find first word
const SwAttrSet& rAttrSet = GetSwAttrSet();