summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2014-07-26 02:40:00 +0900
committerDavid Tardon <dtardon@redhat.com>2014-07-27 08:12:18 +0000
commit537cda44576730525e30fd1ace2fcf8800cad2bb (patch)
treeacccbaecd37285806ba2c35cb0aae28333f084bb /include
parentce4e7a830d5350848d3c83b872f916a7b1691266 (diff)
fdo#75757: remove inheritance to std::vector
... by boost::ptr_vector. Originally TextCharAttribList::Clear() was never called with false, so this drops the argument. Change-Id: I0306cd787dd38de0960af38afe9c08a910195b26 Reviewed-on: https://gerrit.libreoffice.org/10549 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/txtattr.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/txtattr.hxx b/include/vcl/txtattr.hxx
index d0075187f480..98a679c79c6f 100644
--- a/include/vcl/txtattr.hxx
+++ b/include/vcl/txtattr.hxx
@@ -171,7 +171,7 @@ public:
inline bool IsIn( sal_uInt16 nIndex );
inline bool IsInside( sal_uInt16 nIndex );
- inline bool IsEmpty();
+ inline bool IsEmpty() const;
};
@@ -217,7 +217,7 @@ inline bool TextCharAttrib::IsInside( sal_uInt16 nIndex )
return ( ( mnStart < nIndex ) && ( mnEnd > nIndex ) );
}
-inline bool TextCharAttrib::IsEmpty()
+inline bool TextCharAttrib::IsEmpty() const
{
return mnStart == mnEnd;
}