summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/a11y/atktext.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2007-01-29 13:23:23 +0000
committerRüdiger Timm <rt@openoffice.org>2007-01-29 13:23:23 +0000
commit8173ad8abfe03a725b0c5908cfe800c60448d929 (patch)
tree042cedaeaeacda611006ce03baa18a5f29c8d2eb /vcl/unx/gtk/a11y/atktext.cxx
parent4b5bc2160da6143d567d25920474897cbb5f42a0 (diff)
INTEGRATION: CWS atkbridge5 (1.5.70); FILE MERGED
2007/01/18 12:32:53 obr 1.5.70.1: #i71385# rework of text attribute code, added language and scale
Diffstat (limited to 'vcl/unx/gtk/a11y/atktext.cxx')
-rw-r--r--vcl/unx/gtk/a11y/atktext.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/unx/gtk/a11y/atktext.cxx b/vcl/unx/gtk/a11y/atktext.cxx
index c1410146832b..e9147f6b9e0a 100644
--- a/vcl/unx/gtk/a11y/atktext.cxx
+++ b/vcl/unx/gtk/a11y/atktext.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: atktext.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: vg $ $Date: 2006-11-01 14:10:18 $
+ * last change: $Author: rt $ $Date: 2007-01-29 14:23:23 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -394,7 +394,7 @@ text_wrapper_get_run_attributes( AtkText *text,
uno::Sequence< beans::PropertyValue > aAttributeList =
pTextAttributes->getRunAttributes( offset, uno::Sequence< rtl::OUString > () );
- pSet = attribute_set_new_from_property_values( aAttributeList );
+ pSet = attribute_set_new_from_property_values( aAttributeList, true, text );
accessibility::TextSegment aTextSegment =
pText->getTextAtIndex(offset, accessibility::AccessibleTextType::ATTRIBUTE_RUN);
@@ -431,7 +431,7 @@ text_wrapper_get_default_attributes( AtkText *text )
uno::Sequence< beans::PropertyValue > aAttributeList =
pTextAttributes->getDefaultAttributes( uno::Sequence< rtl::OUString > () );
- pSet = attribute_set_new_from_property_values( aAttributeList );
+ pSet = attribute_set_new_from_property_values( aAttributeList, false, text );
}
}
catch(const uno::Exception& e) {