Kaydet (Commit) fcba36b6 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: unused variable 'rects'

Put the whole non-DESKTOP case in #if 0 for now. Unclear what we
actualy need to do there.
üst ff6ad0df
......@@ -307,6 +307,9 @@ void SwSelPaintRects::Show()
HighlightInputFld();
#else
#if 0 // Totally unclear what we want to do here?
const OutputDevice* pOut = GetShell()->GetWin();
if ( ! pOut )
pOut = GetShell()->GetOut();
......@@ -315,6 +318,7 @@ void SwSelPaintRects::Show()
{
if (pWrtShell)
{
// Buffer will be deallocated in the UI layer
MLORect *rects = (MLORect *) malloc((sizeof(MLORect))*size());
for (size_t i = 0; i < size(); ++i)
......@@ -341,6 +345,8 @@ void SwSelPaintRects::Show()
// touch_ui_selection_none was dummy both in TiledLibreOffice (iOS) and for Android
// touch_ui_selection_none();
}
#endif
#endif
}
}
......
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