summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2016-02-09 09:21:53 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2016-02-09 08:11:34 +0000
commit538f276ae0414ea34ede6090b5f56e8fecd6fc65 (patch)
treeefbfb952f3236a6f56540ddae6a896c8c73774a0 /sw
parentf12e483589888f87843026ceff5ae3c1e615ca02 (diff)
Formatting changes across all modules
+ Removed comment cruft + Tab formatting in number of files + Some commented out code removed + Tab characters replaced with spaces + Newline cleanup in quite a few files + Tweak header guard #endifs Change-Id: I3208ff2f047da890edcc49b73389aca22442f5fc Reviewed-on: https://gerrit.libreoffice.org/22221 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/modcfg.hxx4
-rw-r--r--sw/source/core/doc/doccomp.cxx2
-rw-r--r--sw/source/uibase/config/modcfg.cxx6
3 files changed, 6 insertions, 6 deletions
diff --git a/sw/inc/modcfg.hxx b/sw/inc/modcfg.hxx
index 1bb0de60f23c..0a58737c3ba3 100644
--- a/sw/inc/modcfg.hxx
+++ b/sw/inc/modcfg.hxx
@@ -92,12 +92,12 @@ class SwCompareConfig : public utl::ConfigItem
{
friend class SwModuleOptions;
- sal_uInt16 eCmpMode; //Compare/CompareDocuments;
+ sal_uInt16 eCmpMode; //Compare/CompareDocuments;
bool bUseRsid; //Compare/Settings/Use RSID
/// Compare/Settings/Store RSID
bool m_bStoreRsid;
bool bIgnorePieces; //Compare/Settings/Ignore pieces of length
- sal_uInt16 nPieceLen; //Compare/Settings/Ignore pieces of length
+ sal_uInt16 nPieceLen; //Compare/Settings/Ignore pieces of length
static const css::uno::Sequence<OUString>& GetPropertyNames();
diff --git a/sw/source/core/doc/doccomp.cxx b/sw/source/core/doc/doccomp.cxx
index a6fad31d95a6..58a38c7ebe4d 100644
--- a/sw/source/core/doc/doccomp.cxx
+++ b/sw/source/core/doc/doccomp.cxx
@@ -279,7 +279,7 @@ class WordArrayComparator : public ArrayComparator
private:
const SwTextNode *pTextNd1, *pTextNd2;
int *pPos1, *pPos2;
- int nCnt1, nCnt2; // number of words
+ int nCnt1, nCnt2; // number of words
static void CalcPositions( int *pPos, const SwTextNode *pTextNd, int &nCnt );
diff --git a/sw/source/uibase/config/modcfg.cxx b/sw/source/uibase/config/modcfg.cxx
index 92c331d9b54a..9fd11e37c597 100644
--- a/sw/source/uibase/config/modcfg.cxx
+++ b/sw/source/uibase/config/modcfg.cxx
@@ -1302,9 +1302,9 @@ const Sequence<OUString>& SwCompareConfig::GetPropertyNames()
aNames.realloc(nCount);
static const char* aPropNames[] =
{
- "Mode", // 0
- "UseRSID", // 1
- "IgnorePieces", // 2
+ "Mode", // 0
+ "UseRSID", // 1
+ "IgnorePieces", // 2
"IgnoreLength", // 3
"StoreRSID" // 4
};