From 174140b2bc8c2227032334b628c4ad4c74ce5f5a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 17 Sep 2013 10:38:45 +0200 Subject: remove dead TextLogger code there was no implementation of the TextLogger class Change-Id: Ie3def9c3100706fe6f9ee19ff044db303b2bab29 --- sd/source/ui/inc/TextLogger.hxx | 56 ---------------------- .../controller/SlideSorterController.cxx | 1 - 2 files changed, 57 deletions(-) delete mode 100644 sd/source/ui/inc/TextLogger.hxx diff --git a/sd/source/ui/inc/TextLogger.hxx b/sd/source/ui/inc/TextLogger.hxx deleted file mode 100644 index a676e37431a6..000000000000 --- a/sd/source/ui/inc/TextLogger.hxx +++ /dev/null @@ -1,56 +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 SD_TEXT_LOGGER_HXX -#define SD_TEXT_LOGGER_HXX - -#include - -class String; -class VclWindowEvent; - -namespace sd { namespace notes { - -class EditWindow; - -class TextLogger -{ -public: - static TextLogger& Instance (void); - - void AppendText (const char* sText); - void AppendText (const String& sText); - void AppendNumber (long int nValue); - - void ConnectToEditWindow (EditWindow* pWindow); - -private: - static TextLogger* spInstance; - EditWindow* mpEditWindow; - - TextLogger (void); - - DECL_LINK(WindowEventHandler, VclWindowEvent*); -}; - -} } // end of namespace ::sd::notes - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/ui/slidesorter/controller/SlideSorterController.cxx b/sd/source/ui/slidesorter/controller/SlideSorterController.cxx index 915888ce7043..efbef968bc3f 100644 --- a/sd/source/ui/slidesorter/controller/SlideSorterController.cxx +++ b/sd/source/ui/slidesorter/controller/SlideSorterController.cxx @@ -50,7 +50,6 @@ #include "drawdoc.hxx" #include "DrawViewShell.hxx" -#include "TextLogger.hxx" #include "ViewShellBase.hxx" #include "Window.hxx" #include "FrameView.hxx" -- cgit