summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-07-27 17:30:48 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-07-27 17:30:48 +0200
commit21977778168af134e7f72afcc07ff5062324a19d (patch)
tree46a30bc7f5cd90670c1c6797ad383b51687e4b4a /writerfilter
parentae1fb2e9219c071a0d61e6c5c00d965c33bdd9be (diff)
indentation fixes
Change-Id: I0a0f04d0f0e008e8947a5a7e3ed6083c1589e61b
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/dmapper/SdtHelper.cxx7
-rw-r--r--writerfilter/source/dmapper/SdtHelper.hxx7
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.cxx7
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.hxx2
-rw-r--r--writerfilter/source/rtftok/rtfsdrimport.cxx3
-rw-r--r--writerfilter/source/rtftok/rtfvalue.hxx8
6 files changed, 12 insertions, 22 deletions
diff --git a/writerfilter/source/dmapper/SdtHelper.cxx b/writerfilter/source/dmapper/SdtHelper.cxx
index 671e4c29af24..ce57d6045388 100644
--- a/writerfilter/source/dmapper/SdtHelper.cxx
+++ b/writerfilter/source/dmapper/SdtHelper.cxx
@@ -135,15 +135,12 @@ void SdtHelper::createDateControl(OUString& rContentText, beans::PropertyValue a
createControlShape(lcl_getOptimalWidth(m_rDM_Impl.GetStyleSheetTable(), rContentText, aItems), xControlModel, aGrabBag.getAsConstPropertyValueList());
}
-void SdtHelper::createControlShape(awt::Size aSize,
- uno::Reference<awt::XControlModel> const& xControlModel)
+void SdtHelper::createControlShape(awt::Size aSize, uno::Reference<awt::XControlModel> const& xControlModel)
{
createControlShape(aSize, xControlModel, uno::Sequence<beans::PropertyValue>());
}
-void SdtHelper::createControlShape(awt::Size aSize,
- uno::Reference<awt::XControlModel> const& xControlModel,
- const uno::Sequence<beans::PropertyValue>& rGrabBag)
+void SdtHelper::createControlShape(awt::Size aSize, uno::Reference<awt::XControlModel> const& xControlModel, const uno::Sequence<beans::PropertyValue>& rGrabBag)
{
uno::Reference<drawing::XControlShape> xControlShape(m_rDM_Impl.GetTextFactory()->createInstance("com.sun.star.drawing.ControlShape"), uno::UNO_QUERY);
xControlShape->setSize(aSize);
diff --git a/writerfilter/source/dmapper/SdtHelper.hxx b/writerfilter/source/dmapper/SdtHelper.hxx
index 11c879a89580..f4f56ab13227 100644
--- a/writerfilter/source/dmapper/SdtHelper.hxx
+++ b/writerfilter/source/dmapper/SdtHelper.hxx
@@ -62,11 +62,8 @@ class SdtHelper
bool m_bHasElements;
/// Create and append the drawing::XControlShape, containing the various models.
- void createControlShape(com::sun::star::awt::Size aSize,
- com::sun::star::uno::Reference<com::sun::star::awt::XControlModel> const&);
- void createControlShape(com::sun::star::awt::Size aSize,
- com::sun::star::uno::Reference<com::sun::star::awt::XControlModel> const&,
- const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>& rGrabBag);
+ void createControlShape(css::awt::Size aSize, css::uno::Reference<css::awt::XControlModel> const&);
+ void createControlShape(css::awt::Size aSize, css::uno::Reference<css::awt::XControlModel> const&, const css::uno::Sequence<css::beans::PropertyValue>& rGrabBag);
public:
SdtHelper(DomainMapper_Impl& rDM_Impl);
virtual ~SdtHelper();
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 95e41dc44a65..8ff911a0d230 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -705,9 +705,7 @@ int RTFDocumentImpl::resolvePict(bool const bInline, uno::Reference<drawing::XSh
int b = 0, count = 2;
// Feed the destination text to a stream.
- OString aStr = OUStringToOString(
- m_aStates.top().aDestinationText.makeStringAndClear(),
- RTL_TEXTENCODING_ASCII_US);
+ OString aStr = OUStringToOString(m_aStates.top().aDestinationText.makeStringAndClear(), RTL_TEXTENCODING_ASCII_US);
const char* str = aStr.getStr();
for (int i = 0; i < aStr.getLength(); ++i)
{
@@ -4882,8 +4880,7 @@ int RTFDocumentImpl::popState()
case DESTINATION_SHAPEPROPERTYNAME:
if (&m_aStates.top().aDestinationText != m_aStates.top().pDestinationText)
break; // not for nested group
- aState.aShape.aProperties.push_back(make_pair(
- m_aStates.top().pDestinationText->makeStringAndClear(), OUString()));
+ aState.aShape.aProperties.push_back(make_pair(m_aStates.top().pDestinationText->makeStringAndClear(), OUString()));
break;
case DESTINATION_SHAPEPROPERTYVALUE:
if (aState.aShape.aProperties.size())
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.hxx b/writerfilter/source/rtftok/rtfdocumentimpl.hxx
index 94f43bf0f622..3a9f0d81b985 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.hxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.hxx
@@ -271,7 +271,7 @@ public:
/// Text from special destinations.
OUStringBuffer aDestinationText;
/// point to the buffer of the current destination
- OUStringBuffer * pDestinationText;
+ OUStringBuffer* pDestinationText;
/// Index of the current style.
int nCurrentStyleIndex;
diff --git a/writerfilter/source/rtftok/rtfsdrimport.cxx b/writerfilter/source/rtftok/rtfsdrimport.cxx
index 3fb2f09fb9d6..ee3f0c33d124 100644
--- a/writerfilter/source/rtftok/rtfsdrimport.cxx
+++ b/writerfilter/source/rtftok/rtfsdrimport.cxx
@@ -141,8 +141,7 @@ void RTFSdrImport::resolveFLine(uno::Reference<beans::XPropertySet> const& xProp
xPropertySet->setPropertyValue("LineStyle", uno::makeAny(drawing::LineStyle_NONE));
}
-void RTFSdrImport::applyProperty(uno::Reference<drawing::XShape> const& xShape,
- const OUString& aKey, const OUString& aValue)
+void RTFSdrImport::applyProperty(uno::Reference<drawing::XShape> const& xShape, const OUString& aKey, const OUString& aValue)
{
uno::Reference<beans::XPropertySet> xPropertySet(xShape, uno::UNO_QUERY);
sal_Int16 nHoriOrient = 0;
diff --git a/writerfilter/source/rtftok/rtfvalue.hxx b/writerfilter/source/rtftok/rtfvalue.hxx
index 9e9ec25358a1..7c084dd5bdd8 100644
--- a/writerfilter/source/rtftok/rtfvalue.hxx
+++ b/writerfilter/source/rtftok/rtfvalue.hxx
@@ -27,10 +27,10 @@ class RTFValue
public:
typedef boost::shared_ptr<RTFValue> Pointer_t;
RTFValue(int nValue, const OUString& sValue, RTFSprms rAttributes, RTFSprms rSprms,
- css::uno::Reference<css::drawing::XShape> const& xShape,
- css::uno::Reference<css::io::XInputStream> const& xStream,
- css::uno::Reference<css::embed::XEmbeddedObject> const& xObject,
- bool bForceString, const RTFShape& aShape);
+ css::uno::Reference<css::drawing::XShape> const& xShape,
+ css::uno::Reference<css::io::XInputStream> const& xStream,
+ css::uno::Reference<css::embed::XEmbeddedObject> const& xObject,
+ bool bForceString, const RTFShape& aShape);
RTFValue();
RTFValue(int nValue);
RTFValue(const OUString& sValue, bool bForce = false);