From fb698d5e81c8b4149c092305506d40e2f7ef7f5d Mon Sep 17 00:00:00 2001 From: Maxim Monastirsky Date: Sun, 23 Apr 2017 15:04:36 +0300 Subject: Replace GetImage with CommandInfoProvider::GetImageForCommand And move ToolBoxButtonSize->ImageType mapping code to a common place. Change-Id: If158f4b6f2750054fcf64491c2941706e7d3a329 --- include/sfx2/imagemgr.hxx | 39 --------------------------------------- include/sfx2/tbxctrl.hxx | 3 --- 2 files changed, 42 deletions(-) delete mode 100644 include/sfx2/imagemgr.hxx (limited to 'include/sfx2') diff --git a/include/sfx2/imagemgr.hxx b/include/sfx2/imagemgr.hxx deleted file mode 100644 index 36f914c53cdf..000000000000 --- a/include/sfx2/imagemgr.hxx +++ /dev/null @@ -1,39 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#ifndef INCLUDED_SFX2_IMAGEMGR_HXX -#define INCLUDED_SFX2_IMAGEMGR_HXX - -#include -#include -#include -#include - -#include -#include - -SFX2_DLLPUBLIC Image SAL_CALL GetImage( - const css::uno::Reference< css::frame::XFrame >& rFrame, - const OUString& aURL, - bool bBig -); - -#endif // INCLUDED_SFX2_IMAGEMGR_HXX - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/sfx2/tbxctrl.hxx b/include/sfx2/tbxctrl.hxx index caa0cfe9bfad..e6002abb8001 100644 --- a/include/sfx2/tbxctrl.hxx +++ b/include/sfx2/tbxctrl.hxx @@ -157,9 +157,6 @@ protected: // Must be called by subclass to set a new popup window instance void SetPopupWindow( SfxPopupWindow* pWindow ); - // helper methods - bool hasBigImages() const; - public: // XComponent virtual void SAL_CALL dispose() override; -- cgit