summaryrefslogtreecommitdiff
path: root/xmloff/source/xforms
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-04-28 21:51:59 +0200
committerMichael Stahl <mstahl@redhat.com>2017-04-28 21:51:59 +0200
commit974d48b9b8d12eecbe83a5a741c6ac729794309f (patch)
tree48ed3a79eb0c4445851c7ebfb6f8489804289f86 /xmloff/source/xforms
parent6307b68e6c08cca0c623583c791d21491528a0f9 (diff)
xmloff: fix --enable-mergedlibs build
multiple definition of `toBool(rtl::OUString const&)' since commit 836c9bbb6486e9c0c81de9d7534b934699131d3d Change-Id: I6a3e6a4e8a2af3c37f925cbdd684b8a99c088b1c
Diffstat (limited to 'xmloff/source/xforms')
-rw-r--r--xmloff/source/xforms/XFormsSubmissionContext.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmloff/source/xforms/XFormsSubmissionContext.cxx b/xmloff/source/xforms/XFormsSubmissionContext.cxx
index 88fb3e374abd..c335197004a6 100644
--- a/xmloff/source/xforms/XFormsSubmissionContext.cxx
+++ b/xmloff/source/xforms/XFormsSubmissionContext.cxx
@@ -78,6 +78,8 @@ XFormsSubmissionContext::XFormsSubmissionContext(
xModel->getSubmissions()->insert( makeAny( mxSubmission ) );
}
+namespace {
+
Any toBool( const OUString& rValue )
{
Any aValue;
@@ -89,6 +91,8 @@ Any toBool( const OUString& rValue )
return aValue;
}
+} // namespace
+
void XFormsSubmissionContext::HandleAttribute( sal_uInt16 nToken,
const OUString& rValue )
{