diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-17 17:47:34 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-17 19:07:47 -0200 |
commit | 964617156260cd157d4f39be01a5d3dec1c29a27 (patch) | |
tree | 403c4a06a8739adf8aa0befb75543e41b898601f /sw/source/core/unocore/unoredline.cxx | |
parent | 802d82b6e2acedd3581acbf23407d7f5f742c671 (diff) |
Fix for fdo43460 Part XL getLength() to isEmpty()
Part XL
Modules
sw
Diffstat (limited to 'sw/source/core/unocore/unoredline.cxx')
-rw-r--r-- | sw/source/core/unocore/unoredline.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unoredline.cxx b/sw/source/core/unocore/unoredline.cxx index fececdb91365..977730e83641 100644 --- a/sw/source/core/unocore/unoredline.cxx +++ b/sw/source/core/unocore/unoredline.cxx @@ -448,7 +448,7 @@ void SwXRedline::setPropertyValue( const OUString& rPropertyName, const uno::Any { OSL_FAIL("currently not available"); OUString sTmp; aValue >>= sTmp; - if(!sTmp.getLength()) + if(sTmp.isEmpty()) throw lang::IllegalArgumentException(); } else if(rPropertyName.equalsAsciiL(SW_PROP_NAME(UNO_NAME_REDLINE_SUCCESSOR_DATA))) |