Kaydet (Commit) 979854a5 authored tarafından Zolnai Tamás's avatar Zolnai Tamás

Remove useless variable

Change-Id: I78004d9d74647ad9b87975204844cb2bb66a83fa
üst ca62ff02
......@@ -887,8 +887,6 @@ void SwTextShell::Execute(SfxRequest &rReq)
if ( !pPaM )
pPaM = rWrtSh.GetCrsr();
bool bUseCurCrsr = true;
FieldUnit eMetric = ::GetDfltMetric(0 != PTR_CAST(SwWebView, &GetView()));
SW_MOD()->PutItem(SfxUInt16Item(SID_ATTR_METRIC, static_cast< sal_uInt16 >(eMetric)));
......@@ -934,8 +932,7 @@ void SwTextShell::Execute(SfxRequest &rReq)
SfxInt32Item aOff( SID_ATTR_TABSTOP_OFFSET, nOff );
aCoreSet.Put( aOff );
// Setting the BoxInfo if based on the current cursor
if ( bUseCurCrsr )
// Setting the BoxInfo
::PrepareBoxInfo( aCoreSet, rWrtSh );
// Current page format
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment