summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/node.hxx3
-rw-r--r--sw/inc/viewsh.hxx3
-rw-r--r--sw/source/core/view/viewsh.cxx12
3 files changed, 0 insertions, 18 deletions
diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx
index 1ac709ca2965..75096dd2aa28 100644
--- a/sw/inc/node.hxx
+++ b/sw/inc/node.hxx
@@ -411,9 +411,6 @@ public:
bool CanJoinNext( SwPosition* pIdx ) const;
bool CanJoinPrev( SwNodeIndex* pIdx =nullptr ) const;
- void MakeStartIndex( SwContentIndex * pIdx ) { pIdx->Assign( this, 0 ); }
- void MakeEndIndex( SwContentIndex * pIdx ) { pIdx->Assign( this, Len() ); }
-
bool GoNext(SwContentIndex *, SwCursorSkipMode nMode ) const;
bool GoNext(SwPosition*, SwCursorSkipMode nMode ) const;
bool GoPrevious(SwContentIndex *, SwCursorSkipMode nMode ) const;
diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx
index 06cdc6ccfd2c..1114478ed395 100644
--- a/sw/inc/viewsh.hxx
+++ b/sw/inc/viewsh.hxx
@@ -400,9 +400,6 @@ public:
// Font metric attribute "External Leading" should be considered.
void SetAddExtLeading( bool bNew );
- // Formatting by virtual device or printer.
- void SetUseVirDev( bool bNew );
-
// Adding paragraph and table spacing at bottom
// of table cells.
void SetAddParaSpacingToTableCells( bool _bAddParaSpacingToTableCells );
diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index d26ecaa71178..49a716d51391 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -911,18 +911,6 @@ void SwViewShell::SetAddExtLeading( bool bNew )
}
}
-void SwViewShell::SetUseVirDev( bool bNewVirtual )
-{
- IDocumentSettingAccess& rIDSA = getIDocumentSettingAccess();
- if ( rIDSA.get(DocumentSettingId::USE_VIRTUAL_DEVICE) != bNewVirtual )
- {
- SwWait aWait( *GetDoc()->GetDocShell(), true );
- // this sets the flag at the document and calls PrtDataChanged
- IDocumentDeviceAccess& rIDDA = getIDocumentDeviceAccess();
- rIDDA.setReferenceDeviceType( bNewVirtual, true );
- }
-}
-
/** Sets if paragraph and table spacing is added at bottom of table cells.
* #106629#
* @param[in] (bool) setting of the new value