diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-08 09:38:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-08 09:38:24 +0200 |
commit | a4ca332afd13d3f9309eee4b48d93bfe3b2a4fe1 (patch) | |
tree | 022f74b55fe9b3022585ec734bf525a8cc17b17d /vcl/qt5/Qt5Frame.cxx | |
parent | 2b946181595d198809e8a6a3fb82fd965ac911fa (diff) |
-Wunused-parameter in qt5 plugin
Change-Id: I2d17ccdc9addb911fef8925d87b794075946c3ca
Diffstat (limited to 'vcl/qt5/Qt5Frame.cxx')
-rw-r--r-- | vcl/qt5/Qt5Frame.cxx | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/vcl/qt5/Qt5Frame.cxx b/vcl/qt5/Qt5Frame.cxx index cb44b71f6e2c..c3cc768af37c 100644 --- a/vcl/qt5/Qt5Frame.cxx +++ b/vcl/qt5/Qt5Frame.cxx @@ -227,13 +227,13 @@ void Qt5Frame::SetIcon(sal_uInt16 nIcon) m_pQWidget->window()->setWindowIcon(aIcon); } -void Qt5Frame::SetMenu(SalMenu* pMenu) {} +void Qt5Frame::SetMenu(SalMenu* /*pMenu*/) {} void Qt5Frame::DrawMenuBar() {} -void Qt5Frame::SetExtendedFrameStyle(SalExtStyle nExtStyle) {} +void Qt5Frame::SetExtendedFrameStyle(SalExtStyle /*nExtStyle*/) {} -void Qt5Frame::Show(bool bVisible, bool bNoActivate) +void Qt5Frame::Show(bool bVisible, bool /*bNoActivate*/) { assert(m_pQWidget.get()); m_pQWidget->setVisible(bVisible); @@ -409,13 +409,13 @@ bool Qt5Frame::GetWindowState(SalFrameState* pState) return true; } -void Qt5Frame::ShowFullScreen(bool bFullScreen, sal_Int32 nDisplay) {} +void Qt5Frame::ShowFullScreen(bool /*bFullScreen*/, sal_Int32 /*nDisplay*/) {} -void Qt5Frame::StartPresentation(bool bStart) {} +void Qt5Frame::StartPresentation(bool /*bStart*/) {} -void Qt5Frame::SetAlwaysOnTop(bool bOnTop) {} +void Qt5Frame::SetAlwaysOnTop(bool /*bOnTop*/) {} -void Qt5Frame::ToTop(SalFrameToTop nFlags) {} +void Qt5Frame::ToTop(SalFrameToTop /*nFlags*/) {} void Qt5Frame::SetPointer(PointerStyle ePointerStyle) { @@ -429,22 +429,22 @@ void Qt5Frame::SetPointer(PointerStyle ePointerStyle) pWindow->setCursor(static_cast<Qt5Data*>(GetSalData())->getCursor(ePointerStyle)); } -void Qt5Frame::CaptureMouse(bool bMouse) {} +void Qt5Frame::CaptureMouse(bool /*bMouse*/) {} -void Qt5Frame::SetPointerPos(long nX, long nY) {} +void Qt5Frame::SetPointerPos(long /*nX*/, long /*nY*/) {} void Qt5Frame::Flush() {} -void Qt5Frame::Flush(const tools::Rectangle& rRect) {} +void Qt5Frame::Flush(const tools::Rectangle& /*rRect*/) {} -void Qt5Frame::SetInputContext(SalInputContext* pContext) {} +void Qt5Frame::SetInputContext(SalInputContext* /*pContext*/) {} -void Qt5Frame::EndExtTextInput(EndExtTextInputFlags nFlags) {} +void Qt5Frame::EndExtTextInput(EndExtTextInputFlags /*nFlags*/) {} -OUString Qt5Frame::GetKeyName(sal_uInt16 nKeyCode) { return OUString(); } +OUString Qt5Frame::GetKeyName(sal_uInt16 /*nKeyCode*/) { return OUString(); } -bool Qt5Frame::MapUnicodeToKeyCode(sal_Unicode aUnicode, LanguageType aLangType, - vcl::KeyCode& rKeyCode) +bool Qt5Frame::MapUnicodeToKeyCode(sal_Unicode /*aUnicode*/, LanguageType /*aLangType*/, + vcl::KeyCode& /*rKeyCode*/) { return false; } @@ -477,17 +477,17 @@ SalFrame::SalPointerState Qt5Frame::GetPointerState() KeyIndicatorState Qt5Frame::GetIndicatorState() { return KeyIndicatorState(); } -void Qt5Frame::SimulateKeyPress(sal_uInt16 nKeyCode) {} +void Qt5Frame::SimulateKeyPress(sal_uInt16 /*nKeyCode*/) {} void Qt5Frame::SetParent(SalFrame* pNewParent) { m_pParent = static_cast<Qt5Frame*>(pNewParent); } -bool Qt5Frame::SetPluginParent(SystemParentData* pNewParent) { return false; } +bool Qt5Frame::SetPluginParent(SystemParentData* /*pNewParent*/) { return false; } void Qt5Frame::ResetClipRegion() {} -void Qt5Frame::BeginSetClipRegion(sal_uLong nRects) {} +void Qt5Frame::BeginSetClipRegion(sal_uLong /*nRects*/) {} -void Qt5Frame::UnionClipRegion(long nX, long nY, long nWidth, long nHeight) {} +void Qt5Frame::UnionClipRegion(long /*nX*/, long /*nY*/, long /*nWidth*/, long /*nHeight*/) {} void Qt5Frame::EndSetClipRegion() {} |