summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview
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/uibase/uiview
parent4bdae9c9fb5c126245feb1b1fe8d3d7833fdeb00 (diff)
sal_True/sal_False to true/false in sw comments (also delete obsolete ones)
Change-Id: Ifb29bd3e9c5dc7671c189fd9daa010305f7a85a4
Diffstat (limited to 'sw/source/uibase/uiview')
-rw-r--r--sw/source/uibase/uiview/view.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sw/source/uibase/uiview/view.cxx b/sw/source/uibase/uiview/view.cxx
index daf170072ef9..977d6e65d2eb 100644
--- a/sw/source/uibase/uiview/view.cxx
+++ b/sw/source/uibase/uiview/view.cxx
@@ -920,9 +920,6 @@ SwView::SwView( SfxViewFrame *_pFrame, SfxViewShell* pOldSh )
m_pWrtShell->SetChgLnk(LINK(this, SwView, AttrChangedNotify));
if( pDocSh->GetCreateMode() == SFX_CREATE_MODE_EMBEDDED &&
- //TODO/LATER: why a cast here?
- //!((SvEmbeddedObject *)pDocSh)->GetVisArea().IsEmpty() )
- //SetVisArea( ((SvEmbeddedObject *)pDocSh)->GetVisArea(),sal_False);
!pDocSh->GetVisArea(ASPECT_CONTENT).IsEmpty() )
SetVisArea( pDocSh->GetVisArea(ASPECT_CONTENT),false);
@@ -1556,7 +1553,7 @@ ErrCode SwView::DoVerb( long nVerb )
return ERRCODE_NONE;
}
-// only return sal_True for a text selection
+// only return true for a text selection
bool SwView::HasSelection( bool bText ) const
{