summaryrefslogtreecommitdiff
path: root/forms/source/xforms/convert.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/xforms/convert.hxx')
-rw-r--r--forms/source/xforms/convert.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/forms/source/xforms/convert.hxx b/forms/source/xforms/convert.hxx
index 83244988f871..098066327ebf 100644
--- a/forms/source/xforms/convert.hxx
+++ b/forms/source/xforms/convert.hxx
@@ -47,8 +47,8 @@ class Convert
typedef com::sun::star::uno::Any Any_t;
// hold conversion objects
- typedef rtl::OUString (*fn_toXSD)( const Any_t& );
- typedef Any_t (*fn_toAny)( const rtl::OUString& );
+ typedef OUString (*fn_toXSD)( const Any_t& );
+ typedef Any_t (*fn_toAny)( const OUString& );
typedef std::pair<fn_toXSD,fn_toAny> Convert_t;
typedef std::map<Type_t,Convert_t,TypeLess> Map_t;
Map_t maMap;
@@ -68,10 +68,10 @@ public:
Types_t getTypes();
/// convert any to XML representation
- rtl::OUString toXSD( const Any_t& rAny );
+ OUString toXSD( const Any_t& rAny );
/// convert XML representation to Any of given type
- Any_t toAny( const rtl::OUString&, const Type_t& );
+ Any_t toAny( const OUString&, const Type_t& );
/** translates the whitespaces in a given string, according
to a given <type scope="com::sun::star::xsd">WhiteSpaceTreatment</type>.
@@ -84,19 +84,19 @@ public:
@return
the converted string
*/
- static ::rtl::OUString convertWhitespace(
- const ::rtl::OUString& _rString,
+ static OUString convertWhitespace(
+ const OUString& _rString,
sal_Int16 _nWhitespaceTreatment
);
/** replace all occurrences 0x08, 0x0A, 0x0D with 0x20
*/
- static ::rtl::OUString replaceWhitespace( const ::rtl::OUString& _rString );
+ static OUString replaceWhitespace( const OUString& _rString );
/** replace all sequences of 0x08, 0x0A, 0x0D, 0x20 with a single 0x20.
also strip leading/trailing whitespace.
*/
- static ::rtl::OUString collapseWhitespace( const ::rtl::OUString& _rString );
+ static OUString collapseWhitespace( const OUString& _rString );
};
} // namespace xforms