Kaydet (Commit) 4f55dedc authored tarafından Miklos Vajna's avatar Miklos Vajna

sw: indentation fixes

Change-Id: If996c17dbfee2302a1d0f58428b088a953abcc9f
üst 64d80d22
...@@ -282,15 +282,15 @@ public: ...@@ -282,15 +282,15 @@ public:
}; };
namespace std { namespace std {
template<> template<>
struct less<SwPageDesc*> { struct less<SwPageDesc*> {
bool operator()(const SwPageDesc *pPageDesc, const OUString &rName) const bool operator()(const SwPageDesc *pPageDesc, const OUString &rName) const
{ return pPageDesc->GetName() < rName; } { return pPageDesc->GetName() < rName; }
bool operator()(const OUString &rName, const SwPageDesc *pPageDesc) const bool operator()(const OUString &rName, const SwPageDesc *pPageDesc) const
{ return rName < pPageDesc->GetName(); } { return rName < pPageDesc->GetName(); }
bool operator()(const SwPageDesc *lhs, const SwPageDesc *rhs) const bool operator()(const SwPageDesc *lhs, const SwPageDesc *rhs) const
{ return lhs->GetName() < rhs->GetName(); } { return lhs->GetName() < rhs->GetName(); }
}; };
} }
inline void SwPageDesc::SetFollow( const SwPageDesc* pNew ) inline void SwPageDesc::SetFollow( const SwPageDesc* pNew )
......
...@@ -1146,8 +1146,8 @@ DECLARE_RTFEXPORT_TEST(testTdf104228, "tdf104228.rtf") ...@@ -1146,8 +1146,8 @@ DECLARE_RTFEXPORT_TEST(testTdf104228, "tdf104228.rtf")
DECLARE_RTFEXPORT_TEST(testTdf104085, "tdf104085.rtf") DECLARE_RTFEXPORT_TEST(testTdf104085, "tdf104085.rtf")
{ {
uno::Reference<text::XTextRange> xPara(getParagraph(1)); uno::Reference<text::XTextRange> xPara(getParagraph(1));
uno::Reference< beans::XPropertySet > properties( xPara, uno::UNO_QUERY); uno::Reference<beans::XPropertySet> properties(xPara, uno::UNO_QUERY);
uno::Reference<container::XIndexAccess> xLevels( properties->getPropertyValue("NumberingRules"), uno::UNO_QUERY); uno::Reference<container::XIndexAccess> xLevels(properties->getPropertyValue("NumberingRules"), uno::UNO_QUERY);
uno::Sequence<beans::PropertyValue> aProps; uno::Sequence<beans::PropertyValue> aProps;
xLevels->getByIndex(0) >>= aProps; xLevels->getByIndex(0) >>= aProps;
for (int i = 0; i < aProps.getLength(); ++i) for (int i = 0; i < aProps.getLength(); ++i)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment