diff options
author | obo <obo@openoffice.org> | 2011-03-16 11:42:17 +0100 |
---|---|---|
committer | obo <obo@openoffice.org> | 2011-03-16 11:42:17 +0100 |
commit | 5b2cda248a43fa7ed094271b5f553ff6e13d45aa (patch) | |
tree | b6b605ee630dd04259506c0b7cdfb2e511e95e24 /sw/source/ui/app/swmodul1.cxx | |
parent | f36f35bef2c1e1beb8f43845ccf4b49d9f812a03 (diff) | |
parent | bde549822041c6599102a8d155e2760f7fa95c4c (diff) |
CWS-TOOLING: integrate CWS swlayoutrefactoring
Diffstat (limited to 'sw/source/ui/app/swmodul1.cxx')
-rw-r--r-- | sw/source/ui/app/swmodul1.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/app/swmodul1.cxx b/sw/source/ui/app/swmodul1.cxx index 4359ca16f9d9..9791a7e8e2aa 100644 --- a/sw/source/ui/app/swmodul1.cxx +++ b/sw/source/ui/app/swmodul1.cxx @@ -99,7 +99,7 @@ void lcl_SetUIPrefs(const SwViewOption* pPref, SwView* pView, ViewShell* pSh ) } if(bHScrollChanged) { - pView->ShowHScrollbar( pNewPref->IsViewHScrollBar() || pSh->getIDocumentSettingAccess()->get(IDocumentSettingAccess::BROWSE_MODE)); + pView->ShowHScrollbar( pNewPref->IsViewHScrollBar() || pNewPref->getBrowseMode() ); } //if only the position of the vertical ruler has been changed initiate an update if(bVAlignChanged && !bHScrollChanged && !bVScrollChanged) @@ -658,7 +658,7 @@ void SwModule::CheckSpellChanges( sal_Bool bOnlineSpelling, pDocSh = (SwDocShell*)SfxObjectShell::GetNext( *pDocSh, &aType ) ) { SwDoc* pTmp = pDocSh->GetDoc(); - if ( pTmp->GetRootFrm() ) + if ( pTmp->GetCurrentViewShell() ) //swmod 071108//swmod 071225 { pTmp->SpellItAgainSam( bInvalid, bOnlyWrong, bSmartTags ); ViewShell* pViewShell = 0; |