diff options
author | Noel Grandin <noel@peralex.com> | 2015-12-18 09:37:44 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-12-21 10:20:31 +0200 |
commit | e18b08363a939b35e7f5dc435e606d2c62bddebd (patch) | |
tree | 6318e03a67fd2dfbbd29b88b3de36ad7e9fd6292 /include/tools | |
parent | 20ff8cc5c3534d149b18b9776ab964324e70fdfd (diff) |
loplugin:unusedmethods
Change-Id: Ifafdaf6da0225f244853a0042a6458643b570623
Diffstat (limited to 'include/tools')
-rw-r--r-- | include/tools/appendunixshellword.hxx | 47 | ||||
-rw-r--r-- | include/tools/gen.hxx | 15 |
2 files changed, 0 insertions, 62 deletions
diff --git a/include/tools/appendunixshellword.hxx b/include/tools/appendunixshellword.hxx deleted file mode 100644 index dbe66c628851..000000000000 --- a/include/tools/appendunixshellword.hxx +++ /dev/null @@ -1,47 +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_TOOLS_APPENDUNIXSHELLWORD_HXX -#define INCLUDED_TOOLS_APPENDUNIXSHELLWORD_HXX - -#include <rtl/strbuf.hxx> - -#if defined UNX -#include <tools/toolsdllapi.h> - - -namespace tools { - -/** append arbitrary bytes as a properly quoted Unix-style shell word - - @param accumulator - the string buffer to which the word is appended (without any surrounding - whitespace); must not be null - @param text - the text to add -*/ -TOOLS_DLLPUBLIC void appendUnixShellWord( - OStringBuffer * accumulator, OString const & text); - -} -#endif - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/tools/gen.hxx b/include/tools/gen.hxx index 4cd4e6daad7f..4ea4dc79acaa 100644 --- a/include/tools/gen.hxx +++ b/include/tools/gen.hxx @@ -324,7 +324,6 @@ public: /// Move the top and left edges by a delta, preserving width and height inline void Move( long nHorzMoveDelta, long nVertMoveDelta ); - inline void Transpose(); inline void SetPos( const Point& rPoint ); void SetSize( const Size& rSize ); inline Size GetSize() const; @@ -497,20 +496,6 @@ inline void Rectangle::Move( long nHorzMove, long nVertMove ) nBottom += nVertMove; } -void Rectangle::Transpose() -{ - if ( !IsEmpty() ) - { - long swap( nLeft ); - nLeft = nTop; - nTop = swap; - - swap = nRight; - nRight = nBottom; - nBottom = swap; - } -} - inline void Rectangle::SetPos( const Point& rPoint ) { if ( nRight != RECT_EMPTY ) |