diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-02-02 22:16:48 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-02-03 07:44:28 +0000 |
commit | 3cbfcee36dd16e451d76c561eaaaee0ff29b01a5 (patch) | |
tree | 7377a9e1d8cd56279104429abce73aec334569d5 /include/tools | |
parent | 5c39b6b997ddc85e6848efc230a427a124b97264 (diff) |
xub_StrLen and tools/string.hxx final straw
Thre is still some 0xffff limit left and possibly some
less than gracefully handled overflow/error cases
Change-Id: I00957ee3a30b02f73918ea49d7353056263dc638
Reviewed-on: https://gerrit.libreoffice.org/7787
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'include/tools')
-rw-r--r-- | include/tools/solar.h | 2 | ||||
-rw-r--r-- | include/tools/string.hxx | 31 |
2 files changed, 0 insertions, 33 deletions
diff --git a/include/tools/solar.h b/include/tools/solar.h index 914f0de915bc..f1ac0a784c30 100644 --- a/include/tools/solar.h +++ b/include/tools/solar.h @@ -115,8 +115,6 @@ inline void DoubleToSVBT64( double n, SVBT64 p ) { p[0] = ((sal_uInt8*)&n)[7 #pragma warning(error : 4002 4003) #endif -#define xub_StrLen sal_uInt16 - #if defined WNT #define SVLIBRARY( Base ) Base "lo.dll" #elif defined MACOSX diff --git a/include/tools/string.hxx b/include/tools/string.hxx deleted file mode 100644 index 6572bbcf51cf..000000000000 --- a/include/tools/string.hxx +++ /dev/null @@ -1,31 +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 _STRING_HXX -#define _STRING_HXX - -/******************************************************************************* - * THIS CODE IS DEPRECATED. DO NOT USE IT IN ANY NEW CODE. - ******************************************************************************/ - -#define STRING_MAXLEN ((xub_StrLen)0xFFFF) - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |