1ff12d537SAndre Fischer /************************************************************** 2ff12d537SAndre Fischer * 3ff12d537SAndre Fischer * Licensed to the Apache Software Foundation (ASF) under one 4ff12d537SAndre Fischer * or more contributor license agreements. See the NOTICE file 5ff12d537SAndre Fischer * distributed with this work for additional information 6ff12d537SAndre Fischer * regarding copyright ownership. The ASF licenses this file 7ff12d537SAndre Fischer * to you under the Apache License, Version 2.0 (the 8ff12d537SAndre Fischer * "License"); you may not use this file except in compliance 9ff12d537SAndre Fischer * with the License. You may obtain a copy of the License at 10ff12d537SAndre Fischer * 11ff12d537SAndre Fischer * http://www.apache.org/licenses/LICENSE-2.0 12ff12d537SAndre Fischer * 13ff12d537SAndre Fischer * Unless required by applicable law or agreed to in writing, 14ff12d537SAndre Fischer * software distributed under the License is distributed on an 15ff12d537SAndre Fischer * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16ff12d537SAndre Fischer * KIND, either express or implied. See the License for the 17ff12d537SAndre Fischer * specific language governing permissions and limitations 18ff12d537SAndre Fischer * under the License. 19ff12d537SAndre Fischer * 20ff12d537SAndre Fischer *************************************************************/ 21ff12d537SAndre Fischer 22ff12d537SAndre Fischer #include "precompiled_sfx2.hxx" 23ff12d537SAndre Fischer 24ff12d537SAndre Fischer #include "DeckConfiguration.hxx" 25ff12d537SAndre Fischer #include "Deck.hxx" 26ff12d537SAndre Fischer 27ff12d537SAndre Fischer 28ff12d537SAndre Fischer namespace sfx2 { namespace sidebar { 29ff12d537SAndre Fischer DeckConfiguration(void)30ff12d537SAndre FischerDeckConfiguration::DeckConfiguration (void) 31ff12d537SAndre Fischer : mpDeck(NULL), 32ff12d537SAndre Fischer maPanels() 33ff12d537SAndre Fischer { 34ff12d537SAndre Fischer } 35ff12d537SAndre Fischer 36ff12d537SAndre Fischer 37ff12d537SAndre Fischer 38ff12d537SAndre Fischer Dispose(void)3995a18594SAndre Fischervoid DeckConfiguration::Dispose (void) 40ff12d537SAndre Fischer { 41*7a32b0c8SAndre Fischer if (mpDeck != NULL) 42*7a32b0c8SAndre Fischer { 43*7a32b0c8SAndre Fischer mpDeck->Dispose(); 44*7a32b0c8SAndre Fischer 45*7a32b0c8SAndre Fischer Deck* pDeck = mpDeck; 46*7a32b0c8SAndre Fischer mpDeck = NULL; 47*7a32b0c8SAndre Fischer OSL_TRACE("deleting deck window subtree"); 48*7a32b0c8SAndre Fischer pDeck->PrintWindowTree(); 49*7a32b0c8SAndre Fischer delete pDeck; 50*7a32b0c8SAndre Fischer } 51ff12d537SAndre Fischer } 52ff12d537SAndre Fischer 53ff12d537SAndre Fischer 54*7a32b0c8SAndre Fischer 55ff12d537SAndre Fischer } } // end of namespace sfx2::sidebar 56