From de2050c0220d068f9a9d3dc2033bcdc9ec02d5b7 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Sun, 30 Mar 2014 16:14:41 +0200 Subject: writerfilter: unused sprmcodetostr* Change-Id: Ia35b098033c92fdc7d2313d12b01324ef7232b1f --- .../source/resourcemodel/sprmcodetostrfooter | 1 - .../source/resourcemodel/sprmcodetostrheader | 39 ---------------------- 2 files changed, 40 deletions(-) delete mode 100644 writerfilter/source/resourcemodel/sprmcodetostrfooter delete mode 100644 writerfilter/source/resourcemodel/sprmcodetostrheader (limited to 'writerfilter') diff --git a/writerfilter/source/resourcemodel/sprmcodetostrfooter b/writerfilter/source/resourcemodel/sprmcodetostrfooter deleted file mode 100644 index 5c34318c2147..000000000000 --- a/writerfilter/source/resourcemodel/sprmcodetostrfooter +++ /dev/null @@ -1 +0,0 @@ -} diff --git a/writerfilter/source/resourcemodel/sprmcodetostrheader b/writerfilter/source/resourcemodel/sprmcodetostrheader deleted file mode 100644 index 7df97a4a0d21..000000000000 --- a/writerfilter/source/resourcemodel/sprmcodetostrheader +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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 . - */ - -#include -#include - -namespace writerfilter -{ - -SprmIdToString::Pointer_t SprmIdToString::pInstance; - -SprmIdToString::Pointer_t SprmIdToString::Instance() -{ - if (pInstance.get() == NULL) - pInstance = SprmIdToString::Pointer_t(new SprmIdToString()); - - return pInstance; -} - -string SprmIdToString::operator()(sal_uInt32 nId) -{ - return mMap[nId]; -} - -- cgit