SdtHelper: fix indentation

Change-Id: I21793d7d5a3edb68aa652336c3c7fe819520c23f
This commit is contained in:
Miklos Vajna
2014-03-11 17:58:00 +01:00
parent 7d68f0fa20
commit df6e7e9dd4

View File

@@ -112,7 +112,7 @@ void SdtHelper::createDateControl(OUString& rContentText)
util::Date aDate;
util::DateTime aDateTime;
if(utl::ISO8601parseDateTime(m_sDate.makeStringAndClear(), aDateTime))
if (utl::ISO8601parseDateTime(m_sDate.makeStringAndClear(), aDateTime))
{
utl::extractDate(aDateTime, aDate);
xPropertySet->setPropertyValue("Date", uno::makeAny(aDate));
@@ -150,7 +150,7 @@ void SdtHelper::createControlShape(awt::Size aSize, uno::Reference<awt::XControl
uno::Reference<beans::XPropertySet> xPropertySet(xControlShape, uno::UNO_QUERY);
xPropertySet->setPropertyValue("VertOrient", uno::makeAny(text::VertOrientation::CENTER));
if(rGrabBag.hasElements())
if (rGrabBag.hasElements())
xPropertySet->setPropertyValue(UNO_NAME_MISC_OBJ_INTEROPGRABBAG, uno::makeAny(rGrabBag));
uno::Reference<text::XTextContent> xTextContent(xControlShape, uno::UNO_QUERY);