summaryrefslogtreecommitdiff
path: root/vcl/qt5
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/qt5')
-rw-r--r--vcl/qt5/QtAccessibleEventListener.cxx2
-rw-r--r--vcl/qt5/QtAccessibleWidget.cxx36
-rw-r--r--vcl/qt5/QtClipboard.cxx2
-rw-r--r--vcl/qt5/QtData.cxx3
-rw-r--r--vcl/qt5/QtFilePicker.cxx22
-rw-r--r--vcl/qt5/QtFontFace.cxx4
-rw-r--r--vcl/qt5/QtFrame.cxx2
-rw-r--r--vcl/qt5/QtInstance.cxx8
-rw-r--r--vcl/qt5/QtOpenGLContext.cxx6
-rw-r--r--vcl/qt5/QtTransferable.cxx3
-rw-r--r--vcl/qt5/QtWidget.cxx6
11 files changed, 46 insertions, 48 deletions
diff --git a/vcl/qt5/QtAccessibleEventListener.cxx b/vcl/qt5/QtAccessibleEventListener.cxx
index fa8c540024c4..1ceb6f6de0e1 100644
--- a/vcl/qt5/QtAccessibleEventListener.cxx
+++ b/vcl/qt5/QtAccessibleEventListener.cxx
@@ -163,7 +163,7 @@ void QtAccessibleEventListener::notifyEvent(const css::accessibility::Accessible
case AccessibleEventId::LISTBOX_ENTRY_COLLAPSED:
case AccessibleEventId::ACTIVE_DESCENDANT_CHANGED_NOFOCUS:
default:
- SAL_WARN("vcl.qt5", "Unmapped AccessibleEventId: " << aEvent.EventId);
+ SAL_WARN("vcl.qt", "Unmapped AccessibleEventId: " << aEvent.EventId);
return;
}
}
diff --git a/vcl/qt5/QtAccessibleWidget.cxx b/vcl/qt5/QtAccessibleWidget.cxx
index ed639b524028..0211fc045c27 100644
--- a/vcl/qt5/QtAccessibleWidget.cxx
+++ b/vcl/qt5/QtAccessibleWidget.cxx
@@ -86,14 +86,14 @@ Reference<XAccessibleContext> QtAccessibleWidget::getAccessibleContextImpl() con
}
catch (css::lang::DisposedException /*ex*/)
{
- SAL_WARN("vcl.qt5", "Accessible context disposed already");
+ SAL_WARN("vcl.qt", "Accessible context disposed already");
}
// sometimes getAccessibleContext throws also RuntimeException if context is no longer alive
catch (css::uno::RuntimeException /*ex*/)
{
// so let's catch it here, cuz otherwise soffice falls flat on its face
// with FatalError and nothing else
- SAL_WARN("vcl.qt5", "Accessible context no longer alive");
+ SAL_WARN("vcl.qt", "Accessible context no longer alive");
}
}
@@ -156,7 +156,7 @@ sal_Int16 lcl_matchQtTextBoundaryType(QAccessible::TextBoundaryType boundaryType
break;
}
- SAL_WARN("vcl.qt5", "Unmatched text boundary type: " << boundaryType);
+ SAL_WARN("vcl.qt", "Unmatched text boundary type: " << boundaryType);
return -1;
}
@@ -180,7 +180,7 @@ QAccessible::Relation lcl_matchUnoRelation(short relationType)
case AccessibleRelationType::NODE_CHILD_OF:
case AccessibleRelationType::DESCRIBED_BY:
default:
- SAL_WARN("vcl.qt5", "Unmatched relation: " << relationType);
+ SAL_WARN("vcl.qt", "Unmatched relation: " << relationType);
return {};
}
}
@@ -198,7 +198,7 @@ short lcl_matchQtRelation(QAccessible::Relation relationType)
case QAccessible::Labelled:
return AccessibleRelationType::LABELED_BY;
default:
- SAL_WARN("vcl.qt5", "Unmatched relation: " << relationType);
+ SAL_WARN("vcl.qt", "Unmatched relation: " << relationType);
}
return 0;
}
@@ -573,7 +573,7 @@ QAccessible::Role QtAccessibleWidget::role() const
}
}
- SAL_WARN("vcl.qt5", "Unmapped role: " << getAccessibleContextImpl()->getAccessibleRole());
+ SAL_WARN("vcl.qt", "Unmapped role: " << getAccessibleContextImpl()->getAccessibleRole());
return QAccessible::NoRole;
}
@@ -683,7 +683,7 @@ void lcl_addState(QAccessible::State* state, sal_Int16 nState)
state->multiSelectable = true;
break;
default:
- SAL_WARN("vcl.qt5", "Unmapped state: " << nState);
+ SAL_WARN("vcl.qt", "Unmapped state: " << nState);
break;
}
}
@@ -848,7 +848,7 @@ QStringList QtAccessibleWidget::keyBindingsForAction(const QString& actionName)
// QAccessibleTextInterface
void QtAccessibleWidget::addSelection(int /* startOffset */, int /* endOffset */)
{
- SAL_INFO("vcl.qt5", "Unsupported QAccessibleTextInterface::addSelection");
+ SAL_INFO("vcl.qt", "Unsupported QAccessibleTextInterface::addSelection");
}
namespace
@@ -941,7 +941,7 @@ int QtAccessibleWidget::characterCount() const
}
QRect QtAccessibleWidget::characterRect(int /* offset */) const
{
- SAL_INFO("vcl.qt5", "Unsupported QAccessibleTextInterface::characterRect");
+ SAL_INFO("vcl.qt", "Unsupported QAccessibleTextInterface::characterRect");
return QRect();
}
@@ -955,12 +955,12 @@ int QtAccessibleWidget::cursorPosition() const
int QtAccessibleWidget::offsetAtPoint(const QPoint& /* point */) const
{
- SAL_INFO("vcl.qt5", "Unsupported QAccessibleTextInterface::offsetAtPoint");
+ SAL_INFO("vcl.qt", "Unsupported QAccessibleTextInterface::offsetAtPoint");
return 0;
}
void QtAccessibleWidget::removeSelection(int /* selectionIndex */)
{
- SAL_INFO("vcl.qt5", "Unsupported QAccessibleTextInterface::removeSelection");
+ SAL_INFO("vcl.qt", "Unsupported QAccessibleTextInterface::removeSelection");
}
void QtAccessibleWidget::scrollToSubstring(int startIndex, int endIndex)
{
@@ -1014,7 +1014,7 @@ QString QtAccessibleWidget::textAfterOffset(int /* offset */,
QAccessible::TextBoundaryType /* boundaryType */,
int* /* startOffset */, int* /* endOffset */) const
{
- SAL_INFO("vcl.qt5", "Unsupported QAccessibleTextInterface::textAfterOffset");
+ SAL_INFO("vcl.qt", "Unsupported QAccessibleTextInterface::textAfterOffset");
return QString();
}
@@ -1049,7 +1049,7 @@ QString QtAccessibleWidget::textBeforeOffset(int /* offset */,
QAccessible::TextBoundaryType /* boundaryType */,
int* /* startOffset */, int* /* endOffset */) const
{
- SAL_INFO("vcl.qt5", "Unsupported QAccessibleTextInterface::textBeforeOffset");
+ SAL_INFO("vcl.qt", "Unsupported QAccessibleTextInterface::textBeforeOffset");
return QString();
}
@@ -1288,13 +1288,13 @@ bool QtAccessibleWidget::selectRow(int row)
int QtAccessibleWidget::selectedCellCount() const
{
- SAL_INFO("vcl.qt5", "Unsupported QAccessibleTableInterface::selectedCellCount");
+ SAL_INFO("vcl.qt", "Unsupported QAccessibleTableInterface::selectedCellCount");
return 0;
}
QList<QAccessibleInterface*> QtAccessibleWidget::selectedCells() const
{
- SAL_INFO("vcl.qt5", "Unsupported QAccessibleTableInterface::selectedCells");
+ SAL_INFO("vcl.qt", "Unsupported QAccessibleTableInterface::selectedCells");
return QList<QAccessibleInterface*>();
}
@@ -1384,7 +1384,7 @@ bool QtAccessibleWidget::unselectRow(int row)
QList<QAccessibleInterface*> QtAccessibleWidget::columnHeaderCells() const
{
- SAL_WARN("vcl.qt5", "Unsupported QAccessibleTableCellInterface::columnHeaderCells");
+ SAL_WARN("vcl.qt", "Unsupported QAccessibleTableCellInterface::columnHeaderCells");
return QList<QAccessibleInterface*>();
}
@@ -1434,7 +1434,7 @@ int QtAccessibleWidget::columnExtent() const
QList<QAccessibleInterface*> QtAccessibleWidget::rowHeaderCells() const
{
- SAL_WARN("vcl.qt5", "Unsupported QAccessibleTableCellInterface::rowHeaderCells");
+ SAL_WARN("vcl.qt", "Unsupported QAccessibleTableCellInterface::rowHeaderCells");
return QList<QAccessibleInterface*>();
}
@@ -1469,7 +1469,7 @@ int QtAccessibleWidget::rowIndex() const
QAccessibleInterface* QtAccessibleWidget::table() const
{
- SAL_WARN("vcl.qt5", "Unsupported QAccessibleTableCellInterface::table");
+ SAL_WARN("vcl.qt", "Unsupported QAccessibleTableCellInterface::table");
return nullptr;
}
diff --git a/vcl/qt5/QtClipboard.cxx b/vcl/qt5/QtClipboard.cxx
index f21e9d02aa50..893c58274238 100644
--- a/vcl/qt5/QtClipboard.cxx
+++ b/vcl/qt5/QtClipboard.cxx
@@ -52,7 +52,7 @@ css::uno::Reference<css::uno::XInterface> QtClipboard::create(const OUString& aM
auto iter = aNameToClipboardMap.find(aModeString);
if (iter != aNameToClipboardMap.end() && isSupported(iter->second))
return static_cast<cppu::OWeakObject*>(new QtClipboard(aModeString, iter->second));
- SAL_WARN("vcl.qt5", "Ignoring unrecognized clipboard type: '" << aModeString << "'");
+ SAL_WARN("vcl.qt", "Ignoring unrecognized clipboard type: '" << aModeString << "'");
return css::uno::Reference<css::uno::XInterface>();
}
diff --git a/vcl/qt5/QtData.cxx b/vcl/qt5/QtData.cxx
index dc435fdbd358..e67abdd76224 100644
--- a/vcl/qt5/QtData.cxx
+++ b/vcl/qt5/QtData.cxx
@@ -311,8 +311,7 @@ QCursor& QtData::getCursor(PointerStyle ePointerStyle)
if (!pCursor)
{
pCursor = new QCursor(Qt::ArrowCursor);
- SAL_WARN("vcl.qt5",
- "pointer " << static_cast<int>(ePointerStyle) << " not implemented");
+ SAL_WARN("vcl.qt", "pointer " << static_cast<int>(ePointerStyle) << " not implemented");
}
m_aCursors[ePointerStyle].reset(pCursor);
diff --git a/vcl/qt5/QtFilePicker.cxx b/vcl/qt5/QtFilePicker.cxx
index eda2579c1c58..de8b5f4601c3 100644
--- a/vcl/qt5/QtFilePicker.cxx
+++ b/vcl/qt5/QtFilePicker.cxx
@@ -280,7 +280,7 @@ uno::Sequence<OUString> SAL_CALL QtFilePicker::getSelectedFiles()
if (intUrl.isEmpty())
{
// If translation failed, fall back to original URL:
- SAL_WARN("vcl.qt5", "cannot convert <" << extUrl << "> from locale encoding to UTF-8");
+ SAL_WARN("vcl.qt", "cannot convert <" << extUrl << "> from locale encoding to UTF-8");
intUrl = extUrl;
}
seq[i++] = intUrl;
@@ -397,7 +397,7 @@ uno::Any QtFilePicker::handleGetListValue(const QComboBox* pWidget, sal_Int16 nC
break;
}
default:
- SAL_WARN("vcl.qt5",
+ SAL_WARN("vcl.qt",
"undocumented/unimplemented ControlAction for a list " << nControlAction);
break;
}
@@ -444,7 +444,7 @@ void QtFilePicker::handleSetListValue(QComboBox* pWidget, sal_Int16 nControlActi
break;
}
default:
- SAL_WARN("vcl.qt5",
+ SAL_WARN("vcl.qt",
"undocumented/unimplemented ControlAction for a list " << nControlAction);
break;
}
@@ -480,7 +480,7 @@ void SAL_CALL QtFilePicker::setValue(sal_Int16 controlId, sal_Int16 nControlActi
}
}
else
- SAL_WARN("vcl.qt5", "set value on unknown control " << controlId);
+ SAL_WARN("vcl.qt", "set value on unknown control " << controlId);
}
uno::Any SAL_CALL QtFilePicker::getValue(sal_Int16 controlId, sal_Int16 nControlAction)
@@ -512,7 +512,7 @@ uno::Any SAL_CALL QtFilePicker::getValue(sal_Int16 controlId, sal_Int16 nControl
}
}
else
- SAL_WARN("vcl.qt5", "get value on unknown control " << controlId);
+ SAL_WARN("vcl.qt", "get value on unknown control " << controlId);
return res;
}
@@ -526,7 +526,7 @@ void SAL_CALL QtFilePicker::enableControl(sal_Int16 controlId, sal_Bool enable)
if (m_aCustomWidgetsMap.contains(controlId))
m_aCustomWidgetsMap.value(controlId)->setEnabled(enable);
else
- SAL_WARN("vcl.qt5", "enable unknown control " << controlId);
+ SAL_WARN("vcl.qt", "enable unknown control " << controlId);
});
}
@@ -548,7 +548,7 @@ void SAL_CALL QtFilePicker::setLabel(sal_Int16 controlId, const OUString& label)
cb->setText(toQString(label));
}
else
- SAL_WARN("vcl.qt5", "set label on unknown control " << controlId);
+ SAL_WARN("vcl.qt", "set label on unknown control " << controlId);
}
OUString SAL_CALL QtFilePicker::getLabel(sal_Int16 controlId)
@@ -571,7 +571,7 @@ OUString SAL_CALL QtFilePicker::getLabel(sal_Int16 controlId)
label = cb->text();
}
else
- SAL_WARN("vcl.qt5", "get label on unknown control " << controlId);
+ SAL_WARN("vcl.qt", "get label on unknown control " << controlId);
return toOUString(label);
}
@@ -905,7 +905,7 @@ void QtFilePicker::updateAutomaticFileExtension()
{
// fall back to setting none otherwise
SAL_INFO(
- "vcl.qt5",
+ "vcl.qt",
"Unable to retrieve unambiguous file extension. Will not add any automatically.");
bSetAutoExtension = false;
}
@@ -919,7 +919,7 @@ void QtFilePicker::filterSelected(const QString&)
{
FilePickerEvent aEvent;
aEvent.ElementId = LISTBOX_FILTER;
- SAL_INFO("vcl.qt5", "filter changed");
+ SAL_INFO("vcl.qt", "filter changed");
if (m_xListener.is())
m_xListener->controlStateChanged(aEvent);
}
@@ -927,7 +927,7 @@ void QtFilePicker::filterSelected(const QString&)
void QtFilePicker::currentChanged(const QString&)
{
FilePickerEvent aEvent;
- SAL_INFO("vcl.qt5", "file selection changed");
+ SAL_INFO("vcl.qt", "file selection changed");
if (m_xListener.is())
m_xListener->fileSelectionChanged(aEvent);
}
diff --git a/vcl/qt5/QtFontFace.cxx b/vcl/qt5/QtFontFace.cxx
index e69bfa717e45..89182d115756 100644
--- a/vcl/qt5/QtFontFace.cxx
+++ b/vcl/qt5/QtFontFace.cxx
@@ -172,12 +172,12 @@ QFont QtFontFace::CreateFont() const
if (3 == aStrList.size())
aFont = aFDB.font(aStrList[0], aStrList[1], aStrList[2].toInt());
else
- SAL_WARN("vcl.qt5", "Invalid QFontDatabase font ID " << m_aFontId);
+ SAL_WARN("vcl.qt", "Invalid QFontDatabase font ID " << m_aFontId);
break;
}
case Font:
bool bRet = aFont.fromString(m_aFontId);
- SAL_WARN_IF(!bRet, "vcl.qt5", "Failed to create QFont from ID: " << m_aFontId);
+ SAL_WARN_IF(!bRet, "vcl.qt", "Failed to create QFont from ID: " << m_aFontId);
Q_UNUSED(bRet);
break;
}
diff --git a/vcl/qt5/QtFrame.cxx b/vcl/qt5/QtFrame.cxx
index 87cfc5f90f74..2d4a068a34b1 100644
--- a/vcl/qt5/QtFrame.cxx
+++ b/vcl/qt5/QtFrame.cxx
@@ -1177,7 +1177,7 @@ KeyIndicatorState QtFrame::GetIndicatorState() { return KeyIndicatorState(); }
void QtFrame::SimulateKeyPress(sal_uInt16 nKeyCode)
{
- SAL_WARN("vcl.qt5", "missing simulate keypress " << nKeyCode);
+ SAL_WARN("vcl.qt", "missing simulate keypress " << nKeyCode);
}
void QtFrame::SetParent(SalFrame* pNewParent) { m_pParent = static_cast<QtFrame*>(pNewParent); }
diff --git a/vcl/qt5/QtInstance.cxx b/vcl/qt5/QtInstance.cxx
index 42b7a8ed8a48..06840ad7281f 100644
--- a/vcl/qt5/QtInstance.cxx
+++ b/vcl/qt5/QtInstance.cxx
@@ -588,9 +588,9 @@ void* QtInstance::CreateGStreamerSink(const SystemChildWindow* pWindow)
}
else
{
- SAL_WARN("vcl.qt5", "Couldn't initialize qwidget5videosink."
- " Video playback might not work as expected."
- " Please install Qt5 packages for QtGStreamer.");
+ SAL_WARN("vcl.qt", "Couldn't initialize qwidget5videosink."
+ " Video playback might not work as expected."
+ " Please install Qt5 packages for QtGStreamer.");
// with no videosink explicitly set, GStreamer will open its own (misplaced) window(s) to display video
}
@@ -606,7 +606,7 @@ void QtInstance::AllocFakeCmdlineArgs(std::unique_ptr<char* []>& rFakeArgv,
std::vector<FreeableCStr>& rFakeArgvFreeable)
{
OString aVersion(qVersion());
- SAL_INFO("vcl.qt5", "qt version string is " << aVersion);
+ SAL_INFO("vcl.qt", "qt version string is " << aVersion);
const sal_uInt32 nParams = osl_getCommandArgCount();
sal_uInt32 nDisplayValueIdx = 0;
diff --git a/vcl/qt5/QtOpenGLContext.cxx b/vcl/qt5/QtOpenGLContext.cxx
index ab2e228f1dcc..9dd75b69a1c9 100644
--- a/vcl/qt5/QtOpenGLContext.cxx
+++ b/vcl/qt5/QtOpenGLContext.cxx
@@ -75,7 +75,7 @@ bool QtOpenGLContext::ImplInit()
{
if (!m_pWindow)
{
- SAL_WARN("vcl.opengl.qt5", "failed to create window");
+ SAL_WARN("vcl.opengl.qt", "failed to create window");
return false;
}
@@ -85,7 +85,7 @@ bool QtOpenGLContext::ImplInit()
m_pContext = new QOpenGLContext(m_pWindow);
if (!m_pContext->create())
{
- SAL_WARN("vcl.opengl.qt5", "failed to create context");
+ SAL_WARN("vcl.opengl.qt", "failed to create context");
return false;
}
@@ -132,7 +132,7 @@ void QtOpenGLContext::destroyCurrentContext()
if (glGetError() != GL_NO_ERROR)
{
- SAL_WARN("vcl.opengl.qt5", "glError: " << glGetError());
+ SAL_WARN("vcl.opengl.qt", "glError: " << glGetError());
}
}
diff --git a/vcl/qt5/QtTransferable.cxx b/vcl/qt5/QtTransferable.cxx
index 60cd195f4ddc..737468c0b5a5 100644
--- a/vcl/qt5/QtTransferable.cxx
+++ b/vcl/qt5/QtTransferable.cxx
@@ -167,8 +167,7 @@ QtClipboardTransferable::QtClipboardTransferable(const QClipboard::Mode aMode,
bool QtClipboardTransferable::hasInFlightChanged() const
{
const bool bChanged(mimeData() != QApplication::clipboard()->mimeData(m_aMode));
- SAL_WARN_IF(bChanged, "vcl.qt5",
- "In flight clipboard change detected - broken clipboard read!");
+ SAL_WARN_IF(bChanged, "vcl.qt", "In flight clipboard change detected - broken clipboard read!");
return bChanged;
}
diff --git a/vcl/qt5/QtWidget.cxx b/vcl/qt5/QtWidget.cxx
index 7c40ea1c4baf..44952f9318b0 100644
--- a/vcl/qt5/QtWidget.cxx
+++ b/vcl/qt5/QtWidget.cxx
@@ -693,8 +693,8 @@ void QtWidget::inputMethodEvent(QInputMethodEvent* pEvent)
break;
}
default:
- SAL_WARN("vcl.qt5", "Unhandled QInputMethodEvent attribute: "
- << static_cast<int>(rAttr.type));
+ SAL_WARN("vcl.qt", "Unhandled QInputMethodEvent attribute: "
+ << static_cast<int>(rAttr.type));
break;
}
}
@@ -731,7 +731,7 @@ static bool lcl_retrieveSurrounding(sal_Int32& rPosition, sal_Int32& rAnchor, QS
}
catch (const uno::Exception&)
{
- TOOLS_WARN_EXCEPTION("vcl.qt5", "Exception in getting input method surrounding text");
+ TOOLS_WARN_EXCEPTION("vcl.qt", "Exception in getting input method surrounding text");
}
if (xText.is())