[Libreoffice-commits] .: vcl/aqua
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Jan 22 22:11:24 PST 2013
vcl/aqua/source/gdi/aquaprintaccessoryview.mm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit c260dda82a05f5496634eab1deefd5e9f22c4b02
Author: Tor Lillqvist <tml at iki.fi>
Date: Wed Jan 23 08:09:58 2013 +0200
More informative warning messages
Change-Id: Ib6d94e6e695d4c675c05954fbf28af61bbaa05fe
diff --git a/vcl/aqua/source/gdi/aquaprintaccessoryview.mm b/vcl/aqua/source/gdi/aquaprintaccessoryview.mm
index 3dba1c4..190e16e 100644
--- a/vcl/aqua/source/gdi/aquaprintaccessoryview.mm
+++ b/vcl/aqua/source/gdi/aquaprintaccessoryview.mm
@@ -513,7 +513,7 @@ static void filterAccelerator( rtl::OUString& io_rText )
}
else
{
- OSL_FAIL( "unsupported class" );
+ SAL_INFO( "vcl.aqua.print", "Unsupported class" << ([pSender class] ? [NSStringFromClass([pSender class]) UTF8String] : "nil"));
}
mpController->updateEnableState();
}
@@ -545,7 +545,7 @@ static void filterAccelerator( rtl::OUString& io_rText )
}
else
{
- OSL_FAIL( "unsupported class" );
+ SAL_INFO( "vcl.aqua.print", "Unsupported class" << ([pSender class] ? [NSStringFromClass([pSender class]) UTF8String] : "nil"));
}
mpController->updateEnableState();
}
@@ -1357,7 +1357,7 @@ static void addEdit( NSView* pCurParent, long& rCurX, long& rCurY, long nAttachO
}
else
{
- OSL_FAIL( "Unsupported UI option" );
+ SAL_INFO( "vcl.aqua.print", "Unsupported UI option \"" << aCtrlType << "\"");
}
}
More information about the Libreoffice-commits
mailing list