summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlatr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/html/htmlatr.cxx')
-rw-r--r--sw/source/filter/html/htmlatr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/html/htmlatr.cxx b/sw/source/filter/html/htmlatr.cxx
index 836e7db42cfa..e655dd34e569 100644
--- a/sw/source/filter/html/htmlatr.cxx
+++ b/sw/source/filter/html/htmlatr.cxx
@@ -3049,7 +3049,7 @@ static Writer& OutHTML_SwFormatINetFormat( Writer& rWrt, const SfxPoolItem& rHt
if( rHTMLWrt.m_bTagOn )
{
// if necessary, temporarily close an attribute that is still open
- if( rHTMLWrt.m_aINetFormats.size() )
+ if( !rHTMLWrt.m_aINetFormats.empty() )
{
SwFormatINetFormat *pINetFormat =
rHTMLWrt.m_aINetFormats.back();
@@ -3068,7 +3068,7 @@ static Writer& OutHTML_SwFormatINetFormat( Writer& rWrt, const SfxPoolItem& rHt
OutHTML_INetFormat( rWrt, rINetFormat, false );
OSL_ENSURE( rHTMLWrt.m_aINetFormats.size(), "there must be a URL attribute missing" );
- if( rHTMLWrt.m_aINetFormats.size() )
+ if( !rHTMLWrt.m_aINetFormats.empty() )
{
// get its own attribute from the stack
SwFormatINetFormat *pINetFormat = rHTMLWrt.m_aINetFormats.back();