glossary.cxx (efeef26f) glossary.cxx (8ef2f12b)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 1077 unchanged lines hidden (view full) ---

1086 // 2. darf in beiden Gruppen geschrieben werden?
1087 SvLBoxEntry* pSrcParent = GetParent(pEntry);
1088 SvLBoxEntry* pDestParent =
1089 GetParent(pTarget) ? GetParent(pTarget) : pTarget;
1090 sal_Bool bRet = sal_False;
1091 if(pDestParent != pSrcParent)
1092 {
1093 SwGlossaryDlg* pDlg = (SwGlossaryDlg*)Window::GetParent();
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 1077 unchanged lines hidden (view full) ---

1086 // 2. darf in beiden Gruppen geschrieben werden?
1087 SvLBoxEntry* pSrcParent = GetParent(pEntry);
1088 SvLBoxEntry* pDestParent =
1089 GetParent(pTarget) ? GetParent(pTarget) : pTarget;
1090 sal_Bool bRet = sal_False;
1091 if(pDestParent != pSrcParent)
1092 {
1093 SwGlossaryDlg* pDlg = (SwGlossaryDlg*)Window::GetParent();
1094 SwWait aWait( *pDlg->pSh->GetView().GetDocShell(), sal_True );
1094 SwWait aWait( *pDlg->pSh->GetView().GetDocShell(), true );
1095
1096 GroupUserData* pGroupData = (GroupUserData*)pSrcParent->GetUserData();
1097 String sSourceGroup(pGroupData->sGroupName);
1098 sSourceGroup += GLOS_DELIM;
1099 sSourceGroup += String::CreateFromInt32(pGroupData->nPathIdx);
1100 pDlg->pGlossaryHdl->SetCurGroup(sSourceGroup);
1101 String sTitle(GetEntryText(pEntry));
1102 String sShortName(*(String*)pEntry->GetUserData());

--- 31 unchanged lines hidden (view full) ---

1134 }
1135 SvLBoxEntry* pSrcParent = GetParent(pEntry);
1136 SvLBoxEntry* pDestParent =
1137 GetParent(pTarget) ? GetParent(pTarget) : pTarget;
1138 sal_Bool bRet = sal_False;
1139 if(pDestParent != pSrcParent)
1140 {
1141 SwGlossaryDlg* pDlg = (SwGlossaryDlg*)Window::GetParent();
1095
1096 GroupUserData* pGroupData = (GroupUserData*)pSrcParent->GetUserData();
1097 String sSourceGroup(pGroupData->sGroupName);
1098 sSourceGroup += GLOS_DELIM;
1099 sSourceGroup += String::CreateFromInt32(pGroupData->nPathIdx);
1100 pDlg->pGlossaryHdl->SetCurGroup(sSourceGroup);
1101 String sTitle(GetEntryText(pEntry));
1102 String sShortName(*(String*)pEntry->GetUserData());

--- 31 unchanged lines hidden (view full) ---

1134 }
1135 SvLBoxEntry* pSrcParent = GetParent(pEntry);
1136 SvLBoxEntry* pDestParent =
1137 GetParent(pTarget) ? GetParent(pTarget) : pTarget;
1138 sal_Bool bRet = sal_False;
1139 if(pDestParent != pSrcParent)
1140 {
1141 SwGlossaryDlg* pDlg = (SwGlossaryDlg*)Window::GetParent();
1142 SwWait aWait( *pDlg->pSh->GetView().GetDocShell(), sal_True );
1142 SwWait aWait( *pDlg->pSh->GetView().GetDocShell(), true );
1143
1144 GroupUserData* pGroupData = (GroupUserData*)pSrcParent->GetUserData();
1145 String sSourceGroup(pGroupData->sGroupName);
1146 sSourceGroup += GLOS_DELIM;
1147 sSourceGroup += String::CreateFromInt32(pGroupData->nPathIdx);
1148
1149 pDlg->pGlossaryHdl->SetCurGroup(sSourceGroup);
1150 String sTitle(GetEntryText(pEntry));

--- 156 unchanged lines hidden ---
1143
1144 GroupUserData* pGroupData = (GroupUserData*)pSrcParent->GetUserData();
1145 String sSourceGroup(pGroupData->sGroupName);
1146 sSourceGroup += GLOS_DELIM;
1147 sSourceGroup += String::CreateFromInt32(pGroupData->nPathIdx);
1148
1149 pDlg->pGlossaryHdl->SetCurGroup(sSourceGroup);
1150 String sTitle(GetEntryText(pEntry));

--- 156 unchanged lines hidden ---