summaryrefslogtreecommitdiff
path: root/xmlscript
diff options
context:
space:
mode:
Diffstat (limited to 'xmlscript')
-rw-r--r--xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx4
-rw-r--r--xmlscript/source/xmldlg_imexp/xmldlg_import.cxx3
2 files changed, 2 insertions, 5 deletions
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
index f37993e2bd91..49878a0bffb3 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
@@ -224,9 +224,7 @@ Reference< xml::input::XElement > ProgressBarElement::startChildElement(
}
else
{
- throw xml::sax::SAXException(
- OUString( "expected event element!" ),
- Reference< XInterface >(), Any() );
+ throw xml::sax::SAXException( "expected event element!", Reference< XInterface >(), Any() );
}
}
void ProgressBarElement::endElement()
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
index e9d2b67505b7..09afb0b4851d 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
@@ -1371,8 +1371,7 @@ bool ImportContext::importImageScaleModeProperty(
}
else
{
- throw xml::sax::SAXException(
- OUString( "invalid scale image mode value!" ),
+ throw xml::sax::SAXException( "invalid scale image mode value!",
Reference< XInterface >(), Any() );
}