summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-11-09 18:39:00 +0100
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-11-16 16:54:38 +0100
commit9ba8304dad9473410fe5b30699fd4389e6a174aa (patch)
tree2815f65e083055c47f07d64735da51eeb9817167 /sw/source/ui
parent4bdae9c9fb5c126245feb1b1fe8d3d7833fdeb00 (diff)
sal_True/sal_False to true/false in sw comments (also delete obsolete ones)
Change-Id: Ifb29bd3e9c5dc7671c189fd9daa010305f7a85a4
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/frmdlg/frmpage.cxx4
-rw-r--r--sw/source/ui/misc/glosbib.cxx2
-rw-r--r--sw/source/ui/table/tautofmt.cxx2
-rw-r--r--sw/source/ui/vba/vbaselection.cxx2
4 files changed, 3 insertions, 7 deletions
diff --git a/sw/source/ui/frmdlg/frmpage.cxx b/sw/source/ui/frmdlg/frmpage.cxx
index 740ed1c68fb5..e5f51147198c 100644
--- a/sw/source/ui/frmdlg/frmpage.cxx
+++ b/sw/source/ui/frmdlg/frmpage.cxx
@@ -605,8 +605,6 @@ SwFrmPage::SwFrmPage(vcl::Window *pParent, const SfxItemSet &rSet)
bFormat(false),
bNew(true),
bNoModifyHdl(true),
- // --> OD 2009-08-31 #mongolianlayout# - no used
-// bVerticalChanged(sal_False),
bIsVerticalFrame(false),
bIsVerticalL2R(false),
bIsInRightToLeft(false),
@@ -882,8 +880,6 @@ void SwFrmPage::Reset( const SfxItemSet *rSet )
{
if (rAnchor.GetAnchorId() != FLY_AT_FLY && !pSh->IsFlyInFly())
m_pAnchorAtFrameRB->Hide();
- // --> OD 2009-08-31 #mongolianlayout#
-// if ( !bVerticalChanged && pSh->IsFrmVertical(sal_True, bIsInRightToLeft) )
if ( pSh->IsFrmVertical( true, bIsInRightToLeft, bIsVerticalL2R ) )
{
OUString sHLabel = m_pHorizontalFT->GetText();
diff --git a/sw/source/ui/misc/glosbib.cxx b/sw/source/ui/misc/glosbib.cxx
index d65abfe36a8a..9aab2ff9e24d 100644
--- a/sw/source/ui/misc/glosbib.cxx
+++ b/sw/source/ui/misc/glosbib.cxx
@@ -370,7 +370,7 @@ bool SwGlossaryGroupDlg::IsDeleteAllowed(const OUString &rGroup)
// OM: if the name is among the new region name, it is deletable
// as well! Because for non existing region names ReadOnly issues
- // sal_True.
+ // true.
for (OUVector_t::const_iterator it(m_InsertedArr.begin());
it != m_InsertedArr.end(); ++it)
diff --git a/sw/source/ui/table/tautofmt.cxx b/sw/source/ui/table/tautofmt.cxx
index 0c1a1a1d17bf..b0ef74f3c451 100644
--- a/sw/source/ui/table/tautofmt.cxx
+++ b/sw/source/ui/table/tautofmt.cxx
@@ -843,7 +843,7 @@ void AutoFmtPreview::CalcLineMap()
void AutoFmtPreview::NotifyChange( const SwTableAutoFmt& rNewData )
{
aCurData = rNewData;
- bFitWidth = aCurData.IsJustify();//sal_True; //???
+ bFitWidth = aCurData.IsJustify(); // true; //???
CalcCellArray( bFitWidth );
CalcLineMap();
DoPaint( Rectangle( Point(0,0), GetSizePixel() ) );
diff --git a/sw/source/ui/vba/vbaselection.cxx b/sw/source/ui/vba/vbaselection.cxx
index 0cd1cefbb841..cc321aeb52d7 100644
--- a/sw/source/ui/vba/vbaselection.cxx
+++ b/sw/source/ui/vba/vbaselection.cxx
@@ -120,7 +120,7 @@ SwVbaSelection::setText( const OUString& rText ) throw ( uno::RuntimeException,
void SAL_CALL
SwVbaSelection::TypeText( const OUString& rText ) throw ( uno::RuntimeException, std::exception )
{
- // FIXME: handle the property Options.ReplaceSelection, the default value is sal_True
+ // FIXME: handle the property Options.ReplaceSelection, the default value is true
setText( rText );
}