diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-09-11 20:53:17 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-09-15 01:54:04 +0200 |
commit | 1beb5017f1791f26e6404d6175ccc1c49887c48e (patch) | |
tree | 1aa39cacd4dea92a377608328c80088d3250d47f /sot | |
parent | 8be829eebf92f5af32e370e8c00b9b1e28ff95c7 (diff) |
remove old unused sot workben code
Change-Id: I1c8ea4c7940ae0740109cc558083d93638913fbd
Diffstat (limited to 'sot')
-rw-r--r-- | sot/workben/makefile.mk | 44 | ||||
-rw-r--r-- | sot/workben/testsot.cxx | 46 |
2 files changed, 0 insertions, 90 deletions
diff --git a/sot/workben/makefile.mk b/sot/workben/makefile.mk deleted file mode 100644 index 918c34cfb2c2..000000000000 --- a/sot/workben/makefile.mk +++ /dev/null @@ -1,44 +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 . -# - -PRJ=.. - -PRJNAME=sot -TARGET=workben -LIBTARGET=NO -TARGETTYPE=CUI - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk - -# --- Files -------------------------------------------------------- - -OBJFILES= \ - $(OBJ)$/testsot.obj - -APP1TARGET= testsot -APP1OBJS= $(OBJ)$/testsot.obj -APP1STDLIBS=$(SOTLIB) \ - $(TOOLSLIB) - -APP1DEF= $(MISC)$/$(APP1TARGET).def - -# --- Targets ------------------------------------------------------ - -.INCLUDE : target.mk diff --git a/sot/workben/testsot.cxx b/sot/workben/testsot.cxx deleted file mode 100644 index 9e7c14670bfc..000000000000 --- a/sot/workben/testsot.cxx +++ /dev/null @@ -1,46 +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 <sot/storage.hxx> - -/* - * main. - */ -int main (int argc, sal_Char **argv) -{ - tools::SvRef<SotStorage> xStor = new SotStorage( "c:\\temp\\65254.ppt" ); -/* - tools::SvRef<SotStorage> xStor = new SotStorage( "c:\\temp\\video.sdb" ); - tools::SvRef<SotStorage> xStor = new SotStorage( "c:\\temp\\video.sdb" ); - tools::SvRef<SotStorage> x2Stor = xStor->OpenSotStorage( "1117" ); - - tools::SvRef<SotStorageStream> xStm = x2Stor->OpenSotStream( "Genres", STREAM_STD_READWRITE | StreamMode::TRUNC); - //BYTE szData[100]; - //xStm->Write( szData, 100 ); - UINT32 nSize = xStm->GetSize(); - xStm->SetSize( 0 ); - nSize = xStm->GetSize(); - x2Stor->Commit(); - xStor->Commit(); -*/ - return 0; -} - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |