[Libreoffice-commits] core.git: framework/source
Maxim Monastirsky
momonasmon at gmail.com
Sun Nov 29 13:13:36 PST 2015
framework/source/uielement/saveasmenucontroller.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1ad3acc828b112a96cfce7166bcc973ea2747f0f
Author: Maxim Monastirsky <momonasmon at gmail.com>
Date: Sun Nov 29 23:11:53 2015 +0200
Unnecessary cast
Change-Id: I7e9cd165311494d3b2a8386dcaf2f3840449395a
diff --git a/framework/source/uielement/saveasmenucontroller.cxx b/framework/source/uielement/saveasmenucontroller.cxx
index c0715d6..2f42146 100644
--- a/framework/source/uielement/saveasmenucontroller.cxx
+++ b/framework/source/uielement/saveasmenucontroller.cxx
@@ -78,7 +78,7 @@ void SaveAsMenuController::impl_setPopupMenu()
SolarMutexGuard aSolarMutexGuard;
if ( pPopupMenu )
- pVCLPopupMenu = static_cast<PopupMenu *>(pPopupMenu->GetMenu());
+ pVCLPopupMenu = pPopupMenu->GetMenu();
if ( pVCLPopupMenu )
{
More information about the Libreoffice-commits
mailing list