summaryrefslogtreecommitdiff
path: root/framework/source/classes
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-05-17 20:54:04 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-05-17 20:54:06 +0100
commitd47d1d921570c8055491c4ed8894b371f1a0e6ee (patch)
tree66690d2211b9069e0baa63f0c70df28324d8712d /framework/source/classes
parentffb1d4ea965c83651dc4086ae94a031916959a8a (diff)
FwkResId and FwlResId are the same
and FWK_RESSTR/.toString can be removed now Change-Id: I7d2d56681fc9be31948bbb4dae737a75cc59d065
Diffstat (limited to 'framework/source/classes')
-rw-r--r--framework/source/classes/fwlresid.cxx50
1 files changed, 0 insertions, 50 deletions
diff --git a/framework/source/classes/fwlresid.cxx b/framework/source/classes/fwlresid.cxx
deleted file mode 100644
index 3fd5f6039945..000000000000
--- a/framework/source/classes/fwlresid.cxx
+++ /dev/null
@@ -1,50 +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 .
- */
-
-#include "classes/fwlresid.hxx"
-#include <osl/mutex.hxx>
-#include <rtl/strbuf.hxx>
-#include <tools/resmgr.hxx>
-#include <vcl/svapp.hxx>
-#include <vcl/settings.hxx>
-
-namespace framework
-{
-
-ResMgr* FwlResId::GetResManager()
-{
- static ResMgr* pResMgr = nullptr;
-
- if ( !pResMgr )
- {
- SolarMutexGuard aSolarGuard;
- pResMgr = ResMgr::CreateResMgr("fwe", Application::GetSettings().GetUILanguageTag());
- }
-
- return pResMgr;
-}
-
-FwlResId::FwlResId( sal_uInt16 nId ) :
- ResId( nId, *FwlResId::GetResManager() )
-{
-}
-
-}
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */