[Libreoffice-commits] core.git: writerfilter/source

Miklos Vajna vmiklos at collabora.co.uk
Tue Mar 11 09:59:03 PDT 2014


 writerfilter/source/dmapper/SdtHelper.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit df6e7e9dd4ac1d3a4088a68cad3b98c5b511019a
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Tue Mar 11 17:58:00 2014 +0100

    SdtHelper: fix indentation
    
    Change-Id: I21793d7d5a3edb68aa652336c3c7fe819520c23f

diff --git a/writerfilter/source/dmapper/SdtHelper.cxx b/writerfilter/source/dmapper/SdtHelper.cxx
index 164712f..df9a26e 100644
--- a/writerfilter/source/dmapper/SdtHelper.cxx
+++ b/writerfilter/source/dmapper/SdtHelper.cxx
@@ -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);


More information about the Libreoffice-commits mailing list