summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-02-15 10:04:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-02-19 09:09:06 +0100
commit3ba92b5f1eaf7d4447a0943ea260db515ca799dc (patch)
treec9d872596ba8c5d57f6a30761d5ce1052972735a /vcl/source
parent5f0021cdd0b84fccaecf23a014622f0aca86430c (diff)
hide more symbols
using the bin/find-can-be-private-symbols.py script to find classes with large numbers of exported symbols that can hidden. before exported = 58104 imported = 30810 unused_exports = 35433 after exported = 55094 imported = 31073 unused_exports = 32423 Change-Id: Idd0a70ee3740afd5ca1a86771e0e2ff8090d102d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163456 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/accessibility/AccessibleTextAttributeHelper.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/vcl/source/accessibility/AccessibleTextAttributeHelper.cxx b/vcl/source/accessibility/AccessibleTextAttributeHelper.cxx
index 5647dc972ba5..39a77d2476b4 100644
--- a/vcl/source/accessibility/AccessibleTextAttributeHelper.cxx
+++ b/vcl/source/accessibility/AccessibleTextAttributeHelper.cxx
@@ -241,7 +241,7 @@ OUString lcl_ConvertParagraphAdjust(css::style::ParagraphAdjust eParaAdjust)
}
}
-OUString AccessibleTextAttributeHelper::ConvertUnoToIAccessible2TextAttributes(
+static OUString ConvertUnoToIAccessible2TextAttributes(
const css::uno::Sequence<css::beans::PropertyValue>& rUnoAttributes,
IA2AttributeType eAttributeType)
{
@@ -336,8 +336,9 @@ OUString AccessibleTextAttributeHelper::ConvertUnoToIAccessible2TextAttributes(
}
OUString AccessibleTextAttributeHelper::GetIAccessible2TextAttributes(
- css::uno::Reference<css::accessibility::XAccessibleText> xText, IA2AttributeType eAttributeType,
- sal_Int32 nOffset, sal_Int32& rStartOffset, sal_Int32& rEndOffset)
+ const css::uno::Reference<css::accessibility::XAccessibleText>& xText,
+ IA2AttributeType eAttributeType, sal_Int32 nOffset, sal_Int32& rStartOffset,
+ sal_Int32& rEndOffset)
{
assert(xText.is());